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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497737
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4bb0c8]
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 0x41af8b
sub eax, 1
jne 0x41af8b
cmp byte [ebp - 0x439], al
je 0x41af03
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 0x41ae04
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00403b80
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.0046d25f
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 0x41aef2
xor edi, edi
test dword [ebp - 0x440], 0xfffffffc
jbe 0x41aeec
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 0x41aede
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x41aed5
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00476097
add esp, 8
test eax, eax
je 0x41aeec
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 0x41ae80
mov edi, dword [ebp - 0x444]
push ebx
call fcn.0046d25a
mov ebx, dword [ebp - 0x44c]
add esp, 4
jmp 0x41af05
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41af6d
mov edx, dword [ebp - 0x424]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x41af50
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41af46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41afb2
push edx
push ecx
call fcn.0046cebb
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 0x41af8b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x450], esi
mov edi, esi
mov dword [ebp - 0x444], esi
jmp 0x41ada6
test edi, edi
je 0x41af96
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.0046ce78
mov esp, ebp
pop ebp
ret
call fcn.00471c84
int3