Function at 0x100141a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x268
mov eax, dword [0x100d9140]
xor eax, esp
mov dword [esp + 0x264], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], esi
push ecx
push 0
push 0
push eax
mov dword [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x10014652
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1001466a
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1001464b
mov edi, dword [esp + 0x5c]
xor ecx, ecx
shr edi, 2
mov edx, 0x2c
mov eax, edi
mov dword [esi], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.100354b2
add esp, 4
lea esi, [eax + 4]
mov dword [eax], edi
push 0x100146d0
push 0x100146a0
push edi
push 0x2c
push esi
call fcn.100354bb
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x60]
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x100145d6
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esi], eax
jbe 0x100145d6
xor edi, edi
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x28]
push 0xc
mov eax, dword [edx + eax*4]
mov dword [edi + ecx], eax
lea eax, [edi + 8]
mov ecx, dword [esi + 4]
add eax, ecx
push eax
push dword [ecx + edi]
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
jne 0x100142d1
mov edx, str.GetModuleInformation_failed.
mov ecx, 0x100dd4e8
call fcn.10022e20
push eax
call fcn.10023220
add esp, 4
mov edx, dword [esi + 4]
push 0x104
mov ecx, dword [edx + edi + 0xc]
mov eax, dword [edx + edi]
shr ecx, 2
lea eax, [eax + ecx*4]
mov dword [edx + edi + 4], eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esi + 4]
push dword [eax + edi]
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1001462e
add edi, 0x14
add edi, dword [esi + 4]
lea esi, [esp + 0x60]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10014314
mov edx, dword [edi + 0x14]
sub esi, ecx
sar esi, 1
mov dword [esp + 0x20], edx
cmp esi, edx
ja 0x10014362
mov dword [esp + 0x14], edi
mov eax, edi
cmp edx, 7
jbe 0x1001433f
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov dword [edi + 0x10], esi
lea ecx, [esp + 0x60]
add esi, esi
push esi
push ecx
push eax
call fcn.100368a0
mov eax, dword [esp + 0x20]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x10014427
cmp esi, 0x7ffffffe
ja 0x1001468c
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x10014382
mov ecx, 0x7ffffffe
jmp 0x100143a9
mov eax, edx
shr eax, 1
mov dword [esp + 0x14], eax
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x14]
cmp edx, eax
jbe 0x1001439e
mov ecx, 0x7ffffffe
jmp 0x100143a9
mov eax, dword [esp + 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push edi
call fcn.1002a2b0
mov ecx, eax
mov dword [edi + 0x10], esi
mov eax, dword [esp + 0x1c]
add esi, esi
mov dword [edi + 0x14], eax
lea eax, [esp + 0x68]
push esi
push eax
push ecx
mov dword [esp + 0x30], ecx
call fcn.100368a0
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x14
mov word [ecx + esi], ax
mov eax, dword [esp + 0x20]
cmp eax, 7
jbe 0x10014425
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x10014413
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014682
mov eax, edx
push ecx
push eax
call fcn.100353ec
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [edi], eax
jmp 0x10014427
mov dword [edi], ecx
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
lea edx, [edi + 0x14]
add edx, dword [esi + 4]
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x10014440
mov edx, dword [edx]
test eax, eax
je 0x1001446a
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x10014464
cmp eax, edx
je 0x1001446a
sub eax, 2
cmp word [eax], 0x5c
jne 0x10014457
sub eax, edx
sar eax, 1
jmp 0x1001446d
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x100145be
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
add ecx, 0x14
xorps xmm0, xmm0
add ecx, edi
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [ecx + 0x10]
cmp eax, edx
jb 0x10014687
sub eax, edx
or esi, 0xffffffff
cmp eax, 0xffffffff
cmovb esi, eax
cmp dword [ecx + 0x14], 7
jbe 0x100144a7
mov ecx, dword [ecx]
lea eax, [ecx + edx*2]
mov dword [esp + 0x20], eax
cmp esi, 0x7ffffffe
ja 0x1001468c
cmp esi, 7
ja 0x100144e9
mov dword [esp + 0x40], esi
add esi, esi
push esi
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x4c], 7
push eax
call fcn.100368a0
add esp, 0xc
xor eax, eax
mov word [esp + esi + 0x30], ax
mov edi, dword [esp + 0x30]
jmp 0x10014542
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x100144fc
mov eax, 0x7ffffffe
jmp 0x10014507
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1002a2b0
mov dword [esp + 0x48], esi
mov edi, eax
mov eax, dword [esp + 0x24]
add esi, esi
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x40], edi
push edi
mov dword [esp + 0x58], eax
call fcn.100368a0
add esp, 0x14
xor eax, eax
mov word [edi + esi], ax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add esi, 0x14
add esi, dword [eax + 4]
lea eax, [esp + 0x30]
cmp esi, eax
je 0x100145f8
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x10014595
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1001458b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014682
mov eax, edx
push ecx
push eax
call fcn.100353ec
add esp, 8
movups xmm0, xmmword [esp + 0x30]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [esi + 0x10], xmm0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add edi, 0x2c
inc eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jb 0x10014290
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.10034fda
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x100145b6
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10014622
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014682
push ecx
push edi
call fcn.100353ec
add esp, 8
jmp 0x100145b6
mov edx, str.GetModuleFileNameEx_failed.
mov ecx, 0x100dd4e8
call fcn.10022e20
push eax
call fcn.10023220
add esp, 4
jmp 0x100145be
mov edx, str.LocalAlloc_failed.
jmp 0x10014657
mov edx, str.EnumProcessModules_failed.
mov ecx, 0x100dd4e8
call fcn.10022e20
push eax
call fcn.10023220
add esp, 4
mov ecx, dword [esp + 0x26c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10034fda
mov esp, ebp
pop ebp
ret 4
call fcn.10039fdf
call fcn.10022120
call fcn.1000d380
int3