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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498c97
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4bd0c8]
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 0x41b36b
sub eax, 1
jne 0x41b36b
cmp byte [ebp - 0x439], al
je 0x41b2e3
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 0x41b1e4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00403bf0
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.0046e71e
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 0x41b2d2
xor edi, edi
test dword [ebp - 0x440], 0xfffffffc
jbe 0x41b2cc
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 0x41b2be
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x41b2b5
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00477597
add esp, 8
test eax, eax
je 0x41b2cc
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 0x41b260
mov edi, dword [ebp - 0x444]
push ebx
call fcn.0046e719
mov ebx, dword [ebp - 0x44c]
add esp, 4
jmp 0x41b2e5
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41b34d
mov edx, dword [ebp - 0x424]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x41b330
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b326
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b392
push edx
push ecx
call fcn.0046e37b
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 0x41b36b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x450], esi
mov edi, esi
mov dword [ebp - 0x444], esi
jmp 0x41b186
test edi, edi
je 0x41b376
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.0046e338
mov esp, ebp
pop ebp
ret
call fcn.00473144
int3