Function at 0x42b704
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
sub esp, 0x820
push ebx
push ebp
push esi
push edi
xor eax, eax
mov word [esp + 0x30], ax
push 0x400
xor edi, edi
lea eax, [esp + 0x34]
push eax
mov ebx, edi
mov ebp, edi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x30]
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42b7a4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.0042b98d
mov ebp, eax
push edi
lea eax, [esp + 0x28]
push eax
push ebx
push ebp
push esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42b78a
cmp dword [esp + 0x24], ebx
je 0x42b79d
mov ecx, ebp
call fcn.0042b97d
mov ebp, edi
mov dword [esp + 0x10], ebp
mov ebx, edi
mov dword [esp + 0x18], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.0042b572
mov edi, dword [esp + 0x14]
push 0x40
mov esi, dword [edi + 0x3c]
add esi, edi
push 0x3000
mov eax, dword [esi + 0x50]
mov dword [esp + 0x28], eax
add eax, 0x14
add eax, ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x42b8f9
push 0x40
mov edx, edi
mov ecx, ebx
call fcn.0042b937
mov ebp, dword [ebx + 0x3c]
movzx eax, word [esi + 0x14]
add ebp, ebx
push eax
mov edx, esi
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.0042b937
movzx ecx, word [esi + 0x14]
movzx edi, word [esi + 6]
lea eax, [esi + 0x18]
add ecx, eax
movzx eax, word [ebp + 0x14]
lea esi, [ebp + 0x18]
add esi, eax
mov dword [esp + 0x28], ecx
test edi, edi
je 0x42b86b
mov ebp, ecx
sub ebp, esi
mov ebx, edi
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.0042b937
add esi, 0x28
dec ebx
jne 0x42b82f
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
test edi, edi
je 0x42b86b
mov ebp, dword [esp + 0x14]
lea esi, [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, ebp
add ecx, ebx
call fcn.0042b937
lea esi, [esi + 0x28]
dec edi
jne 0x42b854
mov ebp, dword [esp + 0x2c]
add ebp, 0x18
push ebp
mov edx, ebx
mov ecx, ebx
call fcn.0042b665
add ebx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.KERNEL32
mov edi, ebx
call esi
mov dword [edi], eax
push str.KERNEL32
call esi
mov edx, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 4], eax
lea eax, [ebx + 0x14]
sub eax, edi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [ebx + 0x14]
mov dword [edi + 0x10], eax
call fcn.0042b937
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x60]
push esi
mov ecx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x1c]
shl ecx, 2
sub eax, ecx
mov eax, dword [eax + esi + 4]
add eax, esi
call eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0042b97d
mov ecx, ebp
call fcn.0042b97d
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x820
ret