Function at 0x140004a90
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x1400c2040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r9
mov r12, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdx
mov r14, qword [rbp + 0x70]
xor r13d, r13d
lea rcx, [rsp + 0x60]
call fcn.140003bf0
mov rbx, rax
lea rax, str.dropship
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
call fcn.1400810b4
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140001e00
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140002090
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140004b71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
movdqa xmm6, xmmword [0x1400b2d40]
movdqu xmmword [rsp + 0x50], xmm6
mov word [rsp + 0x40], r13w
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140002570
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140004bdf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
movdqa xmm6, xmmword [0x1400b2d40]
movdqu xmmword [rsp + 0x70], xmm6
mov word [rsp + 0x60], r13w
mov r8d, 3
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call fcn.140003b10
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x140004c21
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400050d0
lea rbx, str._G_n_
cmp ecx, 3
jne 0x140004c71
mov r8d, ecx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call fcn.140003b10
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], rbx
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140004c6c
test ecx, ecx
jne 0x1400050a6
jmp 0x140004c71
cmp eax, 1
jne 0x140004c93
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.1400815b8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400050e1
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140004ca4
mov rax, qword [rdi]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
call fcn.1400810b4
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140001e00
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140002090
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140004d1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
mov r8d, 3
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call fcn.140003b10
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], rbx
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140004d61
test ecx, ecx
jne 0x1400050bb
jmp 0x140004d88
cmp eax, 1
je 0x140004d88
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.140081cb4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140005091
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x68], rax
call fcn.1400810b4
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.14000b3a0
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, str.downloading:__s_n
call fcn.140001460
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rax, vtable._downloading.0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r12
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r8, qword [rbp - 0x40]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140004e1f
mov rdx, qword [rsi]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x140004e48
lea rcx, str.download_failed_n
call fcn.140001460
jmp 0x140004f17
lea rcx, str.download_worked_n
call fcn.140001460
test r15, r15
je 0x140004ebc
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140004710
mov rdx, rax
mov rcx, r15
call fcn.140007810
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140004ebc
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004eb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004eb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
test r14, r14
je 0x140004f17
lea rax, [rbp - 0x60]
cmp r14, rax
je 0x140004f17
mov rbx, qword [rbp - 0x50]
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r9, qword [rbp - 0x60]
mov rax, qword [r14 + 0x18]
cmp rbx, rax
ja 0x140004f0b
mov r15, r14
cmp rax, 7
jbe 0x140004ef1
mov r15, qword [r14]
mov qword [r14 + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov word [r15 + rbx*2], r13w
jmp 0x140004f17
mov rdx, rbx
mov rcx, r14
call fcn.14000a140
nop
lea rax, vtable._downloading.0
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140004f60
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
movdqa xmm0, xmmword [0x1400b2d60]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140004fb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004faf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004faf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400824c0
movdqa xmm0, xmmword [0x1400b2d40]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140005000
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140004ffb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005083
mov rcx, r8
call fcn.1400824c0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140005045
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005040
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000508a
mov rcx, r8
call fcn.1400824c0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400824a0
mov rbx, qword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
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
shr rdx, 0x20
lea r8, [rbp - 0x60]
lea rcx, str.remove
call fcn.140002f90
int3
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140003080
int3
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140003080
int3
lea r8, [rbp - 0x60]
lea rcx, str.status
call fcn.140002f90
int3
shr rdx, 0x20
lea r8, [rbp - 0x60]
lea rcx, str.create_directory
call fcn.140002f90
int3