Function at 0x410970
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x4439fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1244
call fcn.00432810
mov eax, dword [0x453140]
xor eax, esp
mov dword [esp + 0x1240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453140]
xor eax, esp
push eax
lea eax, [esp + 0x1258]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov ebp, ecx
push 0x1000
lea ecx, [esp + 0x54]
xor ebx, ebx
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], ebx
call sub.PSAPI.DLL_EnumProcesses
cmp dword [esp + 0x18], ebx
je 0x410bf9
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
add ebp, 0x34
cmp ebp, ebp
mov esi, dword [ebp + 4]
je 0x4109ed
call fcn.00431cf0
cmp edi, esi
je 0x410a39
cmp edi, dword [ebp + 4]
jne 0x4109fb
call fcn.00431cf0
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x410a2b
cmp dword [esi + 0x1c], 8
jb 0x410a14
mov edx, dword [esi + 8]
push edx
call fcn.004317a4
add esp, 4
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], ebx
push esi
mov word [esi + 8], bx
call fcn.004317a4
add esp, 4
cmp edi, dword [ebp + 4]
jne 0x410a35
call fcn.00431cf0
mov edi, dword [edi]
jmp 0x4109e1
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
je 0x410a62
mov edi, edi
mov esi, dword [eax]
push eax
call fcn.004317a4
add esp, 4
cmp esi, dword [ebp + 4]
mov eax, esi
jne 0x410a50
mov esi, dword [esp + 0x18]
mov eax, dword [0x448474]
mov cx, word [0x448478]
push 0x202
lea edx, [esp + 0x1056]
push ebx
shr esi, 2
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1058], eax
mov word [esp + 0x105c], cx
call fcn.00431940
xor edi, edi
add esp, 0xc
cmp esi, ebx
mov dword [esp + 0x1c], edi
jle 0x410bf9
lea esp, [esp]
lea eax, [esp + edi*4 + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x410be8
push 0x104
lea ecx, [esp + 0x1050]
push ecx
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
push esi
setne byte [esp + 0x1b]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x17], bl
je 0x410be8
push 0x20
call fcn.00431acd
add esp, 4
cmp eax, ebx
je 0x410b1d
mov dword [eax + 0x1c], 7
mov dword [eax + 0x18], ebx
mov word [eax + 8], bx
mov esi, eax
jmp 0x410b1f
xor esi, esi
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push 1
mov dword [esi], eax
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0x106c]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esp
mov word [ecx + 4], bx
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x410b50
sub eax, edi
sar eax, 1
push eax
lea edx, [esp + 0x1070]
push edx
call fcn.00401cc0
lea eax, [esp + 0x50]
push eax
call fcn.0040c840
add esp, 0x24
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x126c], ebx
call fcn.00401bd0
cmp dword [esp + 0x48], 8
mov dword [esp + 0x1260], 0xffffffff
jb 0x410bac
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004317a4
add esp, 4
mov esi, dword [ebp + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00403ea0
push 1
mov ecx, ebp
mov edi, eax
call fcn.004078e0
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
mov edi, dword [esp + 0x1c]
add edi, 1
cmp edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
jl 0x410ab0
mov edx, dword [esp + 0x1268]
mov ecx, dword [esp + 0x2c]
push edx
call fcn.0040cdb0
mov ecx, dword [esp + 0x1258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1240]
xor ecx, esp
call fcn.004320c7
add esp, 0x1250
ret 4