Function at 0x40d0e0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x4653d9
mov eax, dword fs:[0]
push eax
mov eax, 0x111c
call fcn.0044a500
mov eax, dword [0x484ea8]
xor eax, esp
mov dword [esp + 0x1118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484ea8]
xor eax, esp
push eax
lea eax, [esp + 0x1130]
mov dword fs:[0], eax
xor ebx, ebx
push str..exe
lea ecx, [esp + 0x1144]
mov dword [esp + 0x113c], ebx
call fcn.0040bb80
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040bc40
add esp, 0xc
push eax
lea ecx, [esp + 0x1144]
mov byte [esp + 0x113c], 1
call fcn.00401cd0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1138], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d183
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push 0x1000
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x24], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40d1d4
mov eax, dword [esp + 0x1140]
add eax, 0xfffffff0
mov dword [esp + 0x1138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40d3e3
mov eax, dword [esp + 0x24]
shr eax, 2
mov dword [esp + 0x20], eax
mov edi, ebx
je 0x40d3b1
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ecx]
mov ecx, dword [str._unknown_]
mov edx, dword [0x46d404]
mov ax, word [0x46d408]
push 0xfa
mov dword [esp + 0x102c], ecx
lea ecx, [esp + 0x1036]
push ebx
push ecx
mov dword [esp + 0x1038], edx
mov word [esp + 0x103c], ax
call fcn.004498a0
mov edx, dword [esp + edi*4 + 0x34]
add esp, 0xc
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x40d3a4
push 0x104
lea eax, [esp + 0x102c]
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
ja 0x40d27c
push 0x104
lea ecx, [esp + 0x102c]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jbe 0x40d3a1
lea edx, [esp + 0x1028]
push edx
lea ecx, [esp + 0x18]
call fcn.0040cf60
mov eax, dword [esp + 0x14]
push 0x5c
push eax
mov byte [esp + 0x1140], 2
call fcn.00448d75
add esp, 8
cmp eax, ebx
je 0x40d2b1
sub eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x40d2e4
push esi
call ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1138], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40d3a4
add eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040bbe0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x113c], 3
call fcn.00401cd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x1138], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
call fcn.0040bb80
push eax
lea ecx, [esp + 0x18]
call fcn.00401cd0
mov eax, dword [esp + 0x1140]
cmp eax, ebx
je 0x40d37a
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x40d37e
push eax
push ecx
call fcn.00449e84
add esp, 8
cmp eax, ebx
je 0x40d37a
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40d37e
mov dword [esp + 0x18], 1
jmp 0x40d37e
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov byte [esp + 0x1138], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call ebp
add edi, 1
cmp edi, dword [esp + 0x20]
jb 0x40d1f0
mov eax, dword [esp + 0x1140]
add eax, 0xfffffff0
mov dword [esp + 0x1138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.00448c24
add esp, 0x1128
ret 4