Function at 0x1000d080
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c63d
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.10037d00
mov eax, dword [0x10073068]
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 - 0x2220]
mov dword [ebp - 4], 0
push eax
push 0x1000
lea eax, [ebp - 0x1218]
xor esi, esi
push eax
mov dword [ebp - 0x2244], esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x1000d0e5
or esi, 0xffffffff
jmp 0x1000d2f3
xor ecx, ecx
test dword [ebp - 0x2220], 0xfffffffc
mov dword [ebp - 0x223c], ecx
jbe 0x1000d2f3
nop dword [eax]
mov eax, dword [ebp + ecx*4 - 0x1218]
test eax, eax
je 0x1000d2db
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x2258], edi
test edi, edi
je 0x1000d2d5
lea eax, [ebp - 0x221c]
push eax
push 0x1000
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1000d2ce
xor ecx, ecx
test dword [ebp - 0x221c], 0xfffffffc
mov dword [ebp - 0x2248], ecx
jbe 0x1000d2ce
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp + ecx*4 - 0x2218]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1000d2b0
xorps xmm0, xmm0
mov dword [ebp - 0x2228], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x2224], 0
movups xmmword [ebp - 0x2238], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d1c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2238]
call fcn.1000b7f0
cmp dword [ebp - 0x2224], 8
lea edi, [ebp - 0x2238]
mov eax, dword [ebp - 0x2238]
lea edx, [ebp + 8]
mov esi, dword [ebp - 0x2228]
cmovae edi, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x2254], eax
cmovae edx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2240], edi
mov dword [ebp - 0x2250], edx
cmp esi, eax
ja 0x1000d252
sub eax, esi
test esi, esi
jne 0x1000d22c
xor eax, eax
jmp 0x1000d255
inc eax
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x224c], ecx
sub ecx, eax
sar ecx, 1
je 0x1000d252
movzx edx, word [edi]
cmp word [eax], dx
je 0x1000d321
add eax, 2
sub ecx, 1
jne 0x1000d241
or eax, 0xffffffff
mov edx, dword [ebp - 0x2244]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x2224]
lea esi, [edx + 1]
cmove esi, edx
mov dword [ebp - 0x2244], esi
cmp eax, 8
jb 0x1000d2aa
mov edx, dword [ebp - 0x2254]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d2a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d396
push ecx
push edx
call fcn.10036bea
add esp, 8
mov edi, dword [ebp - 0x2258]
mov ecx, dword [ebp - 0x2248]
mov eax, dword [ebp - 0x221c]
inc ecx
shr eax, 2
mov dword [ebp - 0x2248], ecx
cmp ecx, eax
jl 0x1000d170
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x223c]
mov eax, dword [ebp - 0x2220]
inc ecx
shr eax, 2
mov dword [ebp - 0x223c], ecx
cmp ecx, eax
jl 0x1000d100
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x1000d379
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d36f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d396
jmp 0x1000d36f
test eax, eax
je 0x1000d252
mov edx, edi
test esi, esi
je 0x1000d348
mov edi, eax
sub edi, dword [ebp - 0x2240]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x1000d355
add edx, 2
sub esi, 1
jne 0x1000d337
sub eax, dword [ebp - 0x2250]
sar eax, 1
jmp 0x1000d255
mov edi, dword [ebp - 0x2240]
add eax, 2
mov esi, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x224c]
jmp 0x1000d238
push ecx
push edx
call fcn.10036bea
add esp, 8
mov eax, esi
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.10036bdc
mov esp, ebp
pop ebp
ret
call fcn.1003da55
int3