Function at 0x140001300
Capabilities:
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1400a1840]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
xor ebx, ebx
lea r8, str.jre_installer.exe
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140002a80
nop
lea r8, [rbp - 0x80]
mov rdx, r14
call fcn.140001690
mov dword [rbp - 0x40], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
mov dword [rbp - 4], 1
mov word [rbp], bx
mov r13, qword [rbp - 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 3
jb 0x14000167f
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r12, qword [rbp - 0x80]
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea r15, [r13 + 3]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp - 0x60]
cmp r15, rbx
jbe 0x140001452
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001415
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007b4f0
test rax, rax
je 0x14000154e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000144e
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000142e
xor edi, edi
jmp 0x14000144e
cmp rcx, 0x1000
jb 0x140001446
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001685
jmp 0x1400013f6
call fcn.14007b4f0
mov rdi, rax
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rbx
mov r8, r13
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x140092f94]
mov word [rdi + r13], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rdi + r13 + 2], al
mov byte [rdi + r15], 0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0x400
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000008
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000151c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000155a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001555
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001555
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b52c
movdqa xmm0, xmmword [0x140094720]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400015a8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b52c
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400015f2
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1400015ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001671
mov rcx, r8
call fcn.14007b52c
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140001638
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140001633
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001678
mov rcx, r8
call fcn.14007b52c
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.14007b4d0
mov rbx, qword [rsp + 0x580]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011f0
int3
call fcn.140001150
int3