Function at 0x43c963
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Get system information on windows
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468078
push 0x42c428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x5c], ebx
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x88], ebx
push 6
pop ecx
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xac], 0xe0000000
mov dword [ebp - 0xa8], 0x60000000
mov dword [ebp - 0xa4], 0xc0000000
mov dword [ebp - 0xa0], 0x40000000
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x28], 4
push 2
pop esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0xb0], eax
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
mov dword [ebp - 0x64], ecx
mov cx, word [eax + 6]
mov word [ebp - 0x38], cx
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x8c]
push ecx
push esi
push dword [eax + 0x54]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x43ca72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
jmp 0x43cbf6
mov dword [ebp - 0x6c], ebx
mov ax, word [ebp - 0x38]
cmp word [ebp - 0x6c], ax
jae 0x43cbf6
movzx eax, word [ebp - 0x6c]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x64]
lea esi, [ecx + eax*8]
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0xc4], ebx
test ebx, ebx
je 0x43cbe0
mov edi, dword [esi + 0xc]
add edi, dword [ebp + 8]
mov dword [ebp - 0xc0], edi
push dword [ebp - 0x60]
push edi
call fcn.0043cc51
mov dword [ebp - 0xbc], eax
mov esi, dword [esi + 0x24]
or esi, 0x40000000
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0xb4], ecx
test ecx, ecx
je 0x43caec
mov edx, esi
and edx, ecx
cmp ecx, edx
je 0x43caec
inc eax
jmp 0x43caca
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x90], eax
test esi, 0x4000000
je 0x43cb07
or ah, 2
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
push ecx
push eax
mov eax, ebx
xor edx, edx
div dword [ebp - 0x60]
imul eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0xbc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43ca64
cmp edi, ebx
je 0x43cbe0
push 0x1c
lea eax, [ebp - 0x88]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43ca64
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x90], edx
xor eax, eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x90], ecx
test ecx, ecx
je 0x43cb7a
mov edi, edx
and edi, ecx
cmp ecx, edi
je 0x43cb7a
inc eax
jmp 0x43cb5b
or esi, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp + eax*4 - 0xac]
mov dword [ebp - 0xb4], ecx
test ecx, ecx
je 0x43cba8
mov edx, esi
and edx, ecx
cmp ecx, edx
je 0x43cba8
inc eax
jmp 0x43cb86
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x90], eax
test esi, 0x4000000
je 0x43cbc3
or ah, 2
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
push ecx
push eax
push dword [ebp - 0x60]
sub ebx, dword [ebp - 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43ca64
inc dword [ebp - 0x6c]
jmp 0x43ca75
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8