Function at 0x43afde
Capabilities:
Enumerate process modules
Read file via mapping

Disassembly:
push 0x78
mov eax, 0x48bbd6
call fcn.00454e33
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ecx
cmp eax, ebx
je 0x43b1de
cmp dword [ebp + 0xc], ebx
je 0x43b1de
mov edi, 0x3e8
push ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x30], edi
call fcn.0045471c
xor ecx, ecx
push 4
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00453559
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
push ecx
mov esi, 0xfa0
push esi
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x43b098
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
jb 0x43b0be
push dword [ebp - 0x3c]
add dword [ebp - 0x30], edi
add dword [ebp - 0x38], esi
call fcn.0045471c
mov eax, dword [ebp - 0x30]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00453559
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x43b04f
push dword [ebp - 0x3c]
call fcn.0045471c
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x43b1e3
and eax, 0xffff
or eax, 0x80070000
jmp 0x43b1e3
shr eax, 2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax], ebx
xor eax, eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x38], ebx
jbe 0x43b1da
mov ecx, dword [ebp - 0x3c]
push dword [ecx + eax*4]
lea eax, [ebp - 0x2c]
push eax
call fcn.0043a45e
pop ecx
pop ecx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
jae 0x43b0f7
lea eax, [ebp - 0x28]
push eax
push ebx
push 4
call fcn.0043a289
mov ecx, eax
add esp, 0xc
cmp ecx, ebx
jne 0x43b111
push ebx
push 1
jmp 0x43b1aa
lea eax, [ebp - 0x30]
call fcn.00436ac5
push ebx
push ebx
push ebx
push 4
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x43b139
lea eax, [ebp - 0x30]
call fcn.0043a338
jmp 0x43b109
push 0x1c
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x5c], 0x2048
jb 0x43b12f
lea esi, [ebp - 0x84]
call fcn.0043ab5c
lea ecx, [edi + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404940
test eax, eax
setne byte [ebp - 0x31]
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00401850
cmp byte [ebp - 0x31], bl
jne 0x43b1a0
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x44]
add dword [ebp - 0x44], 4
mov dword [ecx], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
inc dword [eax]
cmp dword [eax], ecx
je 0x43b1c8
lea eax, [ebp - 0x30]
call fcn.0043a338
push ebx
push esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401850
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x38]
jb 0x43b0d7
jmp 0x43b1da
lea eax, [ebp - 0x30]
call fcn.0043a338
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401850
xor eax, eax
jmp 0x43b1e3
mov eax, 0x80070057
call fcn.00454eb6
ret