Function at 0x1400251d8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x14000dfc0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov r15d, 0xc000000d
lea rcx, [rbp - 0x49]
mov esi, r15d
mov rdi, rdx
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x49]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov rax, qword gs:[0x188]
movsx ecx, word [rbp - 0x1d]
movsx edx, word [rbp - 0x1f]
movsx r8d, word [rbp - 0x21]
movsx r9d, word [rbp - 0x23]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov ecx, 0x51
mov dword [rsp + 0x28], edx
mov edx, 0x80000002
mov dword [rsp + 0x20], r8d
lea r8, [0x14003d2a0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp qword [rdi + 0x18], 0
jge 0x1400253ed
cmp dword [rdi], 1
jne 0x1400253ed
cmp dword [rdi + 8], 0x40
jb 0x1400253ed
or eax, 0xffffffff
cmp dword [rdi + 4], eax
jne 0x1400253ed
mov rcx, qword [rbx + 0x28]
lea rdx, [rbp - 9]
and dword [rbp + 3], 0
xorps xmm0, xmm0
and qword [rbp + 0xf], 0
and qword [rbp + 7], 0
mov dword [rbp - 5], eax
mov dword [rbp - 9], 1
mov dword [rbp - 1], 0x40
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [rcx]
mov rax, qword [rax + 0x1d8]
call qword [case.0x14001d28c.0]
mov esi, eax
test eax, eax
js 0x1400253ed
mov rcx, qword [rdi + 0x10]
mov rax, rcx
and rax, qword [rbp + 0xf]
cmp rax, rcx
jne 0x1400253ea
sub rcx, 1
je 0x1400253b2
sub rcx, 1
je 0x140025330
sub rcx, 2
je 0x140025323
cmp rcx, 1
jne 0x1400253ea
mov qword [rdi + 0x10], 5
jmp 0x1400253b2
mov ecx, dword [rdi + 0x20]
sub ecx, 1
je 0x14002536b
cmp ecx, 1
jne 0x1400253ea
mov rax, qword [rdi + 0x30]
sub rax, 1
je 0x1400253b2
sub rax, 1
je 0x1400253b2
sub rax, 1
je 0x1400253b2
sub rax, 1
je 0x1400253b2
sub rax, 1
je 0x1400253b2
cmp rax, 1
je 0x1400253b2
jmp 0x1400253ab
movsxd rdx, dword [rbp + 0x23]
xor esi, esi
mov r9, qword [rdi + 0x30]
test edx, edx
jne 0x140025383
mov r8d, dword [rbp + 0x1b]
cmp r8d, dword [rbp + 0x1f]
jmp 0x140025398
movsxd r8, dword [rbp + 0x1b]
mov rcx, rdx
mov rax, r9
sub rax, r8
cqo
idiv rcx
test rdx, rdx
jne 0x1400253ab
movsxd rax, dword [rbp + 0x1f]
cmp r9, rax
jg 0x1400253ab
movsxd rax, r8d
cmp r9, rax
jge 0x1400253ae
mov esi, r15d
test esi, esi
js 0x1400253ed
cmp qword [rdi + 0x10], 0
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
jge 0x1400253cf
mov rax, qword [rax + 0x1e8]
call qword [case.0x14001d28c.0]
jmp 0x1400253e6
mov rax, qword [rax + 0x1e0]
lea r8, [rbx + 0x208]
mov rdx, rdi
call qword [case.0x14001d28c.0]
mov esi, eax
jmp 0x1400253ed
mov esi, r15d
lea rcx, [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x31]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov r8, qword gs:[0x188]
mov edx, 0x80000002
mov rax, qword [rdi + 0x30]
mov ecx, 0x51
movsx r10d, word [rbp - 0xd]
movsx r11d, word [rbp - 0xf]
movsx ebx, word [rbp - 0x11]
movsx r9d, word [rbp - 0x13]
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x60], rax
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x58], eax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x48], rax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r8
lea r8, [0x14003d2f0]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140003b50
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret