Function at 0x4026b0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x410ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [str._unknown_]
mov ecx, dword [0x4144e0]
mov dx, word [0x4144e4]
push ebp
push esi
push edi
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x162]
mov word [esp + 0x160], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x26c]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], esi
je 0x402759
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push 4
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x402b84
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x158]
push 0x104
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
or ebp, 0xffffffff
lea edi, [esp + 0x158]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
call fcn.004079fa
lea edx, [esp + 0x58]
push edx
call fcn.00402610
add esp, 8
test eax, eax
jne 0x402b84
lea edi, [esp + 0x54]
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
test ecx, ecx
jle 0x402b84
mov al, 0x5c
cmp byte [esp + ecx + 0x54], al
je 0x4027c9
dec ecx
test ecx, ecx
jg 0x4027b9
jmp 0x402b84
test ecx, ecx
jle 0x402b84
mov byte [esp + ecx + 0x55], 0
lea edi, [esp + 0x54]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402b84
lea edi, [esp + 0x158]
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402b84
cmp byte [esp + 0x55], 0x3a
jne 0x402b84
mov al, byte [esp + 0xf]
push ebx
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00404fb0
lea edi, [esp + 0x58]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405480
mov esi, dword [0x447e94]
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, 0x447e90
mov dword [esp + 0x270], 0
call fcn.00405110
mov edx, dword [eax]
push 1
cmp edx, esi
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x26c], ebp
call fcn.00404fb0
test bl, bl
je 0x40297c
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00404fb0
lea edi, [esp + 0x58]
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00405480
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x270], 1
mov dword [esp + 0x2c], 0
call fcn.004051a0
lea edx, [esp + 0x28]
push eax
push edx
mov ecx, 0x447e90
mov byte [esp + 0x270], 2
call fcn.00405000
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x26c], 1
call fcn.00404fb0
push 1
lea ecx, [esp + 0x18]
mov dword [esi + 0x1c], 1
mov dword [esp + 0x26c], ebp
call fcn.00404fb0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00404fb0
lea edi, [esp + 0x58]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405480
mov eax, dword [0x447ec8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, 0x447ec0
mov dword [esp + 0x274], 3
call fcn.00405660
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x26c], ebp
call fcn.00404fb0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00404fb0
lea edi, [esp + 0x15c]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405480
mov esi, dword [0x447e84]
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, 0x447e80
mov dword [esp + 0x270], 4
call fcn.00405110
mov edx, dword [eax]
push 1
cmp edx, esi
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x26c], ebp
call fcn.00404fb0
test bl, bl
je 0x402b5e
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00404fb0
lea edi, [esp + 0x15c]
mov ecx, ebp
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.00405540
test al, al
je 0x402a51
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x15c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00405520
lea eax, [esp + 0x14]
mov ebx, 5
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x26c], ebx
call fcn.00404a70
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, 0x447e80
mov byte [esp + 0x270], 6
call fcn.00405000
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x26c], bl
call fcn.00404fb0
push 1
lea ecx, [esp + 0x18]
mov dword [esi + 0x1c], 1
mov dword [esp + 0x26c], ebp
call fcn.00404fb0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], al
call fcn.00404fb0
lea edi, [esp + 0x15c]
mov ecx, ebp
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x38]
push ebp
call fcn.00405540
test al, al
je 0x402b16
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x15c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00405520
mov ecx, dword [0x447eb8]
lea eax, [esp + 0x34]
push eax
push 1
push ecx
mov ecx, 0x447eb0
mov dword [esp + 0x274], 7
call fcn.00405660
mov eax, dword [esp + 0x38]
test eax, eax
je 0x402b5e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x402b55
cmp al, 0xff
je 0x402b55
dec al
mov byte [ecx], al
jmp 0x402b5e
push ecx
call fcn.00406b20
add esp, 4
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x58]
push edx
push eax
push str._s___PID:__u__n
call fcn.00407af0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x25c
ret