Function at 0x40fbe4
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 0x40fc71
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 0x40fc71
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 0x40fcb3
cmp dword [ebp + 0x5c], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40fc81
push dword [ebp + 0x5c]
call edi
cmp dword [ebp + 0x60], ebx
je 0x40fc8b
push dword [ebp + 0x60]
call edi
cmp dword [ebp + 0x64], ebx
je 0x40fc95
push dword [ebp + 0x64]
call edi
cmp dword [ebp + 0x50], ebx
je 0x40fc9f
push dword [ebp + 0x50]
call edi
cmp dword [ebp + 0x54], ebx
je 0x40fca9
push dword [ebp + 0x54]
call edi
cmp dword [ebp + 0x58], ebx
je 0x40fcb3
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], 0x100
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 0x40fe15
push ebx
lea eax, [ebp + 0x38]
push eax
push 0x100
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.004133c0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x4c], eax
je 0x40fe15
lea esi, [eax + 1]
push 0x421afc
push esi
mov dword [ebp + 0x34], esi
call fcn.004133c0
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x40fd96
push 0x421b00
push esi
call fcn.004133c0
mov edi, eax
mov dword [ebp + 0x48], edi
jmp 0x40fda7
lea eax, [edi + 1]
push 0x421b04
push eax
call fcn.004133c0
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.004139e0
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.004139e0
mov eax, dword [ebp + 0x7c]
push 0x421b08
push esi
mov byte [edi + eax - 1], bl
call fcn.004133c0
add esp, 0x14
cmp eax, ebx
jne 0x40fe00
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 0x40fdf4
jmp 0x40fe15
mov edi, eax
sub edi, esi
push edi
push esi
mov esi, dword [ebp + 0x74]
push esi
call fcn.004139e0
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