Function at 0x140027ca4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov rax, qword [0x14000dfc0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
xor sil, sil
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov rax, qword gs:[0x188]
mov r15d, 0x80000002
movsx ecx, word [rbp - 0x44]
mov r12d, 0x51
movsx edx, word [rbp - 0x46]
movsx r8d, word [rbp - 0x48]
movsx r9d, word [rbp - 0x4a]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov ecx, r12d
mov dword [rsp + 0x28], edx
mov edx, r15d
mov dword [rsp + 0x20], r8d
lea r8, [0x1400428d0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
inc qword [rbx + 0x550]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov rcx, qword gs:[0x188]
movsx edx, word [rbp - 0x34]
movsx r8d, word [rbp - 0x36]
mov rax, qword [rbx + 0x550]
movsx r10d, word [rbp - 0x38]
movsx r9d, word [rbp - 0x3a]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov ecx, r12d
mov dword [rsp + 0x30], edx
mov edx, r15d
mov dword [rsp + 0x28], r8d
lea r8, [0x140042930]
mov dword [rsp + 0x20], r10d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp byte [rbx + 0x510], sil
je 0x140027e94
cmp dword [rbx + 0x514], 1
jne 0x140027e94
cmp qword [rbx + 0x540], 0
je 0x140027e94
inc dword [rbx + 0x54c]
mov eax, dword [rbx + 0x54c]
cmp eax, dword [rbx + 0x53c]
jb 0x140027e15
and dword [rbx + 0x54c], 0
inc dword [rbx + 0x548]
mov eax, dword [rbx + 0x538]
test eax, eax
je 0x140027e94
cmp dword [rbx + 0x548], eax
jb 0x140027e94
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov rax, qword gs:[0x188]
movsx ecx, word [rbp - 0x24]
movsx edx, word [rbp - 0x26]
movsx r8d, word [rbp - 0x28]
movsx r9d, word [rbp - 0x2a]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov ecx, r12d
mov dword [rsp + 0x28], edx
mov edx, r15d
mov dword [rsp + 0x20], r8d
lea r8, [0x1400429a0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov sil, 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov rcx, qword gs:[0x188]
mov eax, dword [rbx + 0x548]
movsx edx, word [rbp - 0x14]
movsx r8d, word [rbp - 0x16]
movsx r10d, word [rbp - 0x18]
movsx r9d, word [rbp - 0x1a]
mov dword [rsp + 0x48], eax
mov eax, dword [rbx + 0x54c]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rcx
mov ecx, r12d
mov dword [rsp + 0x30], edx
mov edx, r15d
mov dword [rsp + 0x28], r8d
lea r8, [0x140042a00]
mov dword [rsp + 0x20], r10d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov rcx, qword gs:[0x188]
mov eax, dword [rbx + 0x538]
movsx edx, word [rbp - 4]
movsx r8d, word [rbp - 6]
movsx r10d, word [rbp - 8]
movsx r9d, word [rbp - 0xa]
mov dword [rsp + 0x48], eax
mov eax, dword [rbx + 0x53c]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rcx
mov ecx, r12d
mov dword [rsp + 0x30], edx
mov edx, r15d
mov dword [rsp + 0x28], r8d
lea r8, [0x140042a80]
mov dword [rsp + 0x20], r10d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_KeQuerySystemTimePrecise]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea rdx, [rbp]
lea rcx, [rbp - 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToTimeFields]
mov r8, qword gs:[0x188]
lea rax, [0x140042b00]
movsx r10d, word [rbp + 0xc]
lea rdi, [0x140042b10]
movsx r11d, word [rbp + 0xa]
test sil, sil
movsx ebx, word [rbp + 8]
mov edx, r15d
movsx r9d, word [rbp + 6]
cmovne rdi, rax
mov qword [rsp + 0x40], rdi
mov ecx, r12d
mov qword [rsp + 0x38], r8
lea r8, [0x140042b20]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov al, sil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140003b50
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret