Function at 0x14015a5a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword ss:[rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov r14, rcx
xor dil, dil
xor ecx, ecx
mov dword [rbp + 0x6f], edi
mov rax, r8
mov qword [rbp - 0x59], rcx
mov rbx, rdx
mov qword [rbp - 0x49], r14
test byte [r14 + 0x20], 1
je 0x14015a5ec
mov rax, qword [r14 + 0x18]
mov qword [rbp - 0x59], rax
jmp 0x14015a664
test rax, rax
je 0x14015a5f7
mov qword [rbp - 0x59], rax
jmp 0x14015a664
cmp dword [0x1402c825c], 3
mov edx, 0x1000
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], rcx
jl 0x14015a61c
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x59]
call fcn.140174cc0
jmp 0x14015a64f
mov qword [rbp - 9], rcx
lea r9, [rbp - 0x31]
mov dword [rbp + 7], ecx
lea r8, [rbp - 0x11]
mov qword [rbp - 1], rcx
xorps xmm0, xmm0
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x11], 0x30
movdqu xmmword [rbp + 0xf], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
cmp eax, 0xc0000022
je 0x14015a660
test eax, eax
movzx edi, dil
mov ecx, 1
cmovns edi, ecx
mov dword [rbp + 0x6f], edi
mov rax, qword [rbp - 0x59]
mov edi, 2
mov qword [rbp - 0x51], rdi
test rbx, rbx
je 0x14015a695
test rax, rax
je 0x14015a695
lea rcx, [rbp - 0x49]
mov r8d, edi
mov qword [rsp + 0x20], rcx
lea r9, [0x14015a2e0]
mov rcx, rbx
mov rdx, rax
call sym.SystemInformer.exe_QiEnumGenericModules
xor edx, edx
lea rax, [rbp - 0x49]
lea r9, [0x14015a2e0]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea ecx, [rdx + 4]
call sym.SystemInformer.exe_QiEnumGenericModules
lea r13, [0x1402c0b90]
nop dword [rax]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
add rax, 0x10
mov qword [rbp - 0x41], rax
mov r12, qword [rax]
cmp r12, rax
je 0x14015a8cf
nop
movzx eax, word [r12 + 0x58]
mov rbx, qword [r12 + 0x60]
test r13, r13
je 0x14015a7b9
mov rsi, qword ds:[r13]
cmp rax, rsi
jb 0x14015a898
mov r14, qword [r13 + 8]
mov rcx, rsi
shr rcx, 4
test rcx, rcx
je 0x14015a76a
nop dword [rax]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [r14]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14015a886
add rbx, 0x10
add r14, 0x10
sub rcx, 1
jne 0x14015a740
shr rsi, 1
and esi, 7
test rsi, rsi
je 0x14015a7b9
sub r14, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
movzx r15d, word [r14 + rbx]
cmp cx, r15w
je 0x14015a7af
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx ecx, r15w
movzx edi, ax
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
cmp di, ax
jne 0x14015a898
add rbx, 2
sub rsi, 1
jne 0x14015a780
nop dword [rax]
test r12, r12
je 0x14015a8cb
movzx eax, word [r12 + 0x48]
lea rcx, [rbp - 0x21]
mov rdi, qword [r12 + 0x30]
mov esi, dword [r12 + 0x40]
mov qword [rbp - 0x21], rax
mov rax, qword [r12 + 0x50]
mov qword [rbp - 0x19], rax
call sym.SystemInformer.exe_QiDosPathNameToNtPathName
mov rcx, qword gs:[0x30]
mov rbx, rax
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x110]
test rax, rax
je 0x14015a8be
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov rcx, qword [rbp + 0x67]
mov r9d, esi
mov r8, rdi
mov rdx, rbx
call sym.SystemInformer.exe_QiLoadModuleSymbolProvider
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015a83f
call fcn.14013fb00
mov rdi, qword [rbp - 0x51]
add r13, 0x10
sub rdi, 1
mov qword [rbp - 0x51], rdi
jne 0x14015a6c0
cmp byte [rbp + 0x6f], 0
je 0x14015a86b
mov rcx, qword ds:[rbp - 0x59]
test rcx, rcx
je 0x14015a86b
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
and esi, 0xf
shl rcx, 4
add rsi, rcx
shr rsi, 1
jmp 0x14015a770
mov r12, qword ds:[r12]
cmp r12, qword [rbp - 0x41]
jne 0x14015a700
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
nop
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x14015a83f
mov rdi, qword [rbp - 0x51]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x14015a843