Function at 0x401c30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c56d
mov eax, dword fs:[0]
push eax
mov eax, 0x1280
call fcn.0042cfd0
mov eax, dword [0x460114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1270]
push eax
push 0x1000
lea ecx, [ebp - 0x1218]
push ecx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x401c83
xor al, al
jmp 0x401f06
lea ecx, [ebp - 0x1255]
call fcn.004072a0
mov dword [ebp - 0x1264], eax
lea edx, [ebp - 0x1284]
push edx
mov ecx, dword [ebp + 8]
call fcn.00411570
mov eax, dword [eax]
mov dword [ebp - 0x125c], eax
mov ecx, dword [ebp - 0x125c]
mov dword [ebp - 0x1268], ecx
lea edx, [ebp - 0x1288]
push edx
mov ecx, dword [ebp + 8]
call fcn.004103e0
mov eax, dword [eax]
mov dword [ebp - 0x1260], eax
mov ecx, dword [ebp - 0x1260]
mov dword [ebp - 0x126c], ecx
mov edx, dword [ebp - 0x1264]
push edx
mov eax, dword [ebp - 0x1268]
push eax
mov ecx, dword [ebp - 0x126c]
push ecx
lea ecx, [ebp - 0x1248]
call fcn.00402e90
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1270]
shr edx, 2
mov dword [ebp - 0x1274], edx
mov dword [ebp - 0x1250], 0
jmp 0x401d2b
mov eax, dword [ebp - 0x1250]
add eax, 1
mov dword [ebp - 0x1250], eax
mov ecx, dword [ebp - 0x1250]
cmp ecx, dword [ebp - 0x1274]
jae 0x401ee7
mov edx, dword [ebp - 0x1250]
cmp dword [ebp + edx*4 - 0x1218], 0
je 0x401ee2
mov eax, dword [str._unknown_]
mov dword [ebp - 0x218], eax
mov ecx, dword [0x450344]
mov dword [ebp - 0x214], ecx
mov edx, dword [0x450348]
mov dword [ebp - 0x210], edx
mov eax, dword [0x45034c]
mov dword [ebp - 0x20c], eax
mov ecx, dword [0x450350]
mov dword [ebp - 0x208], ecx
push 0x1f4
push 0
lea edx, [ebp - 0x204]
push edx
call fcn.0042e200
add esp, 0xc
mov eax, dword [ebp - 0x1250]
mov ecx, dword [ebp + eax*4 - 0x1218]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1254], eax
cmp dword [ebp - 0x1254], 0
je 0x401e2e
mov edx, dword [ebp - 0x1254]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
mov eax, dword [0x462468]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp esi, eax
jne 0x401def
jmp 0x401d1c
lea ecx, [ebp - 0x128c]
push ecx
push 4
lea edx, [ebp - 0x1278]
push edx
mov eax, dword [ebp - 0x1254]
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x401e2e
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x1278]
push edx
mov eax, dword [ebp - 0x1254]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
mov ecx, dword [ebp - 0x1254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x1230]
call fcn.00407cd0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1230]
push eax
call fcn.00401ba0
add esp, 4
mov ecx, eax
call fcn.004104a0
mov dword [ebp - 0x127c], eax
lea ecx, [ebp - 0x1248]
push ecx
call fcn.00401ba0
add esp, 4
mov ecx, eax
call fcn.004104a0
mov dword [ebp - 0x1280], eax
mov edx, dword [ebp - 0x127c]
push edx
mov eax, dword [ebp - 0x1280]
push eax
call fcn.00431d3b
add esp, 8
test eax, eax
jne 0x401ed3
mov byte [ebp - 0x1249], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1230]
call fcn.00409a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1248]
call fcn.00409a50
mov al, byte [ebp - 0x1249]
jmp 0x401f06
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1230]
call fcn.00409a50
jmp 0x401d1c
mov byte [ebp - 0x124a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1248]
call fcn.00409a50
mov al, byte [ebp - 0x124a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ce06
mov esp, ebp
pop ebp
ret