Function at 0x140007510
Capabilities:
Download url
Move file
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140012010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor r14d, r14d
mov rcx, qword [0x140012968]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 7
jb 0x1400078c1
lea rbx, [0x140012958]
mov r9, rbx
cmp qword [0x140012970], 8
cmovae r9, qword [0x140012958]
mov qword [rsp + 0x30], 7
lea r12, [0x14000dae0]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140009c70
nop
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x14000dc60]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
lea r8d, [r14 + 3]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400032b0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
lea r15, [0x140012048]
mov qword [rbp - 0x78], r15
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140007657
cmp eax, 1
setne sil
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000766a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007664
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor sil, sil
test ecx, ecx
jne 0x1400078ab
jmp 0x140007617
call fcn.14000afd0
nop
test sil, sil
je 0x140007789
mov rax, qword [0x140012968]
sub rdi, rax
cmp rdi, 7
jb 0x1400078c7
mov r9, rbx
cmp qword [0x140012970], 8
cmovae r9, qword [0x140012958]
mov qword [rsp + 0x30], 7
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140009c70
nop
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x40], xmm1
movups xmm2, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x50], xmm2
movdqa xmm0, xmmword [0x14000dc60]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
lea rcx, [rsp + 0x40]
movq rdx, xmm1
psrldq xmm2, 8
movq rax, xmm2
cmp rax, 8
cmovae rcx, rdx
call fcn.14000ac54
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp - 0x70], rcx
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], r15
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
cmp edx, 0x91
jne 0x140007739
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140003390
cmp dword [rbp - 0x80], 0
jne 0x140007895
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140007789
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007783
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000afd0
nop
lea rdx, str..legacy
lea rcx, [0x14000daf8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
cmp qword [0x140012970], 8
cmovae rbx, qword [0x140012958]
lea rdi, [0x140012088]
cmp qword [0x1400120a0], 8
cmovae rdi, qword [0x140012088]
lea rcx, [rbp - 0x60]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1400077d0
lea rax, [rbp - 0x60]
sub rax, 2
nop dword [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1400077f0
movups xmm0, xmmword [str.EraDLer_CUI.exe]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14000db18]
movups xmmword [rax + 0x10], xmm1
lea r8, [rbp - 0x60]
mov rdx, rdi
lea rcx, str.start_DL_from:__ws__at___ws__n
call fcn.140001240
lea rcx, [0x14000d880]
call fcn.140001240
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x60]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
je 0x140007859
mov edx, eax
lea rcx, [0x14000d8a0]
call fcn.140001240
jmp 0x140007865
lea rcx, [0x14000d890]
call fcn.140001240
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14000afb0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str.remove_all
call fcn.140002970
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str.exists
call fcn.140002970
nop
call fcn.140001490
int3
call fcn.140001490
int3