Function at 0x4031b0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x41584c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
push esi
push 0
push 2
mov dword [esp + 0x104], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
jne 0x403203
xor al, al
pop esi
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
add esp, 0x2fc
ret
push ebx
lea eax, [esp + 0x100]
push edi
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
mov bl, 1
je 0x403439
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x110]
push ecx
push 0x41a138
push edx
call ebp
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0x2c]
push eax
push 0x41a138
push ecx
call ebp
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x58]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov ecx, dword [esp + 0x110]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x41a574]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x308], 0
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x310], bl
call fcn.00403ba0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 2
call fcn.00410b2c
mov byte [esp + 0x308], bl
lea ecx, [esp + 0x24]
call fcn.00410a83
mov eax, dword [esp + 0x110]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00403ad0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30c], 3
call fcn.00410b2c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x308], bl
call fcn.00410a83
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call fcn.00410c67
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x62]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
push eax
call fcn.00410c67
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x314]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x41a0a8]
push ecx
push edx
mov edx, dword [esp + 0x318]
push eax
lea ecx, [esp + 0x44]
push 0xce
push ecx
push edx
call fcn.004049c0
mov ecx, dword [esp + 0x30]
add esp, 0x18
lea eax, [esp + 0x108]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x308], 0
call fcn.00410a83
lea ecx, [esp + 0x10]
mov dword [esp + 0x308], 0xffffffff
call fcn.00410a83
test esi, esi
jne 0x403224
mov esi, dword [esp + 0x18]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x41a0a8]
mov ecx, 0x33
xor eax, eax
lea edi, [esp + 0x22e]
mov byte [esp + 0x22c], bl
mov byte [esp + 0x22d], bl
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x310]
push edx
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x314]
push ecx
lea edx, [esp + 0x238]
push 0xce
push edx
push eax
call fcn.004049c0
mov ecx, dword [esp + 0x314]
add esp, 0x18
mov al, bl
mov dword fs:[0], ecx
pop edi
pop ebx
pop esi
add esp, 0x2fc
ret