Function at 0x436c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x62a040]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
push dword [0x630f00]
mov edi, ecx
push 0xc
mov dword [esp + 0x40], edi
call sym.SystemInformer.exe_PhCreateObject
push 0x50
mov esi, eax
push 4
push dword [0x631034]
mov dword [esi], 0
mov dword [esi + 4], 0x14
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push dword [0x630f00]
mov dword ds:[esi + 8], eax
push 0xc
mov dword [edi + 0x68], esi
call sym.SystemInformer.exe_PhCreateObject
push 0x50
mov esi, eax
push 4
push dword [0x631034]
mov dword [esi], 0
mov dword [esi + 4], 0x14
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x60]
mov eax, ecx
mov dword [edi + 0x6c], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x436d2f
cmp dword [0x62abb0], 0x64
lea eax, [esp + 0xc]
mov ecx, 0x400
jb 0x436d14
mov ecx, 0x1000
push 0
push ecx
push eax
call sym.SystemInformer.exe_PhOpenProcess
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x436ec4
mov eax, dword [esp + 0xc]
push 0
push 0x1c
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], 0
push ecx
push 0
push 0
push eax
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x436ea8
lea esp, [esp]
test dword [esp + 0x94], 0x10000
mov ebx, dword [esp + 0x84]
je 0x436d8d
mov eax, dword [esp + 0x98]
mov ecx, ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
jmp 0x436d94
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x9c], 0x1000000
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
jne 0x436e61
cmp ecx, ebx
jne 0x436e61
push 0
push 0xc
lea ecx, [esp + 0x44]
push ecx
push 6
push ebx
push eax
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x436e5e
mov esi, dword ds:[esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
test esi, esi
je 0x436e5e
test byte [esp + 0x44], 3
jne 0x436e5e
cmp ebx, esi
jb 0x436e5e
mov ecx, dword [edi + 0x68]
xor edx, edx
mov ebx, dword [ecx]
test ebx, ebx
je 0x436e0e
mov ecx, dword [ecx + 8]
lea ecx, [ecx]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x436e61
inc edx
add ecx, 4
cmp edx, ebx
jb 0x436e00
push 0xc
push 4
lfence
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebx + 8], 0
mov eax, dword [esp + 0x18]
mov dword [ebx + 4], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
mov dword [ebx], esi
call sym.SystemInformer.exe_PhGetProcessMappedFileName
test eax, eax
js 0x436e53
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
push ebx
push dword [edi + 0x68]
call sym.SystemInformer.exe_PhAddItemList
jmp 0x436e61
inc dword [edi + 0x64]
mov eax, dword [esp + 0x14]
xor esi, esi
add eax, dword [esp + 0x90]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp eax, dword [0x631044]
jae 0x436ea8
push esi
push 0x1c
lea ecx, [esp + 0x8c]
push ecx
push esi
push eax
lfence
push dword [esp + 0x20]
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jns 0x436d60
cmp dword [esp + 0x1c], 0
jne 0x436ebe
mov eax, dword [esp + 0xc]
test eax, eax
je 0x436ebe
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov edi, edi
test esi, esi
jns 0x436ede
lfence
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
lfence
mov eax, dword [edi + 0x68]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [eax], ecx
jbe 0x437128
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [edi + 0x60]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x436f37
push eax
push 0x400
lea eax, [esp + 0x1c]
push eax
call sym.SystemInformer.exe_PhOpenProcess
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x43710f
mov ecx, dword [esp + 0x20]
mov eax, ecx
add ebx, 0xfff
and eax, 0xfff
mov esi, ecx
add ebx, eax
and esi, 0xfffff000
shr ebx, 0xc
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x4370e8
push 4
lea eax, [ebx + ebx*2]
mov dword [esp + 0x20], 0
shl eax, 2
push 0x1000
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x4370e8
mov edx, dword ds:[esp + 0x1c]
mov dword [esp + 0xc], edx
test edx, edx
je 0x4370e8
test ebx, ebx
je 0x436fc5
mov eax, edx
mov dword [esp + 0xc], edx
mov ecx, ebx
mov dword ds:[eax], esi
lea eax, [eax + 0xc]
add esi, 0x1000
sub ecx, 1
jne 0x436fb4
push 0
lea eax, [ebx + ebx*2]
shl eax, 2
push eax
push edx
push 4
push 0
push dword [esp + 0x28]
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
mov esi, eax
mov dword [esp + 0x10], eax
test esi, esi
js 0x4370b9
test ebx, ebx
je 0x4370b3
mov esi, dword [esp + 0xc]
add esi, 4
mov dword [esp + 0x10], esi
mov edi, edi
test dword [esi], 0x40000000
jne 0x43709f
push 0x10
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 4], eax
mov ecx, dword [esi - 4]
mov dword [ebx + 8], ecx
mov eax, dword [esi]
xor eax, dword [ebx + 0xc]
and eax, 1
xor dword [ebx + 0xc], eax
mov esi, dword [edi + 0x6c]
mov eax, dword [esi + 4]
cmp dword [esi], eax
jne 0x437089
mov ecx, dword [esi + 8]
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x437074
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x437086
push ecx
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov dword [esi + 8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
add esi, 0xc
sub ebx, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
jne 0x437000
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, dword ds:[esp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push 0x8000
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x38], 0
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
jmp 0x4370f1
mov esi, 0xc0000001
mov dword [esp + 0x10], esi
cmp dword [esp + 0x3c], 0
jne 0x43710b
mov eax, dword ds:[esp + 0x14]
test eax, eax
je 0x43710b
push eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jns 0x437112
inc dword [edi + 0x64]
mov ecx, dword ds:[esp + 0x18]
mov eax, dword [edi + 0x68]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax]
jb 0x436ef2
mov eax, dword [edi + 0x6c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [eax], ecx
jbe 0x437459
lea esp, [esp]
mov eax, dword [eax + 8]
push 0xa
mov ebx, dword [eax + ecx*4]
lea eax, [esp + 0xa4]
push eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], ebx
push eax
call fcn.0058034a
mov eax, dword [ebx + 8]
lea ecx, [esp + 0xac]
add esp, 0xc
mov dword [esp + 0x68], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 5
mov dword [esp + 0x4c], 0x7fffffff
mov dword [esp + 0x50], 0
push eax
push 0
push 0x104d
push dword [edi + 8]
mov dword [esp + 0x6c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x68]
xor ebx, ebx
mov esi, eax
mov dword [esp + 0xc], esi
cmp dword [ecx], ebx
jbe 0x4372b3
mov edx, dword [ecx + 8]
mov eax, ecx
mov ecx, dword ds:[edx]
mov esi, dword [ecx + 8]
test esi, esi
je 0x4371e8
cmp dword [esi], 0
je 0x4371e8
mov edi, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, dword [edi]
mov edi, dword [esp + 0x38]
jne 0x4371e5
mov eax, dword ds:[ecx + 4]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
je 0x4371f5
mov eax, dword [edi + 0x68]
inc ebx
add edx, 4
cmp ebx, dword [eax]
jb 0x4371b7
jmp 0x4372af
push esi
call sym.SystemInformer.exe_PhGetFileName
mov ebx, eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
push eax
push 0x5c
push ebx
call sym.SystemInformer.exe_PhSplitStringRefAtLastChar
test al, al
jne 0x43721b
lock inc dword [ebx - 4]
mov esi, ebx
jmp 0x437247
mov ecx, dword ds:[esp + 0x30]
test ecx, ecx
jne 0x43722b
call sym.SystemInformer.exe_PhReferenceEmptyString
jmp 0x437245
mov eax, dword [esp + 0x34]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x34], ecx
call sym.SystemInformer.exe_PhCreateString3
mov esi, eax
test ebx, ebx
je 0x43725e
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43725e
call fcn.004f9e40
mov edi, edi
test esi, esi
je 0x437269
mov eax, dword [esi + 4]
jmp 0x43726b
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 1
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4372af
call fcn.004f9e40
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0xa4]
push 0x10
push ecx
mov eax, dword [ebx]
push eax
mov dword [esp + 0xac], 0x780030
call fcn.0058034a
add esp, 0xc
mov dword [esp + 0x48], 1
lea eax, [esp + 0xa0]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x50], 2
push eax
push 0
push 0x104c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 8]
lea ecx, [esp + 0xa4]
sub eax, dword [ebx]
push 0x10
push ecx
push eax
mov dword [esp + 0xac], 0x780030
call fcn.0058034a
add esp, 0xc
mov dword [esp + 0x48], 1
lea eax, [esp + 0xa0]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x50], 3
push eax
push 0
push 0x104c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword ds:[ebx + 8]
lea ecx, [esp + 0xa4]
push 0x10
push ecx
push eax
mov dword [esp + 0xac], 0x780030
call fcn.0058034a
add esp, 0xc
mov dword [esp + 0x48], 1
lea eax, [esp + 0xa0]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x50], 4
push eax
push 0
push 0x104c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 1
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 5
mov dword [esp + 0x6c], str.Resolving_symbols...
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x78], 0
mov ebx, dword [ebx + 8]
jne 0x437400
push 0
call sym.SystemInformer.exe_PhCreateSymbolProvider
mov dword [edi + 0x78], eax
push 0x14
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [esi], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
lock inc dword [edi]
call sym.SystemInformer.exe_PhGetGlobalWorkQueue
push 0
push 0
push esi
push 0x436840
push eax
call sym.SystemInformer.exe_PhQueueItemWorkQueueEx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x6c]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax]
jb 0x437140
mov ecx, edi
call fcn.00436b40
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret