Function at 0x140183220
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r13
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov eax, dword [0x140237e68]
xor edi, edi
movups xmm1, xmmword [0x1402373e8]
mov dword [rbp + 0x40], eax
mov r13, rcx
mov eax, dword [0x140237140]
movups xmm0, xmmword [0x140237e58]
mov dword [rbp + 0x60], eax
mov eax, dword [0x1402373f8]
mov dword [rsp + 0x70], eax
mov eax, dword [rcx]
movups xmmword [rbp + 0x30], xmm0
add eax, 2
test byte [0x1402c5900], 1
movups xmm0, xmmword [0x140237130]
mov dword [rbp - 0x5c], eax
mov rax, qword [rcx + 8]
movups xmmword [rbp + 0x50], xmm0
mov dword [rsp + 0x74], edi
mov qword [rsp + 0x78], rdi
movups xmm0, xmmword [rsp + 0x70]
mov dword [rbp - 0x60], 0x12
mov qword [rbp - 0x58], rax
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x50], edi
movups xmmword [rbp + 0x88], xmm0
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rbp - 0x60]
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x68], rdi
movups xmmword [rbp + 0x98], xmm0
mov dword [rbp + 0x44], edi
mov dword [rbp + 0x64], edi
movups xmmword [rsp + 0x60], xmm1
mov qword [rbp + 0x70], 0x20002
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp + 0x78], xmm1
jne 0x1401833f1
lock bts qword [0x1402c5900], 0x1f
setb al
test al, al
jne 0x1401833da
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140183371
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140183371
cmp dword [0x1402bff40], 0x3e
jae 0x1401833cc
xor r8d, r8d
lea rcx, str.cfgmgr32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401833cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401833c2
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401833c2
cmp dword [rdx + rcx], 0x4550
jne 0x1401833c2
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401833c2
cmp dword [rdx + 4], edi
je 0x1401833c2
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.DevGetObjects
call fcn.14017e4c0
nop
jmp 0x1401833c5
mov rax, rdi
mov qword [0x1402cdaf8], rax
lea rcx, [0x1402c5900]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x1401833f1
test byte [0x1402c5900], 1
jne 0x1401833f1
xor edx, edx
lea rcx, [0x1402c5900]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402cdaf8]
nop dword [rax + rax]
test rax, rax
je 0x1401837d6
lea rcx, ds:[rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x38], rcx
lea r9, [rbp + 0x30]
lea rcx, [rsp + 0x50]
mov r8d, 2
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x28], rcx
mov ecx, 3
mov dword [rsp + 0x20], 1
call qword [case.0x14013d84a.0]
test eax, eax
jne 0x1401837d6
cmp dword [rsp + 0x50], edi
jbe 0x1401837c8
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1e8], rsi
mov qword [rsp + 0x1f0], r12
movups xmm0, xmmword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1b8], r14
mov qword [rsp + 0x1b0], r15
movups xmmword [rsp + 0x60], xmm0
mov ebx, dword [rax + 0x24]
mov r15, qword [rax + 0x28]
mov edx, ebx
mov r14d, dword [rax + 0x54]
mov r8d, ebx
mov r12, qword [rax + 0x58]
shr rdx, 1
and edx, 7
shr r8, 4
lea rcx, [rbx + r15]
test r8, r8
je 0x1401834f9
movdqa xmm1, xmmword [0x140290a20]
sub rcx, 0x10
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx]
dec r8
mov r10, rcx
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsr r9d, eax
mov dword [rsp + 0x54], r9d
jne 0x140183523
sub rcx, 0x10
test r8, r8
jne 0x1401834d0
mov rcx, r10
test rdx, rdx
je 0x140183514
sub rcx, 2
dec rdx
cmp word [rcx], 0x3b
je 0x140183539
sub rcx, 2
test rdx, rdx
jne 0x140183502
test rbx, rbx
jne 0x14018355a
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rsi, rax
jmp 0x140183594
shl r8, 4
shr r8, 1
mov ecx, r9d
shr rcx, 1
lea rax, [rdx + r8]
add rcx, rax
jmp 0x14018353c
mov rcx, rdx
nop dword [rax]
cmp rcx, 0xffffffffffffffff
je 0x140183514
lea rax, [rcx + rcx]
add r15, 2
add r15, rax
sub rbx, rax
sub rbx, 2
jmp 0x140183517
mov rdx, qword [0x1402ca998]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], di
test r15, r15
je 0x140183594
mov rcx, qword [rsi + 8]
mov r8, rbx
mov rdx, r15
call fcn.14020af00
mov rdx, r14
lea rcx, [r14 + r12]
shr rdx, 1
mov r8, r14
and edx, 7
shr r8, 4
test r8, r8
je 0x1401835e9
movdqa xmm1, xmmword [0x140290a20]
sub rcx, 0x10
nop dword [rax]
movdqu xmm0, xmmword [rcx]
dec r8
mov r10, rcx
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsr r9d, eax
mov dword [rsp + 0x54], r9d
jne 0x140183617
sub rcx, 0x10
test r8, r8
jne 0x1401835c0
mov rcx, r10
test rdx, rdx
je 0x140183605
sub rcx, 2
dec rdx
cmp word [rcx], 0x3b
je 0x14018362d
sub rcx, 2
test rdx, rdx
jne 0x1401835f2
test r14, r14
jne 0x140183682
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1401836b9
shl r8, 4
shr r8, 1
mov ecx, r9d
shr rcx, 1
lea rax, [rdx + r8]
add rcx, rax
jmp 0x140183630
mov rcx, rdx
cmp rcx, 0xffffffffffffffff
je 0x140183605
lea rax, [rcx + rcx]
lea r15, [r12 + 2]
sub r14, rax
add r15, rax
sub r14, 2
jne 0x140183655
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1401836b9
mov rdx, qword [0x1402ca998]
lea rcx, [r14 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r14], di
test r15, r15
je 0x1401836b9
mov rdx, r15
jmp 0x1401836ad
mov rdx, qword [0x1402ca998]
lea rcx, [r14 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r14], di
test r12, r12
je 0x1401836b9
mov rdx, r12
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020af00
mov rdx, qword [rsi]
mov r15, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x1b8]
mov r12, qword [rsp + 0x1f0]
cmp rdx, 2
jb 0x1401836f1
mov rax, qword [rsi + 8]
mov rcx, rdx
shr rcx, 1
cmp word [rax + rcx*2], di
jne 0x1401836f1
lea rax, [rdx - 2]
mov qword [rsi], rax
mov rdx, qword [rbx]
mov r8, rdx
cmp rdx, 2
jb 0x140183714
mov rax, qword [rbx + 8]
mov rcx, rdx
shr rcx, 1
cmp word [rax + rcx*2], di
jne 0x140183714
lea r8, [rdx - 2]
mov qword [rbx], r8
test r8, r8
je 0x14018371e
movups xmm0, xmmword [rbx]
jmp 0x140183728
nop
cmp qword [rsi], rdi
je 0x140183789
movups xmm0, xmmword [rsi]
lea rax, str.__PDO:
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [r13]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x50]
mov eax, 0x29
mov dword [rbp - 0x50], 1
mov r8d, 0x50
movups xmmword [rbp], xmm0
mov edx, 4
mov word [rbp + 0x20], ax
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x20], 0xe
mov dword [rbp - 0x10], 1
mov dword [rbp + 0x10], edi
call sym.SystemInformer.exe_PhFormat
mov rdi, rax
test rax, rax
je 0x140183789
lock inc dword [rax - 8]
lea rcx, [rbx - 0x10]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401837a5
nop
call fcn.140141ea0
lea rcx, [rsi - 0x10]
lock xadd dword [rcx + 8], ebx
mov rsi, qword [rsp + 0x1e8]
cmp ebx, 1
mov rbx, qword [rsp + 0x1e0]
jne 0x1401837c8
call fcn.140141ea0
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call sym.SystemInformer.exe_PhDevFreeObjects
mov rax, rdi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x1c0
pop r13
pop rdi
pop rbp
ret