Function at 0x43e5d0
Capabilities:
Enumerate process modules
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4b8
mov eax, dword [ecx]
cmp byte [eax], 0
jne 0x43e5ef
mov esi, dword [ecx + 4]
cmp dword [esi], 0x64
ja 0x43e978
mov edi, dword [ecx + 8]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0xd]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ecx + 0x10]
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xe]
xor edx, edx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x84], esi
sub eax, 1
cmovb eax, edx
cmp dword [0x45b0fc], 0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0x451268
jne 0x43e967
mov ecx, 0x220
mov edx, 8
call fcn.00407660
test eax, eax
mov dword [ebp - 0x5c], eax
je 0x43ea06
mov eax, dword [0x452ee8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
push 0
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x43e935
mov ebx, eax
lea eax, [ebp - 0x4c0]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4c4], 0x428
push eax
push ebx
call sub.KERNEL32.DLL_Module32FirstW
cmp eax, 1
jne 0x43e92f
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x40], ebx
jmp 0x43e766
lea ecx, [ebp - 0x2c]
call fcn.0041ccb0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
lea eax, [edx + edx*8]
mov dword [ebp - 0x34], ecx
lea eax, [eax + eax*2]
add eax, edx
inc edx
mov dword [ecx + eax], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov dword [ecx + eax + 4], edi
mov dword [ecx + eax + 8], ebx
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov dword [ecx + eax + 0xc], edi
mov dword [ecx + eax + 0x10], 1
mov dword [ecx + eax + 0x14], 1
mov dword [ecx + eax + 0x18], ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
nop dword [eax + eax]
lea eax, [ebp - 0x4c4]
push eax
push ebx
call sub.KERNEL32.DLL_Module32NextW
cmp eax, 1
jne 0x43e92f
mov ecx, 0x208
xor eax, eax
nop dword [eax]
cmp word [ebp + eax*2 - 0x2a4], 0
je 0x43e786
inc eax
add ecx, 0xfffffffe
jne 0x43e770
mov eax, 0x104
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x2a4]
push eax
call fcn.0041b780
add esp, 4
mov edi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x70]
lea ecx, [ebp - 0x50]
mov edx, edi
push ebx
call fcn.0041cae0
add esp, 4
cmp dword [ebp - 0x50], 1
jne 0x43e911
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
cmp edx, 0x40
mov dword [ebp - 0x3c], eax
jb 0x43e900
test esi, esi
je 0x43e900
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x43e900
mov dword [ebp - 0x58], ebx
mov ebx, dword [esi + 0x3c]
mov eax, edx
sub eax, ebx
mov ecx, ebx
mov dword [ebp - 0x14], ebx
jb 0x43e900
cmp eax, 0x78
jb 0x43e900
test esi, esi
je 0x43e900
mov ecx, dword [ebp - 0x14]
mov eax, ecx
add eax, 0x78
setb byte [ebp - 0x1c]
cmp dword [esi + ecx], 0x4550
jne 0x43e900
mov ecx, dword [ebp - 0x14]
movzx ecx, word [esi + ecx + 0x18]
cmp ecx, 0x10b
jne 0x43e900
mov ecx, dword [ebp - 0x14]
mov ebx, 0
movzx ecx, word [esi + ecx + 0x14]
sub ecx, 0x60
sbb ebx, ebx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], ebx
jb 0x43e900
mov cl, byte [ebp - 0x1c]
xor ebx, ebx
mov bl, cl
mov ecx, esi
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x58]
push dword [ebp - 0x18]
push dword [ebp - 0x54]
push dword [ebp - 0x1c]
push eax
call fcn.0040d8f0
add esp, 0x10
test eax, eax
je 0x43e900
mov ecx, edx
mov edx, dword [ebp - 0x14]
mov eax, 8
mul dword [esi + edx + 0x74]
jo 0x43e900
cmp ecx, eax
jb 0x43e900
mov eax, dword [ebp - 0x14]
mov ecx, 8
mov edx, 4
mov eax, dword [esi + eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
call fcn.00407660
test eax, eax
je 0x43ea17
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4ac]
mov dword [ebp - 0x18], eax
sub dword [ebp - 0x14], edx
mov dword [eax], edx
mov dword [eax + 4], ecx
push esi
call sub.KERNEL32.DLL_UnmapViewOfFile
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_CloseHandle
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x28]
je 0x43e6f9
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
jmp 0x43e70a
push esi
call sub.KERNEL32.DLL_UnmapViewOfFile
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_CloseHandle
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x74], 0
mov ebx, dword [ebp - 0x40]
je 0x43e750
mov ecx, edi
mov edx, 1
call fcn.004076c0
jmp 0x43e750
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov ecx, dword [ebp - 0x5c]
mov dword [0x45b104], eax
movsd qword [0x45b0fc], xmm0
mov dword [0x45b108], ecx
mov dword [0x45b10c], 4
mov dword [0x45b110], 0
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x80]
call fcn.0041cd40
cmp byte [ebp - 0xe], 0
je 0x43e97c
xor eax, eax
jmp 0x43e9fb
cmp byte [ebp - 0xd], 0
jne 0x43e9ea
mov eax, dword [ebp - 0x64]
cmp byte [eax], 0
je 0x43e9ea
mov eax, dword [ebp - 0x60]
mov edx, dword [esi + 8]
mov dword [ebp - 0x4bc], 4
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
sub esp, 0x18
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c4]
mov dword [esp], eax
call fcn.00433010
add esp, 0x18
mov ecx, dword [ebp - 0x38]
mov byte [ecx], al
mov eax, dword [ebp - 0x50]
inc dword [eax + 4]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
inc dword [eax]
mov eax, dword [ebp - 0x38]
cmp byte [eax], 0
sete al
add esp, 0x4b8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x220
mov edx, 8
call fcn.00407ab0
ud2
mov ecx, 8
mov edx, 4
call fcn.00407ab0
ud2