Function at 0x1000a330
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005aaad
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.10036540
mov eax, dword [0x10070068]
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 0x1000a395
or esi, 0xffffffff
jmp 0x1000a5a3
xor ecx, ecx
test dword [ebp - 0x2220], 0xfffffffc
mov dword [ebp - 0x223c], ecx
jbe 0x1000a5a3
nop dword [eax]
mov eax, dword [ebp + ecx*4 - 0x1218]
test eax, eax
je 0x1000a58b
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 0x1000a585
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 0x1000a57e
xor ecx, ecx
test dword [ebp - 0x221c], 0xfffffffc
mov dword [ebp - 0x2248], ecx
jbe 0x1000a57e
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 0x1000a560
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 0x1000a470
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2238]
call fcn.10009320
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 0x1000a502
sub eax, esi
test esi, esi
jne 0x1000a4dc
xor eax, eax
jmp 0x1000a505
inc eax
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x224c], ecx
sub ecx, eax
sar ecx, 1
je 0x1000a502
movzx edx, word [edi]
cmp word [eax], dx
je 0x1000a5d1
add eax, 2
sub ecx, 1
jne 0x1000a4f1
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 0x1000a55a
mov edx, dword [ebp - 0x2254]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a550
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a646
push ecx
push edx
call fcn.10035423
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 0x1000a420
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 0x1000a3b0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x1000a629
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a61f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a646
jmp 0x1000a61f
test eax, eax
je 0x1000a502
mov edx, edi
test esi, esi
je 0x1000a5f8
mov edi, eax
sub edi, dword [ebp - 0x2240]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x1000a605
add edx, 2
sub esi, 1
jne 0x1000a5e7
sub eax, dword [ebp - 0x2250]
sar eax, 1
jmp 0x1000a505
mov edi, dword [ebp - 0x2240]
add eax, 2
mov esi, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x224c]
jmp 0x1000a4e8
push ecx
push edx
call fcn.10035423
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.10035415
mov esp, ebp
pop ebp
ret
call fcn.1003a33a
int3