Function at 0x140002b90
Capabilities:
Create process on windows
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x510
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400110f0]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r15, rdx
movsxd r14, ecx
xor edi, edi
mov dword [rsp + 0x54], edi
mov r8d, 0x104
lea rdx, [rbp + 0x2f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], rdi
mov byte [rbp + 0x40], dil
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rbp + 0x2f0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x40]
call fcn.140001760
nop
mov r12, qword [rbp + 0x58]
mov r13, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x50]
cmp rbx, 1
jb 0x140002c8b
lea rcx, [rbx - 1]
cmp rcx, rsi
cmova rcx, rsi
lea rdi, [rbp + 0x40]
cmp r12, 0x10
cmovae rdi, r13
add rdi, rcx
cmp byte [rdi], 0x5c
jne 0x140002c67
movzx eax, byte [rdi]
cmp al, byte [0x14000c354]
je 0x140002c7a
lea rcx, [rbp + 0x40]
call fcn.140001120
cmp rdi, rax
je 0x140002c8b
dec rdi
jmp 0x140002c57
lea rax, [rbp + 0x40]
cmp r12, 0x10
cmovae rax, r13
sub rdi, rax
jmp 0x140002c8e
mov rdi, rsi
cmp rbx, rdi
jae 0x140002ca0
lea rcx, str.invalid_string_position
call fcn.140003624
int3
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
jae 0x140002cb1
mov rsi, rbx
test rbx, rbx
je 0x140002cf6
lea rdx, [rbp + 0x40]
cmp r12, 0x10
cmovae rdx, r13
lea rcx, [rbp + 0x40]
cmovae rcx, r13
sub rbx, rsi
add rdx, rdi
add rdx, rsi
add rcx, rdi
mov r8, rbx
call fcn.1400039b0
mov rdx, qword [rbp + 0x50]
sub rdx, rsi
mov qword [rbp + 0x50], rdx
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rax, qword [rbp + 0x40]
mov byte [rax + rdx], 0
lea r8, str...lib_
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x130]
call fcn.140001c90
nop
lea rcx, str.JAVA_HOME
call fcn.140004880
mov rdx, rax
mov qword [rbp + 8], 0xf
xor r12d, r12d
mov qword [rbp], r12
mov byte [rbp - 0x10], r12b
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], r12
mov byte [rbp + 0x68], r12b
test rax, rax
je 0x140002fea
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x68]
call fcn.140001760
lea r8, str._binjava.exe
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xb8]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x10]
cmp rax, rdi
je 0x140002df2
cmp qword [rbp + 8], 0x10
jb 0x140002d9d
mov rcx, qword [rbp - 0x10]
call fcn.1400038ac
mov qword [rbp + 8], 0xf
mov qword [rbp], r12
mov byte [rbp - 0x10], 0
cmp qword [rdi + 0x18], 0x10
jae 0x140002dc9
mov r8, qword [rdi + 0x10]
inc r8
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.1400039b0
jmp 0x140002dd3
mov rax, qword [rdi]
mov qword [rbp - 0x10], rax
mov qword [rdi], r12
mov rax, qword [rdi + 0x10]
mov qword [rbp], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 8], rax
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r12
mov byte [rdi], 0
cmp qword [rbp + 0xd0], 0x10
jb 0x140002e08
mov rcx, qword [rbp + 0xb8]
call fcn.1400038ac
lea r8, str._binjavac.exe
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x158]
call fcn.140001c90
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
mov qword [rbp + 0xf8], 0xf
mov qword [rbp + 0xf0], r12
mov byte [rbp + 0xe0], 0
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0xe0]
call fcn.140001760
nop
mov edi, 1
mov dword [rsp + 0x54], edi
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rcx, qword [rbp + 0xe0]
lea rdx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140002f51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [rbp + 0x1b0]
shr edx, 4
not edx
and edx, edi
je 0x140002f51
lea rdx, [rbp + 0x158]
cmp qword [rbp + 0x170], 0x10
cmovae rdx, qword [rbp + 0x158]
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], 0
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x90]
call fcn.140001760
mov edi, 3
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rcx, qword [rbp + 0x90]
lea rdx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140002f51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [rbp + 0x1b0]
shr edx, 4
not edx
and edx, 1
je 0x140002f51
xor bl, bl
jmp 0x140002f53
mov bl, 1
test dil, 2
je 0x140002f8b
and edi, 0xfffffffd
cmp qword [rbp + 0xa8], 0x10
jb 0x140002f72
mov rcx, qword [rbp + 0x90]
call fcn.1400038ac
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], 0
test dil, 1
je 0x140002fa7
cmp qword [rbp + 0xf8], 0x10
jb 0x140002fa7
mov rcx, qword [rbp + 0xe0]
call fcn.1400038ac
test bl, bl
je 0x140002fd2
xor r8d, r8d
lea rdx, [0x14000c3d0]
lea rcx, [rbp - 0x10]
call fcn.140001760
xor r8d, r8d
lea rdx, [0x14000c3d0]
lea rcx, [rbp + 0x68]
call fcn.140001760
nop
cmp qword [rbp + 0x170], 0x10
jb 0x140003001
mov rcx, qword [rbp + 0x158]
call fcn.1400038ac
jmp 0x140003001
xor r8d, r8d
lea rdx, [0x14000c3d0]
lea rcx, [rbp - 0x10]
call fcn.140001760
or rsi, 0xffffffffffffffff
cmp qword [rbp], 0
ja 0x14000305d
lea rdx, str.SOFTWAREJavaSoftJava_Development_Kit
mov rcx, 0xffffffff80000002
call fcn.1400029a0
mov rdi, rax
lea rcx, [rbp - 0x10]
test rax, rax
je 0x14000304b
lea rdx, [rax + 0x38]
mov r9, rsi
xor r8d, r8d
call fcn.140001650
lea rdx, [rdi + 0x10]
mov r9, rsi
xor r8d, r8d
lea rcx, [rbp + 0x68]
call fcn.140001650
jmp 0x14000305d
mov r8d, 8
lea rdx, str.java.exe
call fcn.140001760
lea r8, [rbp - 0x10]
lea rdx, [0x14000c46c]
lea rcx, [rbp + 0x158]
call fcn.140001d60
nop
lea r8, [0x14000c46c]
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140001e30
nop
cmp qword [rbp + 0x170], 0x10
jb 0x14000309f
mov rcx, qword [rbp + 0x158]
call fcn.1400038ac
mov qword [rbp + 0x170], 0xf
mov qword [rbp + 0x168], r12
mov byte [rbp + 0x158], 0
cmp qword [rbp + 0x78], 0
jbe 0x1400030dd
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rdx, qword [rbp + 0x68]
lea rcx, str.JAVA_HOME
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea r8, [rbp + 0x40]
lea rdx, str.__Xmx256M___Djavafx.home
lea rcx, [rbp + 0x180]
call fcn.140001d60
nop
lea r8, str.___classpath__
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140001e30
nop
lea r8, [rbp + 0x130]
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140001ea0
nop
lea r8, str.ant_javafx.jar_
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140001e30
nop
lea r8, str.__com.sun.javafx.tools.packager.Main
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140001e30
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140001530
nop
cmp qword [rbp + 0xf8], 0x10
jb 0x14000317a
mov rcx, qword [rbp + 0xe0]
call fcn.1400038ac
mov qword [rbp + 0xf8], 0xf
mov qword [rbp + 0xf0], r12
mov byte [rbp + 0xe0], 0
cmp qword [rbp + 0xa8], 0x10
jb 0x1400031a9
mov rcx, qword [rbp + 0x90]
call fcn.1400038ac
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], 0
cmp qword [rbp + 0x120], 0x10
jb 0x1400031d8
mov rcx, qword [rbp + 0x108]
call fcn.1400038ac
mov qword [rbp + 0x120], 0xf
mov qword [rbp + 0x118], r12
mov byte [rbp + 0x108], 0
cmp qword [rbp + 0xd0], 0x10
jb 0x140003207
mov rcx, qword [rbp + 0xb8]
call fcn.1400038ac
mov qword [rbp + 0xd0], 0xf
mov qword [rbp + 0xc8], r12
mov byte [rbp + 0xb8], 0
cmp qword [rbp + 0x198], 0x10
jb 0x140003236
mov rcx, qword [rbp + 0x180]
call fcn.1400038ac
mov ebx, 1
cmp rbx, r14
jge 0x140003377
lea r8, [0x14000c400]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x180]
call fcn.140001c90
nop
mov r8, qword [r15 + rbx*8]
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140001e30
nop
lea r8, [0x14000c46c]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140001e30
mov rdi, rax
lea rax, [rbp + 0x18]
cmp rax, rdi
je 0x1400032f7
cmp qword [rbp + 0x30], 0x10
jb 0x1400032a2
mov rcx, qword [rbp + 0x18]
call fcn.1400038ac
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r12
mov byte [rbp + 0x18], 0
cmp qword [rdi + 0x18], 0x10
jae 0x1400032ce
mov r8, qword [rdi + 0x10]
inc r8
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.1400039b0
jmp 0x1400032d8
mov rax, qword [rdi]
mov qword [rbp + 0x18], rax
mov qword [rdi], r12
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x28], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x30], rax
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r12
mov byte [rdi], 0
cmp qword [rbp + 0xd0], 0x10
jb 0x14000330d
mov rcx, qword [rbp + 0xb8]
call fcn.1400038ac
mov qword [rbp + 0xd0], 0xf
mov qword [rbp + 0xc8], r12
mov byte [rbp + 0xb8], 0
cmp qword [rbp + 0x120], 0x10
jb 0x14000333c
mov rcx, qword [rbp + 0x108]
call fcn.1400038ac
mov qword [rbp + 0x120], 0xf
mov qword [rbp + 0x118], r12
mov byte [rbp + 0x108], 0
cmp qword [rbp + 0x198], 0x10
jb 0x14000336b
mov rcx, qword [rbp + 0x180]
call fcn.1400038ac
inc rbx
cmp rbx, r14
jl 0x140003244
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.140004660
mov dword [rbp - 0x80], 0x68
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14000348d
cmp qword [rbp + 0x30], 0x10
jb 0x1400033ee
mov rcx, qword [rbp + 0x18]
call fcn.1400038ac
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r12
mov byte [rbp + 0x18], 0
cmp qword [rbp + 0x80], 0x10
jb 0x140003411
mov rcx, qword [rbp + 0x68]
call fcn.1400038ac
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], r12
mov byte [rbp + 0x68], 0
cmp qword [rbp + 8], 0x10
jb 0x140003434
mov rcx, qword [rbp - 0x10]
call fcn.1400038ac
mov qword [rbp + 8], 0xf
mov qword [rbp], r12
mov byte [rbp - 0x10], 0
cmp qword [rbp + 0x148], 0x10
jb 0x14000345a
mov rcx, qword [rbp + 0x130]
call fcn.1400038ac
mov qword [rbp + 0x148], 0xf
mov qword [rbp + 0x140], r12
mov byte [rbp + 0x130], 0
cmp qword [rbp + 0x58], 0x10
jb 0x140003483
mov rcx, qword [rbp + 0x40]
call fcn.1400038ac
mov eax, 1
jmp 0x14000356c
or edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x50]
cmp qword [rbp + 0x30], 0x10
jb 0x1400034d5
mov rcx, qword [rbp + 0x18]
call fcn.1400038ac
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r12
mov byte [rbp + 0x18], 0
cmp qword [rbp + 0x80], 0x10
jb 0x1400034f8
mov rcx, qword [rbp + 0x68]
call fcn.1400038ac
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], r12
mov byte [rbp + 0x68], 0
cmp qword [rbp + 8], 0x10
jb 0x14000351b
mov rcx, qword [rbp - 0x10]
call fcn.1400038ac
mov qword [rbp + 8], 0xf
mov qword [rbp], r12
mov byte [rbp - 0x10], 0
cmp qword [rbp + 0x148], 0x10
jb 0x140003541
mov rcx, qword [rbp + 0x130]
call fcn.1400038ac
mov qword [rbp + 0x148], 0xf
mov qword [rbp + 0x140], r12
mov byte [rbp + 0x130], 0
cmp qword [rbp + 0x58], 0x10
jb 0x14000356a
mov rcx, qword [rbp + 0x40]
call fcn.1400038ac
mov eax, edi
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140003da0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret