Function at 0x140004a30
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14008d080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov r8d, Ordinal_32
lea rdx, str.http:__xiters.shop_REDENGINE
lea rcx, [rbp + 0x1f]
call fcn.14000ae30
nop
mov rsi, qword [0x14008e398]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 9
jb 0x140004cf5
lea r15, [0x14008e388]
cmp qword [0x14008e3a0], 0x10
cmovae r15, qword [0x14008e388]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea r14, [rsi + 9]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp - 0x29]
cmp r14, rbx
jbe 0x140004b56
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140004b19
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14006eb20
test rax, rax
je 0x140004c01
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140004b52
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004b41
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004cfb
jmp 0x140004afa
test rcx, rcx
je 0x140004b50
call fcn.14006eb20
mov rdi, rax
jmp 0x140004b52
xor edi, edi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], rbx
movsd xmm0, qword [str.C:Users_]
movsd qword [rdi], xmm0
movzx eax, byte [0x140080718]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, Ordinal_26
lea rdx, str.DownloadsRedEngine.rar
lea rcx, [rbp - 0x29]
call fcn.14000a390
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140004c0d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006edac
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae r8, qword [rbp - 1]
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rdx, qword [rbp + 0x1f]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140004c7b
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006edac
movdqa xmm0, xmmword [0x140081f20]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x140004cca
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006edac
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006eb00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001e40
nop
call fcn.140001da0
int3