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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x62a040]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x632e50]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
push eax
cmp edi, 3
jge 0x452fc3
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x18
push eax
push 0x410
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], 0
push eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call dword [sym.imp.ntdll.dll_NtOpenProcess]
cmp eax, 0xc0000022
jne 0x452fd1
cmp edi, 5
jne 0x452fd5
lea eax, [esp + 0x18]
push eax
mov edx, 0x410
lea ecx, [esp + 0x34]
call fcn.00520d00
test eax, eax
jns 0x453003
push esi
push 0x1000
lea eax, [esp + 0x38]
push eax
call sym.SystemInformer.exe_PhOpenProcess
test eax, eax
jns 0x453003
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [esp + 0x10]
push 0
push 0x1c
lea ecx, [edi + 0x1c]
mov dword [edi], esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x451e00
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov eax, dword [0x631040]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
mov ebx, dword ds:[ebp + 0xc]
test eax, eax
js 0x453416
jmp 0x453070
test dword [esp + 0x44], 0x10000
je 0x453091
lea ebx, [ebx]
test bl, 1
jne 0x4533ec
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
call fcn.00451ce0
mov ebx, eax
lea esi, [esp + 0x34]
mov ecx, 7
lea edi, [ebx + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
cmove edi, ebx
mov dword [esp + 0x20], edi
test edi, edi
je 0x4530c8
lea ecx, [ecx]
cmp eax, dword [edi + 0x18]
jne 0x4530c8
mov dword [ebx + 0x70], edi
mov eax, dword [ebp + 0xc]
and eax, 8
mov dword [esp + 0x18], eax
je 0x453182
mov ecx, dword [ebx + 0x18]
mov eax, ecx
shr eax, 0x1c
mov dword [ebx + 0x3c], 0x780030
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x40], ax
mov eax, ecx
shr eax, 0x18
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x42], ax
mov eax, ecx
shr eax, 0x14
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x44], ax
mov eax, ecx
shr eax, 0x10
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x46], ax
mov eax, ecx
shr eax, 0xc
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x48], ax
mov eax, ecx
shr eax, 8
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x4a], ax
mov eax, ecx
shr eax, 4
and ecx, 0xf
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x4c], ax
movzx eax, word [ecx*2 + str.0123456789abcdef]
mov word [ebx + 0x4e], ax
xor eax, eax
mov word [ebx + 0x50], ax
jmp 0x45319a
push 0x10
lea eax, [ebx + 0x40]
mov dword [ebx + 0x3c], 0x780030
push eax
push dword [ebx + 0x18]
call fcn.0058034a
add esp, 0xc
test dword [esp + 0x44], 0x1000
je 0x4531b7
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x74], eax
test dword [esp + 0x4c], 0x20000
je 0x4531b7
mov dword [ebx + 0x78], eax
test dword ds:[esp + 0x44], 0x10000
jne 0x453263
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x50]
push 0
push 0xc
push eax
push 4
push 0
push dword [esp + 0x44]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], esi
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x453213
mov ecx, dword [esp + 0x54]
mov edx, ecx
mov al, byte [ebx + 0x34]
and cl, 1
shr edx, 0x1f
and al, 0xfc
add dl, dl
or dl, al
or dl, cl
mov byte [ebx + 0x34], dl
cmp dword [0x62abb0], 0x3e
jbe 0x453263
xor eax, eax
push eax
push 0x1c
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x70]
push eax
push 7
push esi
push dword [esp + 0x44]
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x453263
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x38], eax
mov edi, dword [esp + 0x10]
lea eax, [ebx + 8]
push eax
lea eax, [edi + 4]
push eax
call sym.SystemInformer.exe_PhAddElementAvlTree
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x1c]
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov dword [eax], ebx
test dword [esp + 0x44], 0x10000
mov dword [esi + 4], ebx
je 0x4533e9
mov esi, dword ds:[esp + 0x24]
mov ecx, dword [esp + 0x34]
lea eax, [esi - 1]
test ecx, eax
je 0x4533e9
lea edx, [esi - 1]
mov dword [ebx + 0x98], 2
not eax
add edx, ecx
and edx, eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x34]
mov esi, edx
sub esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
cmp edx, eax
jae 0x4533e9
mov dword [ebx + 0x24], esi
call fcn.00451ce0
mov ebx, eax
lea esi, [esp + 0x34]
mov ecx, 7
lea edi, [ebx + 0x18]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x2c]
cmp dword [esp + 0x18], 0
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x70], ebx
mov dword [ebx + 0x3c], 0x780030
je 0x4533b9
mov eax, esi
shr eax, 0x1c
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x40], ax
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x42], ax
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x44], ax
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x46], ax
mov eax, esi
shr eax, 0xc
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x48], ax
mov eax, esi
shr eax, 8
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x4a], ax
mov eax, esi
shr eax, 4
and esi, 0xf
and eax, 0xf
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebx + 0x4c], ax
movzx eax, word [esi*2 + str.0123456789abcdef]
mov word [ebx + 0x4e], ax
xor eax, eax
mov word [ebx + 0x50], ax
jmp 0x4533c8
push 0x10
lea eax, [ebx + 0x40]
push eax
push esi
call fcn.0058034a
add esp, 0xc
mov edi, dword [esp + 0x10]
lea eax, [ebx + 8]
push eax
lea eax, [edi + 4]
push eax
call sym.SystemInformer.exe_PhAddElementAvlTree
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x40]
push 0
push 0x1c
push ecx
push 0
push eax
push dword [esp + 0x44]
mov dword [esp + 0x2c], eax
call dword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
jns 0x453070
test bl, 2
je 0x453426
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00452440
test bl, 4
je 0x453436
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00452d20
push dword ds:[esp + 0x30]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 0xc