Function at 0x140004ab0
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
mov rax, qword [0x1400c4028]
xor rax, rsp
mov qword [rbp], rax
mov r12, r9
mov r13, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdx
mov r14, qword [rbp + 0x70]
xor r15d, r15d
lea rcx, [rsp + 0x60]
call fcn.140003ad0
mov rbx, rax
call fcn.140082b08
lea rcx, str.dropship
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 8
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140001ed0
nop
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140002150
mov rbx, rax
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140004b7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
movdqa xmm0, xmmword [0x1400b4690]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400024b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140004be3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
movdqa xmm0, xmmword [0x1400b4690]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
mov r8d, 3
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400039f0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x140004c2e
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400050da
lea rbx, str.pg_n_
cmp ecx, 3
jne 0x140004c7f
mov r8d, ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400039f0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140004c7a
test ecx, ecx
jne 0x1400050b0
jmp 0x140004c7f
cmp eax, 1
jne 0x140004ca1
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call fcn.140082ff0
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400050eb
mov r15, qword [rdi + 0x10]
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140004cb2
mov rbx, qword [rdi]
call fcn.140082b08
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], r15
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140001ed0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140002150
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140004d24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
mov r8d, 3
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400039f0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x50], ecx
lea rax, str.pg_n_
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140004d6e
test ecx, ecx
jne 0x1400050c5
jmp 0x140004d95
cmp eax, 1
je 0x140004d95
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call fcn.1400836ec
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14000509b
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x48], rax
call fcn.140082b08
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.14000afd0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea rcx, str.downloading:__s_n
call fcn.1400014a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rax, vtable._downloading.0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r13
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r8, qword [rbp - 0x30]
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140004e2c
mov rdx, qword [rsi]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x140004e55
lea rcx, str.download_failed_n
call fcn.1400014a0
jmp 0x140004f26
lea rcx, str.download_worked_n
call fcn.1400014a0
test r12, r12
je 0x140004ec9
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.140004740
mov rdx, rax
mov rcx, r12
call fcn.140007790
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140004ec9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ec4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
test r14, r14
je 0x140004f26
lea rax, [rbp - 0x70]
cmp r14, rax
je 0x140004f26
mov rbx, qword [rbp - 0x60]
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r9, qword [rbp - 0x70]
mov rax, qword [r14 + 0x18]
cmp rbx, rax
ja 0x140004f1b
mov r15, r14
cmp rax, 8
jb 0x140004efe
mov r15, qword [r14]
mov qword [r14 + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [r15 + rbx*2], r14w
jmp 0x140004f29
mov rdx, rbx
mov rcx, r14
call fcn.14000a300
xor r14d, r14d
lea rax, vtable._downloading.0
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140004f72
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
movdqa xmm0, xmmword [0x1400b46b0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004fc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083e20
movdqa xmm0, xmmword [0x1400b4690]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140005012
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14000500d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000508d
mov rcx, r8
call fcn.140083e20
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140005057
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005052
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005094
mov rcx, r8
call fcn.140083e20
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140083e00
mov rbx, qword [rsp + 0x160]
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 - 0x70]
lea rcx, str.remove
call fcn.140002ef0
int3
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, str.exists
call fcn.140002fe0
int3
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, str.exists
call fcn.140002fe0
int3
lea r8, [rbp - 0x70]
lea rcx, str.status
call fcn.140002ef0
int3
shr rdx, 0x20
lea r8, [rbp - 0x70]
lea rcx, str.create_directory
call fcn.140002ef0
int3