Function at 0x4101f0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x44a4f6
mov eax, dword fs:[0]
push eax
mov eax, 0x1188
call fcn.00437410
mov eax, dword [0x45e520]
xor eax, esp
mov dword [esp + 0x1180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e520]
xor eax, esp
push eax
lea eax, [esp + 0x119c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11ac]
mov ecx, dword [str.UnknownProcess]
mov edx, dword [0x45355c]
mov dword [esp + 0x30], eax
mov eax, dword [0x453560]
xor ebx, ebx
push 0xf5
mov dword [esp + 0x1098], eax
mov dword [esp + 0x1090], ecx
mov cx, word [0x453564]
mov dword [esp + 0x1094], edx
mov dl, byte [0x453566]
lea eax, [esp + 0x109f]
push ebx
push eax
xor esi, esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x10a4], cx
mov byte [esp + 0x10a6], dl
call fcn.00436440
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x1000
lea edx, [esp + 0x74]
push edx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x410542
mov eax, dword [esp + 0x20]
shr eax, 2
mov dword [esp + 0x2c], eax
mov eax, ebx
mov dword [esp + 0x1c], eax
je 0x41053b
lea ecx, [ecx]
mov eax, dword [esp + eax*4 + 0x6c]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x410522
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x410522
mov ecx, dword [esp + 0x24]
push 0x104
lea eax, [esp + 0x1090]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
lea eax, [esp + 0x108c]
mov dword [esp + 0x1088], 0xf
mov dword [esp + 0x1084], ebx
mov byte [esp + 0x1074], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410344
sub eax, edx
push eax
lea edx, [esp + 0x1090]
push edx
lea ecx, [esp + 0x1078]
call fcn.004024f0
mov dword [esp + 0x11a4], ebx
mov ecx, dword [esp + 0x1088]
cmp ecx, 0x10
mov edx, dword [esp + 0x1074]
jb 0x41056c
cmp edx, ebx
mov esi, edx
mov dword [esp + 0x18], esi
je 0x4103b9
cmp ecx, 0x10
mov eax, edx
jae 0x41039a
lea eax, [esp + 0x1074]
cmp eax, esi
ja 0x4103b9
cmp ecx, 0x10
mov eax, edx
jae 0x4103ac
lea eax, [esp + 0x1074]
mov ebp, dword [esp + 0x1084]
add eax, ebp
cmp esi, eax
jbe 0x4103d3
call fcn.00432c1e
mov ecx, dword [esp + 0x1088]
mov ebp, dword [esp + 0x1084]
mov edx, dword [esp + 0x1074]
cmp ecx, 0x10
mov eax, edx
jae 0x4103e1
lea eax, [esp + 0x1074]
lea edi, [eax + ebp]
cmp edi, ebx
je 0x41040e
cmp ecx, 0x10
mov eax, edx
jae 0x4103f6
lea eax, [esp + 0x1074]
cmp eax, edi
ja 0x41040e
cmp ecx, 0x10
mov eax, edx
jae 0x410408
lea eax, [esp + 0x1074]
add eax, ebp
cmp edi, eax
jbe 0x410428
call fcn.00432c1e
mov ecx, dword [esp + 0x1088]
mov ebp, dword [esp + 0x1084]
mov edx, dword [esp + 0x1074]
cmp ecx, 0x10
jb 0x41057e
cmp edx, ebx
mov esi, edx
je 0x41045d
cmp ecx, 0x10
mov eax, edx
jae 0x410445
lea eax, [esp + 0x1074]
cmp eax, esi
ja 0x41045d
cmp ecx, 0x10
mov eax, edx
jae 0x410457
lea eax, [esp + 0x1074]
add eax, ebp
cmp esi, eax
jbe 0x410462
call fcn.00432c1e
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [esp + 0x1074]
push eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x3c], bl
mov edx, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x68]
push edi
push ecx
mov eax, esi
call fcn.00412f70
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1078]
mov esi, 0xf
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00402280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + eax*4 + 0x6c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x11b0], 1
call fcn.00410e20
mov edi, 0x10
cmp dword [esp + 0x50], edi
jb 0x4104f2
mov edx, dword [esp + 0x3c]
push edx
call fcn.00416c01
add esp, 4
mov dword [esp + 0x11a4], 0xffffffff
cmp dword [esp + 0x1088], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x410522
mov eax, dword [esp + 0x1074]
push eax
call fcn.00416c01
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jb 0x4102d0
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x119c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1180]
xor ecx, esp
call fcn.004322f2
add esp, 0x1194
ret 4
lea eax, [esp + 0x1074]
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x41038c
lea esi, [esp + 0x1074]
jmp 0x410437