Function at 0x1000a240
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 0x100778fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x100a900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x1000a60a
push 0x208
lea eax, [ebp - 0x224]
mov dword [ebp - 0x240], 0x224
push 0
push eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1000a601
nop
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x260], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a337
sub ecx, edx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.10026940
lea eax, [ebp - 0x260]
mov ecx, 0x100cacd8
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.100261f0
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x1000a38f
add eax, 0x10
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10027090
mov byte [ebp - 0x241], 0
test al, al
je 0x1000a396
mov byte [ebp - 0x241], 1
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0x10
jb 0x1000a3d0
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a3c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a5fb
push ecx
push edx
call fcn.1007516e
add esp, 8
cmp byte [ebp - 0x241], 0
je 0x1000a5e2
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x260], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a404
sub eax, edx
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10026940
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.100236c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0x10
jb 0x1000a47b
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a5fb
push ecx
push edx
call fcn.1007516e
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x280], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a4a2
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.10026940
lea edx, [ebp - 0x280]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2b5]
call fcn.1000a190
mov edx, dword [ebp - 0x22c]
mov edi, eax
mov eax, dword [ebp - 0x228]
mov esi, dword [0x100b04e8]
add eax, edx
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x264], edx
cmp esi, dword [0x100b04ec]
je 0x1000a568
mov byte [ebp - 4], 2
lea ecx, [esi + 8]
mov dword [esi], edx
xorps xmm0, xmm0
mov dword [esi + 4], eax
lea edx, [ebp - 0x220]
movups xmmword [ecx], xmm0
lea eax, [edx + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x248], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1000a530
sub edx, dword [ebp - 0x248]
lea eax, [ebp - 0x220]
push edx
push eax
call fcn.10026940
movups xmm0, xmmword [edi]
mov al, byte [edi + 0x20]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x30], xmm1
mov byte [esi + 0x40], al
add dword [0x100b04e8], 0x44
jmp 0x1000a584
push edi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x264]
push eax
push esi
call fcn.10029f70
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x26c]
cmp ecx, 0x10
jb 0x1000a5c1
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a5b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a5fb
push ecx
push edx
call fcn.1007516e
add esp, 8
mov esi, dword [ebp - 0x268]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1000a310
push esi
jmp 0x1000a612
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
jmp 0x1000a612
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.1007491a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret