Function at 0x7ff6019849c0
Capabilities:
Access peb ldr_data
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x7ff601b47080]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rcx
lea rdx, [rbp + 8]
xor r14d, r14d
lea r8, [0x7ff601a6dba8]
mov qword [rcx], r14
mov edi, 0x23f0
mov eax, dword [0x7ff601a6db98]
mov r9d, 0x7ffe0030
movsd xmm0, qword [0x7ff601a6db90]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x7ff601a6db9c]
mov byte [rbp + 0x14], al
mov eax, dword [0x7ff601a6dba0]
mov dword [rbp], eax
movzx eax, word [0x7ff601a6dba4]
mov word [rbp + 4], ax
movzx eax, byte [0x7ff601a6dba6]
mov byte [rbp + 6], al
movsd qword [rbp + 8], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rbp]
cmp word [rcx + 0x120], di
lea rcx, [rbp + 0x20]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.7ff601984530
lea r9, [rbp - 0x68]
mov qword [rsp + 0x70], r14
xor r8d, r8d
mov qword [rbp - 0x18], r14
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x78], r14
lea rcx, [rbp + 0x20]
call qword [0x7ff601a5fe98]
mov ebx, eax
test eax, eax
js 0x7ff601984d28
movzx ecx, word [rbp - 0x68]
lea rdx, [rbp - 0x78]
mov dword [rsp + 0x50], r14d
lea r9, [rbp - 0x10]
mov qword [rsp + 0x48], r14
lea r8, [rbp - 0x48]
test cx, cx
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x78]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 1
mov eax, r14d
mov dword [rsp + 0x28], 0x80
cmovne rax, qword [rbp - 0x58]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x68]
cmove rax, rdx
mov dword [rbp - 0x48], 0x30
mov edx, 0x120089
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], 0x40
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rsp + 0x20], r14
call qword [0x7ff601a5ff08]
mov ebx, eax
xor edx, edx
mov rax, qword gs:[0x30]
mov r8, qword [rbp - 0x70]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [0x7ff601a5ff10]
lea rcx, [rbp - 0x68]
call qword [0x7ff601a5ff20]
test ebx, ebx
js 0x7ff601984d28
mov rax, qword [rsp + 0x78]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
xor r8d, r8d
mov edx, 0xf0004
mov dword [rsp + 0x20], 2
mov qword [rbp - 0x80], r14
call qword [0x7ff601a5ff28]
mov ebx, eax
test eax, eax
js 0x7ff601984bda
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0x70]
mov dword [rsp + 0x40], r14d
lea rdx, [r14 - 1]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [0x7ff601a5ff00]
cmp eax, 0x40000003
mov ebx, eax
cmove ebx, r14d
mov rcx, qword [rsp + 0x78]
call qword [0x7ff601a5ff18]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x7ff601984bf4
call qword [0x7ff601a5ff18]
test ebx, ebx
js 0x7ff601984d28
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], di
jb 0x7ff601984c5f
lea rdx, [rsp + 0x68]
lea rcx, [rbp]
call fcn.7ff6019845f0
mov ebx, eax
test eax, eax
js 0x7ff601984d13
mov rdi, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.7ff6019847c0
test eax, eax
je 0x7ff601984c55
mov rax, qword [rsp + 0x60]
mov ebx, r14d
mov qword [rsi], rax
jmp 0x7ff601984d18
mov ebx, 0xc0000225
jmp 0x7ff601984d18
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 8]
call fcn.7ff6019845f0
mov ebx, eax
test eax, eax
js 0x7ff601984d13
mov r11, qword [rbp - 0x18]
mov r10, r14
mov r9, r14
test r11, r11
je 0x7ff601984d02
mov rdi, qword [rsp + 0x70]
lea rbx, [0x7ff601a6dd04]
nop dword [rax]
nop word [rax + rax]
mov r8, r9
mov edx, r14d
sub r8, rbx
mov rax, rbx
add r8, rdi
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x7ff601984cbd
test cl, cl
jne 0x7ff601984cfe
inc edx
inc rax
cmp edx, 4
jb 0x7ff601984cb0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x7ff601984ca0
test rax, rax
je 0x7ff601984d02
movsxd rcx, dword [rax + rdi + 4]
mov ebx, r14d
add rcx, rax
mov rax, qword [rsp + 0x60]
add rax, 8
add rcx, rax
mov qword [rsi], rcx
jmp 0x7ff601984d18
xor cl, cl
jmp 0x7ff601984cc9
lea rcx, [0x7ff601a6db60]
call fcn.7ff601984590
mov ebx, 0xc0000225
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, 0xffffffffffffffff
call qword [0x7ff601a5feb0]
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.7ff601a5a5c0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret