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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ac8b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1238
call fcn.0041a4e0
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1244], edi
mov dword [ebp - 0x1224], 0
test edi, edi
je 0x407f28
lea eax, [ebp - 0x1234]
push eax
push 0x1000
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x407f20
xor ecx, ecx
test dword [ebp - 0x1234], 0xfffffffc
mov dword [ebp - 0x1230], ecx
jbe 0x407f20
lea edi, [ecx + 2]
nop dword [eax + eax]
push dword [ebp + ecx*4 - 0x1220]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1248], esi
test esi, esi
je 0x407f02
mov eax, dword [0x4234cc]
movups xmm0, xmmword [str._Unknown_]
push 0x1f4
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x220], xmm0
call fcn.0040b040
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x407d40
sub esi, ecx
xor ecx, ecx
sar esi, 1
mov dword [ebp - 0x1228], esi
lea eax, [esi + 1]
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409fe4
mov edi, eax
add esp, 4
mov dword [ebp - 0x122c], edi
test edi, edi
je 0x407da8
xor eax, eax
xor edx, edx
mov word [edi + esi*2], ax
test esi, esi
je 0x407db2
mov eax, edi
lea edi, [ebp - 0x220]
sub edi, eax
nop
mov cx, word [edi + eax]
lea eax, [eax + 2]
inc edx
mov word [eax - 2], cx
cmp edx, esi
jb 0x407d90
mov edi, dword [ebp - 0x122c]
jmp 0x407db2
mov dword [ebp - 0x1228], 0
mov dword [ebp - 4], 0
mov esi, 2
push 6
mov dword [ebp - 0x1240], 0
call fcn.00409fe4
add esp, 4
mov dword [ebp - 0x123c], eax
push 0xffffffffffffffff
push 0x4234a0
push 3
push eax
lea eax, [ebp - 0x1240]
push eax
call fcn.0040f0b2
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x123c]
cmovne esi, ecx
add esp, 0x10
lea ecx, [ebp - 0x122c]
mov dword [ebp - 0x1238], esi
push eax
call fcn.00406850
mov esi, eax
mov eax, dword [ebp - 0x123c]
test eax, eax
je 0x407e31
push 2
push eax
call fcn.00409c3a
add esp, 8
mov dword [ebp - 0x123c], 0
mov dword [ebp - 0x1238], 0
lea ecx, [ebp - 0x122c]
test esi, esi
jle 0x407e52
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
call fcn.004068d0
jmp 0x407e57
call fcn.00405df0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
test edi, edi
je 0x407e79
push 2
push edi
call fcn.00409c3a
add esp, 8
mov dword [ebp - 0x122c], 0
mov dword [ebp - 0x1228], 0
test esi, esi
je 0x407efd
mov ecx, dword [esi]
test ecx, ecx
je 0x407ed4
cmp dword [esi + 4], 0
jbe 0x407ed4
mov edi, dword [ebp - 0x1244]
mov eax, dword [edi]
test eax, eax
je 0x407ed4
cmp dword [edi + 4], 0
jbe 0x407ed4
push eax
push ecx
call fcn.0040d2f0
add esp, 8
test eax, eax
jne 0x407ed4
mov edi, dword [ebp - 0x1248]
mov ecx, edi
call fcn.00407b60
test eax, eax
je 0x407ed4
lea eax, [ebp - 0x1224]
push eax
push 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esi]
test eax, eax
je 0x407eeb
push 2
push eax
call fcn.00409c3a
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.00409c3a
add esp, 8
mov edi, 2
mov ecx, dword [ebp - 0x1230]
mov eax, dword [ebp - 0x1234]
inc ecx
shr eax, 2
mov dword [ebp - 0x1230], ecx
cmp ecx, eax
jb 0x407cd0
mov eax, dword [ebp - 0x1224]
jmp 0x407f2a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409891
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret