Function at 0x10048cf0
Capabilities:
Enumerate process modules

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 0x10056180
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1378
call fcn.10054d40
mov eax, dword [0x1008500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x136c], edx
mov dword [ebp - 0x1360], ecx
mov eax, dword [0x10086090]
cmp eax, dword [0x10086094]
jne 0x1004900b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [ebp - 0x1124]
push eax
push 0x1000
lea eax, [ebp - 0x1120]
mov dword [ebp - 0x1364], edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x10049005
xor esi, esi
test dword [ebp - 0x1124], 0xfffffffc
mov dword [ebp - 0x1368], esi
jbe 0x10049005
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [ebp + esi*4 - 0x1120]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10048fed
push 0xc
lea eax, [ebp - 0x135c]
mov dword [ebp - 0x1354], 0
push eax
push dword [ebp + esi*4 - 0x1120]
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x135c], xmm0
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x10048fed
push 0x210
lea eax, [ebp - 0x1350]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x112c], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1128], 0
add esp, 0xc
lea edx, [ecx + 1]
movups xmmword [ebp - 0x113c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048e32
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x113c]
call fcn.10005760
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x113c]
call fcn.10049110
mov ecx, dword [ebp - 0x112c]
xorps xmm0, xmm0
mov edx, ecx
mov dword [ebp - 0x1374], 0
sub edx, eax
mov dword [ebp - 0x1370], 0
lea edi, [eax + 1]
movups xmmword [ebp - 0x1384], xmm0
cmp ecx, edi
jb 0x1004909a
sub ecx, edi
lea eax, [ebp - 0x113c]
cmp ecx, edx
cmovb edx, ecx
cmp dword [ebp - 0x1128], 0x10
push edx
cmovae eax, dword [ebp - 0x113c]
lea ecx, [ebp - 0x1384]
add eax, edi
push eax
call fcn.10005760
lea eax, [ebp - 0x1384]
push eax
lea ecx, [ebp - 0x113c]
call fcn.1000c0f0
mov ecx, dword [ebp - 0x1370]
cmp ecx, 0x10
jb 0x10048f0c
mov edx, dword [ebp - 0x1384]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048f02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049044
push ecx
push edx
call fcn.10054077
add esp, 8
cmp dword [ebp - 0x1128], 0x10
lea eax, [ebp - 0x113c]
cmovae eax, dword [ebp - 0x113c]
push eax
push 0x10078dd0
lea eax, [ebp - 0x1350]
push 0x104
push eax
call fcn.10005cc0
mov eax, dword [ebp - 0x135c]
mov dword [ebp - 0x124c], eax
mov eax, dword [ebp - 0x1358]
mov dword [ebp - 0x1248], eax
lea eax, [ebp - 0x120]
push eax
push 0x10078dd0
lea eax, [ebp - 0x1244]
push 0x104
push eax
call fcn.10005cc0
mov eax, dword [0x10086094]
add esp, 0x20
cmp eax, dword [0x10086098]
je 0x10048f9d
mov ecx, 0x84
lea esi, [ebp - 0x1350]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [0x10086094], 0x210
mov esi, dword [ebp - 0x1368]
jmp 0x10048faa
lea ecx, [ebp - 0x1350]
push ecx
push eax
call fcn.100491c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1128]
cmp ecx, 0x10
jb 0x10048fe7
mov edx, dword [ebp - 0x113c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048fdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049044
push ecx
push edx
call fcn.10054077
add esp, 8
mov edi, dword [ebp - 0x1364]
mov eax, dword [ebp - 0x1124]
inc esi
shr eax, 2
mov dword [ebp - 0x1368], esi
cmp esi, eax
jb 0x10048da0
mov ecx, dword [ebp - 0x1360]
mov esi, dword [0x10086090]
mov edi, dword [0x10086094]
cmp esi, edi
je 0x10049063
nop dword [eax + eax]
mov eax, ecx
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1004904a
test dl, dl
je 0x10049040
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1004904a
add ecx, 2
add eax, 2
test dl, dl
jne 0x10049024
xor eax, eax
jmp 0x1004904f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sbb eax, eax
or eax, 1
test eax, eax
je 0x10049083
mov ecx, dword [ebp - 0x1360]
add esi, 0x210
cmp esi, edi
jne 0x10049020
xor al, al
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.10053c04
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x136c]
test eax, eax
je 0x10049096
mov ecx, 0x84
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov al, 1
jmp 0x10049065
call fcn.1000c730
int3