Function at 0x40e247
Capabilities:
Create pipe
Create process on windows
Create reverse shell
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x58c
push ebx
push esi
push edi
push dword [ebp + 0x70]
lea eax, [ebp - 0x524]
push str.__s_binjava.exe___fullversion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
xor eax, eax
lea edi, [ebp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp + 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esi, 0x400
push esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x5c]
xor ebx, ebx
push eax
mov dword [ebp + 0x3c], 0xc
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], 1
call edi
test eax, eax
je 0x40e2d4
push esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x60]
push eax
call edi
test eax, eax
je 0x40e2d4
push esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x64]
push eax
call edi
test eax, eax
jne 0x40e316
cmp dword [ebp + 0x5c], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40e2e4
push dword [ebp + 0x5c]
call edi
cmp dword [ebp + 0x60], ebx
je 0x40e2ee
push dword [ebp + 0x60]
call edi
cmp dword [ebp + 0x64], ebx
je 0x40e2f8
push dword [ebp + 0x64]
call edi
cmp dword [ebp + 0x50], ebx
je 0x40e302
push dword [ebp + 0x50]
call edi
cmp dword [ebp + 0x54], ebx
je 0x40e30c
push dword [ebp + 0x54]
call edi
cmp dword [ebp + 0x58], ebx
je 0x40e316
push dword [ebp + 0x58]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x54]
push ebx
push 1
push dword [ebp + 0x50]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x24], 0x44
mov dword [ebp + 8], pe_nt_image_headers32
mov dword [ebp + 0x1c], eax
call esi
push ebx
push 1
push dword [ebp + 0x60]
call esi
push ebx
push 1
push dword [ebp + 0x64]
call esi
xor eax, eax
lea edi, [ebp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push 0x8000008
push 1
push ebx
push ebx
lea eax, [ebp - 0x524]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
mov dword [ebp + 0x30], eax
je 0x40e478
push ebx
lea eax, [ebp + 0x38]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 0x64]
mov dword [ebp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x124]
push str._____
push eax
call fcn.004130b0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x4c], eax
je 0x40e478
lea esi, [eax + 1]
push 0x421858
push esi
mov dword [ebp + 0x34], esi
call fcn.004130b0
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x40e3f9
push 0x42185c
push esi
call fcn.004130b0
mov edi, eax
mov dword [ebp + 0x48], edi
jmp 0x40e40a
lea eax, [edi + 1]
push 0x421860
push eax
call fcn.004130b0
mov dword [ebp + 0x48], eax
sub edi, dword [ebp + 0x4c]
lea eax, [edi - 1]
push eax
push esi
mov esi, dword [ebp + 0x78]
push esi
call fcn.00413730
mov byte [edi + esi - 1], bl
mov edi, dword [ebp + 0x48]
sub edi, dword [ebp + 0x4c]
add esp, 0x14
lea eax, [edi - 1]
push eax
push dword [ebp + 0x34]
push dword [ebp + 0x7c]
call fcn.00413730
mov eax, dword [ebp + 0x7c]
push 0x421864
push esi
mov byte [edi + eax - 1], bl
call fcn.004130b0
add esp, 0x14
cmp eax, ebx
jne 0x40e463
mov edx, dword [ebp + 0x74]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40e457
jmp 0x40e478
mov edi, eax
sub edi, esi
push edi
push esi
mov esi, dword [ebp + 0x74]
push esi
call fcn.00413730
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x60]
call esi
push dword [ebp + 0x64]
call esi
push dword [ebp + 0x50]
call esi
push dword [ebp + 0x54]
call esi
push dword [ebp + 0x58]
call esi
push dword [ebp + 0x24]
call esi
push dword [ebp + 0x20]
call esi
mov eax, dword [ebp + 0x30]
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret