Function at 0x14015ae40
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, 0x90
mov r14, rcx
xor dil, dil
xor ecx, ecx
mov dword [rbp + 0x6f], edi
mov rax, r8
mov qword [rbp - 0x39], rcx
mov rbx, rdx
mov qword [rbp - 0x21], r14
test byte [r14 + 0x20], 1
je 0x14015ae8c
mov rax, qword [r14 + 0x18]
mov qword [rbp - 0x39], rax
jmp 0x14015af04
test rax, rax
je 0x14015ae97
mov qword [rbp - 0x39], rax
jmp 0x14015af04
cmp dword [0x1402cddb8], 3
mov edx, 0x1000
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], rcx
jl 0x14015aebc
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x39]
call fcn.140176ee0
jmp 0x14015aeef
mov qword [rbp - 1], rcx
lea r9, [rbp - 0x31]
mov dword [rbp + 0xf], ecx
lea r8, [rbp - 9]
mov qword [rbp + 7], rcx
xorps xmm0, xmm0
lea rcx, [rbp - 0x39]
mov dword [rbp - 9], 0x30
movdqu xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
cmp eax, 0xc0000022
je 0x14015af00
test eax, eax
movzx edi, dil
mov ecx, 1
cmovns edi, ecx
mov dword [rbp + 0x6f], edi
mov rax, qword [rbp - 0x39]
mov edi, 2
mov qword [rbp - 0x31], rdi
test rbx, rbx
je 0x14015af35
test rax, rax
je 0x14015af35
lea rcx, [rbp - 0x21]
mov r8d, edi
mov qword [rsp + 0x20], rcx
lea r9, [0x14015ab80]
mov rcx, rbx
mov rdx, rax
call sym.SystemInformer.exe_PhEnumGenericModules
lea rax, [rbp - 0x21]
xor r8d, r8d
lea r9, [0x14015ab80]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 4
call sym.SystemInformer.exe_PhEnumGenericModules
lea r13, [0x1402c5cd0]
nop dword [rax + 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 + 0x7f], rax
mov r12, qword [rax]
cmp r12, rax
je 0x14015b16f
nop
movzx eax, word [r12 + 0x58]
mov rbx, qword [r12 + 0x60]
test r13, r13
je 0x14015b059
mov rsi, qword ds:[r13]
cmp rax, rsi
jb 0x14015b138
mov r14, qword [r13 + 8]
mov rcx, rsi
shr rcx, 4
test rcx, rcx
je 0x14015b00a
nop dword [rax]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [r14]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14015b126
add rbx, 0x10
add r14, 0x10
sub rcx, 1
jne 0x14015afe0
shr rsi, 1
and esi, 7
test rsi, rsi
je 0x14015b059
sub r14, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
movzx r15d, word [r14 + rbx]
cmp cx, r15w
je 0x14015b04f
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx ecx, r15w
movzx edi, ax
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
cmp di, ax
jne 0x14015b138
add rbx, 2
sub rsi, 1
jne 0x14015b020
nop dword [rax]
test r12, r12
je 0x14015b16b
movzx eax, word [r12 + 0x48]
lea rcx, [rbp - 0x19]
mov rdi, qword [r12 + 0x30]
mov esi, dword [r12 + 0x40]
mov qword [rbp - 0x19], rax
mov rax, qword [r12 + 0x50]
mov qword [rbp - 0x11], rax
call sym.SystemInformer.exe_PhDosPathNameToNtPathName
mov rcx, qword gs:[0x30]
mov rbx, rax
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x110]
test rax, rax
je 0x14015b15e
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_PhLoadModuleSymbolProvider
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015b0df
call fcn.140141ca0
mov rdi, qword [rbp - 0x31]
add r13, 0x10
sub rdi, 1
mov qword [rbp - 0x31], rdi
jne 0x14015af60
cmp byte [rbp + 0x6f], 0
je 0x14015b10b
mov rcx, qword ds:[rbp - 0x39]
test rcx, rcx
je 0x14015b10b
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
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 0x14015b010
mov r12, qword ds:[r12]
cmp r12, qword [rbp + 0x7f]
jne 0x14015afa0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
nop
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x14015b0df
mov rdi, qword [rbp - 0x31]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x14015b0e3