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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x178c
call fcn.0040c070
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push str.lib_version.dat
lea eax, [ebp - 0x178c]
push dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 0x28c], bl
mov byte [ebp - 0x18c], bl
push str._s_s
push eax
mov byte [ebp - 0x38c], bl
mov byte [ebp - 0x48c], bl
mov byte [ebp - 0x58c], bl
mov byte [ebp - 0x68c], bl
call esi
lea eax, [ebp - 0x178c]
push 0x411a64
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x18
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40aa7a
test byte [eax + 0xc], 0x10
jne 0x40a96b
mov edi, 0x400
push 0xa
lea eax, [ebp - 0xb8c]
push edi
push eax
push dword [ebp - 4]
call fcn.0040a7b8
add esp, 0x10
cmp byte [ebp - 0xb8c], 0x23
je 0x40a95e
cmp byte [ebp - 0xb8c], 0x3c
jne 0x40a8aa
cmp byte [ebp - 0xb8b], 0x3f
je 0x40a95e
lea eax, [ebp - 0x28c]
push eax
push str.__major_
lea eax, [ebp - 0xb8c]
push str._major_
push eax
call fcn.0040a75e
lea eax, [ebp - 0x18c]
push eax
push str.__minor_
lea eax, [ebp - 0xb8c]
push str._minor_
push eax
call fcn.0040a75e
lea eax, [ebp - 0x38c]
push eax
push str.__micro_
lea eax, [ebp - 0xb8c]
push str._micro_
push eax
call fcn.0040a75e
lea eax, [ebp - 0x48c]
push eax
push str.__update_
lea eax, [ebp - 0xb8c]
push str._update_
push eax
call fcn.0040a75e
add esp, 0x40
lea eax, [ebp - 0x58c]
push eax
push str.__milestone_
lea eax, [ebp - 0xb8c]
push str._milestone_
push eax
call fcn.0040a75e
lea eax, [ebp - 0x68c]
push eax
push str.__build_number_
lea eax, [ebp - 0xb8c]
push str._build_number_
push eax
call fcn.0040a75e
add esp, 0x20
mov eax, dword [ebp - 4]
test byte [eax + 0xc], 0x10
je 0x40a872
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fclose]
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x28c]
push eax
push 0x411af8
push dword [ebp + 0xc]
call esi
add esp, 0x18
cmp byte [ebp - 0x48c], bl
je 0x40a9ef
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x28c]
push eax
push 0x411b04
push dword [ebp + 0x14]
call esi
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x28c]
push eax
push str._s._s._s__s
push dword [ebp + 0x10]
call esi
add esp, 0x30
jmp 0x40aa30
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x28c]
push eax
push 0x411b1c
push dword [ebp + 0x14]
call esi
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x28c]
push eax
push str._s._s._s
push dword [ebp + 0x10]
call esi
add esp, 0x28
cmp byte [ebp - 0x58c], bl
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x40aa54
push 0x411b34
push dword [ebp + 0x14]
call esi
lea eax, [ebp - 0x58c]
push eax
push dword [ebp + 0x14]
call esi
cmp byte [ebp - 0x68c], bl
je 0x40aa72
push 0x411b38
push dword [ebp + 0x14]
call esi
lea eax, [ebp - 0x68c]
push eax
push dword [ebp + 0x14]
call esi
push 1
pop eax
jmp 0x40ad09
push dword [ebp + 8]
lea eax, [ebp - 0xf8c]
push str._s_binjava.exe__fullversion
push eax
call esi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov edi, 0x400
lea eax, [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push edi
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], 0xc
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 1
call esi
test eax, eax
je 0x40aaf3
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x40aaf3
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
test eax, eax
jne 0x40ab3f
cmp dword [ebp - 0x14], ebx
je 0x40ab05
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x40ab0b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x40ab15
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x40ab1f
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x20], ebx
je 0x40ab29
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x40ab33
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x18], ebx
je 0x40ab45
push dword [ebp - 0x18]
call esi
jmp 0x40ab45
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
push ebx
push 1
push dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8c], 0x44
mov dword [ebp - 0x60], 0x100
mov dword [ebp - 0x4c], eax
call edi
push ebx
push 1
push dword [ebp - 0x10]
call edi
push ebx
push 1
push dword [ebp - 0xc]
call edi
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push 0x8000008
push 1
push ebx
lea eax, [ebp - 0xf8c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
mov dword [ebp - 0x28], eax
je 0x40acde
lea eax, [ebp - 0x38]
push ebx
push eax
lea eax, [ebp - 0x78c]
push 0x100
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x78c]
push str._____
push eax
call esi
mov dword [ebp - 4], eax
inc eax
push 0x411b60
push eax
mov dword [ebp + 8], eax
call esi
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x40ac3f
push 0x411b64
push dword [ebp + 8]
call esi
mov dword [ebp - 0x24], eax
sub eax, dword [ebp - 4]
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
mov dword [ebp - 8], eax
dec eax
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp - 8]
add esp, 0x14
jmp 0x40ac69
lea eax, [edi + 1]
push 0x411b68
push eax
call esi
sub edi, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], edi
dec edi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
push dword [ebp + 8]
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp - 8]
add esp, 0x14
mov ecx, dword [ebp + 0x10]
mov byte [eax + ecx - 1], bl
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
dec eax
push eax
push dword [ebp + 8]
push dword [ebp + 0x14]
call edi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
push 0x411b6c
push dword [ebp + 0x10]
mov byte [eax + ecx - 1], bl
call esi
add esp, 0x14
cmp eax, ebx
jne 0x40acc1
mov edi, dword [ebp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40acd8
mov esi, eax
sub esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov byte [esi + eax], bl
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x48]
call esi
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
leave
ret