Function at 0x40de00
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x1138]
mov eax, 0x1138
call fcn.0042f260
push 0xffffffffffffffff
push 0x4386af
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44d958]
xor eax, ebp
mov dword [ebp + 0x1134], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x43ad00
push 0x43ad08
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0x43ad14
push 0x43ad1c
mov dword [ebp - 0x20], eax
call edi
push eax
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea eax, [ebp + 0x30]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40de8d
mov eax, 1
jmp 0x40e13f
push 0x104
lea eax, [ebp + 0x1030]
push 0
push eax
call fcn.00430eb0
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp + 0x18]
add esp, 0xc
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0x2c], 0xf
push 0
push 0x43a70b
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
call fcn.004028e0
mov dword [ebp - 4], 0
xor edi, edi
test ebx, ebx
je 0x40e08d
nop dword [eax]
mov eax, dword [ebp + edi*4 + 0x30]
test eax, eax
je 0x40e084
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40e07d
push 3
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x40e07d
push 0x104
lea eax, [ebp + 0x1030]
push eax
push dword [ebp - 0x14]
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
cmp byte [ebp + 0x1030], 0
jne 0x40df50
xor ecx, ecx
jmp 0x40df69
lea ecx, [ebp + 0x1030]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40df60
sub ecx, edx
push ecx
lea eax, [ebp + 0x1030]
push eax
lea ecx, [ebp + 0x18]
call fcn.004028e0
push 0x43ad38
sub esp, 0x18
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004027d0
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0
call fcn.00403a20
add esp, 0x1c
mov byte [ebp - 4], 2
push eax
call fcn.0040f210
add esp, 8
mov bl, al
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x10
jb 0x40dfe0
inc ecx
push ecx
push dword [ebp]
lea ecx, [ebp]
call fcn.004029e0
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
test bl, bl
jne 0x40e0d5
push 0x104
lea eax, [ebp + 0x1030]
push eax
push dword [ebp - 0x14]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
cmp byte [ebp + 0x1030], bl
jne 0x40e01b
xor eax, eax
jmp 0x40e02d
lea eax, [ebp + 0x1030]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e024
sub eax, edx
push eax
lea eax, [ebp + 0x1030]
push eax
lea ecx, [ebp + 0x18]
call fcn.004028e0
push 0x75
push 0x6e
push 0x50
call fcn.0040ddb0
mov edx, eax
add esp, 0xc
cmp byte [edx], 0
jne 0x40e056
xor ecx, ecx
jmp 0x40e069
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e060
sub ecx, ebx
push ecx
push 0
push edx
lea ecx, [ebp + 0x18]
call fcn.00404870
cmp eax, 0xffffffff
jne 0x40e0d5
mov ebx, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x40def0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, eax
push 0
push 1
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push dword [ebp - 0x20]
push esi
call edi
mov al, byte [ebp - 0xd]
cmp al, 0xe9
je 0x40e0d5
cmp al, 0xe8
je 0x40e0d5
push 0
push 1
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x24]
push esi
call edi
mov al, byte [ebp - 0xd]
cmp al, 0xe9
je 0x40e0d5
cmp al, 0xe8
je 0x40e0d5
xor esi, esi
jmp 0x40e0da
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x2c]
cmp eax, 0x10
jb 0x40e12b
mov ecx, dword [ebp + 0x18]
inc eax
cmp eax, 0x1000
jb 0x40e122
test cl, 0x1f
je 0x40e0fe
call fcn.004179ef
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40e10a
call fcn.004179ef
sub ecx, eax
cmp ecx, 4
jae 0x40e116
call fcn.004179ef
cmp ecx, 0x23
jbe 0x40e120
call fcn.004179ef
mov ecx, eax
push ecx
call fcn.0042eb69
add esp, 4
mov dword [ebp + 0x2c], 0xf
mov eax, esi
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1134]
xor ecx, ebp
call fcn.0042eb7c
lea esp, [ebp + 0x1138]
pop ebp
ret