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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495b87
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4b80c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x444], edi
push 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push eax
mov dword [ebp - 0x448], ebx
push edi
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
setne byte [ebp - 0x439]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x454]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x41967b
sub eax, 1
jne 0x41967b
cmp byte [ebp - 0x439], al
je 0x4195f3
mov dword [ebp - 0x438], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 7
lea edx, [ecx + 2]
mov word [ebp - 0x438], ax
mov dword [ebp - 4], 0xffffffff
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4194f4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00403a20
mov dword [ebp - 4], 1
or ebx, 1
xor esi, esi
mov dword [ebp - 0x44c], ebx
push 0x2000
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x440], esi
call fcn.0046b80e
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x440]
push eax
push 0x2000
push ebx
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4195e2
xor edi, edi
test dword [ebp - 0x440], 0xfffffffc
jbe 0x4195dc
nop dword [eax]
push dword [ebx + edi*4]
push 0
push 0x101000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4195ce
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x4195c5
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00474657
add esp, 8
test eax, eax
je 0x4195dc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x440]
inc edi
shr eax, 2
cmp edi, eax
jb 0x419570
mov edi, dword [ebp - 0x444]
push ebx
call fcn.0046b809
mov ebx, dword [ebp - 0x44c]
add esp, 4
jmp 0x4195f5
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41965d
mov edx, dword [ebp - 0x424]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x419640
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419636
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4196a2
push edx
push ecx
call fcn.0046b46b
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
test esi, esi
je 0x41967b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x450], esi
mov edi, esi
mov dword [ebp - 0x444], esi
jmp 0x419496
test edi, edi
je 0x419686
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b428
mov esp, ebp
pop ebp
ret
call fcn.00470244
int3