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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bf70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 4], 0
call fcn.004012a0
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push ecx
call fcn.00401500
add esp, 4
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x5c]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.00401ae0
add esp, 8
test al, al
jne 0x401e55
push 0
push 0xe3931c
push 0xe3930c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401f74
mov cl, byte [ebp - 0x11]
push 0
mov byte [ebp - 0x4c], cl
lea ecx, [ebp - 0x4c]
call fcn.00402ba0
mov edi, 0xe392e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0xe392e0
lea ecx, [ebp - 0x4c]
call fcn.00402c80
mov dl, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
mov byte [ebp - 0x3c], dl
call fcn.00402ba0
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.00401740
add esp, 8
test al, al
jne 0x401ec7
push 0
push 0xe3931c
push 0xe392cc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401f58
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
push edx
call fcn.004035f0
test eax, eax
je 0x401eed
push 0
push 0xe3931c
push 0xe392ac
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401f58
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401ef9
mov eax, 0x42e798
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
cmp esi, 0xffffffff
jne 0x401f2f
push 0xe3931c
push 0xe3929c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401f58
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401fa8
push 0
push 0xe3931c
push 0xe39288
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00402ba0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00402ba0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402ba0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00402ba0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x40
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
push 0
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x401fd2
push 0xe3931c
push 0xe39278
jmp 0x401f49
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4020df
cmp dword [ebp - 0x18], edi
jne 0x4020df
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 0x1c]
call eax
popal
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
push 0x8000
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x402033
mov al, byte [ecx - 1]
cmp al, bl
je 0x402029
cmp al, 0xff
je 0x402029
dec al
mov byte [ecx - 1], al
jmp 0x402033
dec ecx
push ecx
call fcn.00423ea4
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], ebx
cmp ecx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
je 0x40205f
mov al, byte [ecx - 1]
cmp al, bl
je 0x402055
cmp al, 0xff
je 0x402055
dec al
mov byte [ecx - 1], al
jmp 0x40205f
dec ecx
push ecx
call fcn.00423ea4
add esp, 4
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x48], ebx
cmp ecx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
je 0x40208b
mov al, byte [ecx - 1]
cmp al, bl
je 0x402081
cmp al, 0xff
je 0x402081
dec al
mov byte [ecx - 1], al
jmp 0x40208b
dec ecx
push ecx
call fcn.00423ea4
add esp, 4
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], ebx
cmp ecx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
je 0x4020ca
mov al, byte [ecx - 1]
cmp al, bl
je 0x4020c0
cmp al, 0xff
je 0x4020c0
dec al
mov byte [ecx - 1], al
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
dec ecx
push ecx
call fcn.00423ea4
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
push edi
push 0xe3931c
push 0xe39268
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x8000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00402ba0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00402ba0
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
je 0x402146
mov al, byte [ecx - 1]
test al, al
je 0x40213c
cmp al, 0xff
je 0x40213c
dec al
mov byte [ecx - 1], al
jmp 0x402146
dec ecx
push ecx
call fcn.00423ea4
add esp, 4
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], edi
cmp ecx, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
je 0x401f90
mov al, byte [ecx - 1]
test al, al
je 0x40216f
cmp al, 0xff
je 0x40216f
dec al
mov byte [ecx - 1], al
jmp 0x401f90
dec ecx
push ecx
call fcn.00423ea4
add esp, 4
jmp 0x401f90