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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448450
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.00445a10
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x123c]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x427877
mov edi, dword [ebp - 0x123c]
xor esi, esi
shr edi, 2
mov dword [ebp - 0x1244], edi
mov dword [ebp - 0x1234], esi
test edi, edi
je 0x427877
mov eax, dword [ebp + esi*4 - 0x1218]
push eax
push 0
push 0x410
mov dword [ebp - 0x1248], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1238], eax
test eax, eax
je 0x427868
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x42785c
xorps xmm0, xmm0
mov dword [ebp - 0x1220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x121c], 0
movups xmmword [ebp - 0x1230], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427720
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1230]
call fcn.004063e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1230]
cmp dword [ebp - 0x121c], 7
lea esi, [ebp - 0x1230]
mov edi, dword [ebp - 0x1230]
mov edx, dword [ebp - 0x1220]
seta al
cmova ecx, edi
test al, al
je 0x42777c
mov esi, edi
lea edi, [edi + edx*2]
jmp 0x427785
lea edi, [esi + edx*2]
lea esi, [ebp - 0x1230]
cmp esi, edi
je 0x4277b5
sub ecx, esi
mov dword [ebp - 0x1240], ecx
movzx eax, word [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ecx, dword [ebp - 0x1240]
add esp, 4
mov word [ecx + esi], ax
add esi, 2
cmp esi, edi
jne 0x427791
mov edx, dword [ebp - 0x1220]
cmp dword [ebp - 0x121c], 7
lea ecx, [ebp - 0x1230]
push 0xc
cmova ecx, dword [ebp - 0x1230]
push 0x457520
push 0
call fcn.00408a00
add esp, 0xc
cmp eax, 0xffffffff
jne 0x427894
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x121c]
cmp ecx, 7
jbe 0x427833
mov edx, dword [ebp - 0x1230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427829
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4278d8
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov esi, dword [ebp - 0x1234]
xor eax, eax
mov edi, dword [ebp - 0x1244]
mov dword [ebp - 0x1220], 0
mov dword [ebp - 0x121c], 7
mov word [ebp - 0x1230], ax
push dword [ebp - 0x1238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
mov dword [ebp - 0x1234], esi
cmp esi, edi
jb 0x4276b1
xor eax, eax
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.00444aa0
mov esp, ebp
pop ebp
ret
push dword ds:[ebp - 0x1238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x121c]
cmp ecx, 7
jbe 0x4278e8
mov edx, dword [ebp - 0x1230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4278de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4278de
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov eax, dword [ebp - 0x1248]
jmp 0x427879