Function at 0x429730
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x310
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc24], 0
mov dword [ebp - 0xc28], 0
mov dword [ebp - 0xc2c], 0
mov dword [ebp - 0xc30], 0
mov dword [ebp - 0x14], 0
push 0x4b10fd
push 0x65
push dword [0x4b6ae8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc34], eax
cmp dword [ebp - 0xc34], 0
je 0x429853
push dword [ebp - 0xc34]
push dword [0x4b6ae8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc38], eax
cmp dword [ebp - 0xc38], 0
je 0x429853
push dword [ebp - 0xc38]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc3c], eax
push 4
push dword [ebp - 0xc3c]
lea eax, [ebp - 0x18]
push eax
call fcn.00404500
add esp, 0xc
cmp byte [ebp - 0x18], 0x50
jne 0x429826
cmp byte [ebp - 0x17], 0x49
jne 0x429826
cmp byte [ebp - 0x16], 0x43
jne 0x429826
cmp byte [ebp - 0x15], 0x4b
jne 0x429826
mov dword [ebp - 0x14], 0
jmp 0x429853
push 4
push dword [ebp - 0xc3c]
lea eax, [ebp - 0x14]
push eax
call fcn.00404500
add esp, 0xc
push 4
mov eax, dword [ebp - 0xc3c]
add eax, 4
push eax
push 0x4b1144
call fcn.00404500
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x429b1f
call fcn.00490470
cmp al, 0
je 0x4298a5
push 0x400
lea eax, [ebp - 0x818]
push eax
push dword [0x4b6ae8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc40], eax
jmp 0x4298e2
push 0x400
lea eax, [ebp - 0xc18]
push eax
push dword [0x4b6ae8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc40], eax
cmp dword [ebp - 0xc40], 0xffffffff
jne 0x42990d
push 0
push 0x4b10fb
push 0x215
push str.loaderX86.cpp
push 4
push 0x83
call fcn.00492180
add esp, 0x18
leave
ret
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xc1c]
push eax
push 4
push 0x4b1084
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x40
push 0x1000
push dword [0x4b1084]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4b107c], eax
push 0
lea eax, [ebp - 0xc1c]
push eax
push dword [0x4b1084]
push dword [0x4b107c]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xc1c]
push eax
push 4
push 0x4b1088
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x4b1088]
call fcn.004a0690
pop ecx
mov dword [0x4b1078], eax
push 0
lea eax, [ebp - 0xc1c]
push eax
push dword [0x4b1088]
push dword [0x4b1078]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xc1c]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call fcn.004a0690
pop ecx
mov dword [ebp - 0xc24], eax
push 0
lea eax, [ebp - 0xc1c]
push eax
push dword [ebp - 4]
push dword [ebp - 0xc24]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xc1c]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0
jle 0x429a5a
push dword [ebp - 8]
call fcn.004a0690
pop ecx
mov dword [0x4b1080], eax
push 0
lea eax, [ebp - 0xc1c]
push eax
push dword [ebp - 8]
push dword [0x4b1080]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xc1c]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 0
jle 0x429ac0
push 1
push 0
push 0
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc30], eax
push dword [ebp - 0x10]
call fcn.004a0690
pop ecx
mov dword [ebp - 0xc2c], eax
push 0
lea eax, [ebp - 0xc1c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc2c]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xc1c]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], 0
jle 0x429b0e
push dword [ebp - 0xc]
call fcn.004a0690
pop ecx
mov dword [ebp - 0xc28], eax
push 0
lea eax, [ebp - 0xc1c]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0xc28]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x429ba2
lea eax, [ebp - 4]
push eax
push str.import.dat
call fcn.00428c10
pop ecx
pop ecx
mov dword [ebp - 0xc24], eax
push 0x4b1084
push str.code.dat
call fcn.00428c10
pop ecx
pop ecx
mov dword [0x4b107c], eax
push 0x4b1088
push str.data.dat
call fcn.00428c10
pop ecx
pop ecx
mov dword [0x4b1078], eax
lea eax, [ebp - 0x10]
push eax
push str.rsrc.dat
call fcn.00428c10
pop ecx
pop ecx
mov dword [ebp - 0xc2c], eax
lea eax, [ebp - 0xc]
push eax
push str.options.dat
call fcn.00428c10
pop ecx
pop ecx
mov dword [ebp - 0xc28], eax
lea eax, [ebp - 8]
push eax
push str.symbols.dat
call fcn.00428c10
pop ecx
pop ecx
mov dword [0x4b1080], eax
push dword [ebp - 4]
push dword [ebp - 0xc24]
call fcn.00428c80
pop ecx
pop ecx
push dword [ebp - 0xc30]
push dword [ebp - 0x10]
push dword [ebp - 0xc2c]
call fcn.00429590
add esp, 0xc
push dword [ebp - 0xc]
push dword [ebp - 0xc28]
call fcn.00429650
pop ecx
pop ecx
mov eax, dword [0x4b107c]
mov dword [ebp - 0xc20], eax
call dword [ebp - 0xc20]
call fcn.0040e120
leave
ret