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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e617
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x448], edi
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
mov dword [ebp - 0x440], esi
push edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
mov dword [ebp - 0x44c], eax
nop dword [eax + eax]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x454]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x41d2a2
sub eax, 1
jne 0x41d2a2
cmp dword [ebp - 0x44c], eax
jbe 0x41d209
xorps xmm0, xmm0
mov dword [ebp - 0x428], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x424], eax
movups xmmword [ebp - 0x438], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d100
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00404400
mov dword [ebp - 4], 0
or esi, 1
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
xor esi, esi
push 0x2000
mov dword [ebp - 0x444], esi
call fcn.00471fe3
add esp, 4
mov dword [ebp - 0x440], eax
lea ecx, [ebp - 0x444]
push ecx
push 0x2000
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x41d1f9
xor edi, edi
test dword [ebp - 0x444], 0xfffffffc
jbe 0x41d1f3
nop dword [eax]
mov eax, dword [ebp - 0x440]
mov eax, dword [eax + edi*4]
push eax
push 0
push 0x101000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41d1e5
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x41d1dc
cmp dword [ebp - 0x424], 7
lea eax, [ebp - 0x438]
cmova eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0047d338
add esp, 8
test eax, eax
je 0x41d1f3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x444]
inc edi
shr eax, 2
cmp edi, eax
jb 0x41d180
mov edi, dword [ebp - 0x448]
push dword [ebp - 0x440]
call fcn.00471fde
add esp, 4
jmp 0x41d20b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x43c]
test al, 1
je 0x41d27e
mov ecx, dword [ebp - 0x424]
and eax, 0xfffffffe
mov dword [ebp - 0x43c], eax
cmp ecx, 7
jbe 0x41d261
mov edx, dword [ebp - 0x438]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d257
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2c8
push ecx
push edx
call fcn.00471b8b
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 0x41d2a2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x450], esi
mov edi, esi
mov dword [ebp - 0x448], esi
mov esi, dword [ebp - 0x43c]
jmp 0x41d0b0
test edi, edi
je 0x41d2ad
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
call fcn.00477334
int3