Function at 0x18000a940
Capabilities:
Download url
Receive data

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x180066180]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r15, r8
mov rbp, rdx
mov qword [rsp + 0x58], r8
mov rbx, qword [rsp + 0x1d0]
xor r14d, r14d
mov dword [rsp + 0x48], r14d
mov rax, qword [rbx]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], r14d
je 0x18000aa2c
mov rcx, qword [r8]
cmp dword [rcx - 0x10], r14d
jl 0x18000a9ee
lea rdx, str.___
call fcn.18002aa38
test rax, rax
je 0x18000a9ee
sub eax, dword [r15]
cmp eax, esi
je 0x18000a9ee
mov r8, rbx
lea rdx, [0x180055ed8]
lea rcx, [rsp + 0x40]
call fcn.180006530
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.1800022e0
nop
mov rdx, qword [rsp + 0x40]
jmp 0x18000aa18
mov r8, rbx
lea rdx, str.___
lea rcx, [rsp + 0x38]
call fcn.180006530
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.1800022e0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18000aa2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x61]
call fcn.18002c930
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov rdx, qword [r15]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToCacheFileA]
test eax, eax
je 0x18000aab7
mov ecx, dword [0x180069c80]
mov eax, ecx
imul eax, ecx
and eax, 0x8000000f
jge 0x18000aa80
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xf
jne 0x18000aa8d
inc ecx
mov dword [0x180069c80], ecx
mov rcx, rbp
call fcn.180009d50
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18000ac41
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
jmp 0x18000ac41
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x60]
test rax, 0xffffffffffff0000
jne 0x18000ab10
movzx edi, cx
mov ecx, edi
call fcn.180002840
test rax, rax
je 0x18000abf6
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800023e0
mov rbx, qword [rsp + 0x30]
jmp 0x18000abf6
lea rax, [rsp + 0x60]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18000ab20
test edi, edi
jne 0x18000ab85
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x18000abf6
cmp dword [rdx + 0x10], 0
jge 0x18000ab61
cmp dword [rbx - 0xc], 0
jge 0x18000ab55
mov ecx, 0x80070057
call fcn.180002bd0
int3
mov dword [rbx - 0x10], r14d
mov byte [rbx], 0
jmp 0x18000abf6
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18000ab71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x18000abf6
mov r12d, dword [rbx - 0x10]
lea r14, [rsp + 0x60]
sub r14, rbx
test edi, edi
jns 0x18000aba0
mov ecx, 0x80070057
call fcn.180002bd0
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x18000abc2
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.180002c50
mov rbx, qword [rsp + 0x30]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r12
movsxd r12, edi
mov r9, r12
ja 0x18000abdf
lea r8, [r14 + rbx]
call fcn.180029ae8
jmp 0x18000abe9
lea r8, [rsp + 0x60]
call fcn.180028f24
cmp edi, dword [rbx - 0xc]
jg 0x18000ac36
mov dword [rbx - 0x10], edi
mov byte [r12 + rbx], 0
lea rcx, [rbx - 0x18]
call fcn.180002110
add rax, 0x18
mov qword [rbp], rax
lock add dword [rbx - 8], 0xffffffff
jg 0x18000ac1d
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + VariantCopy]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18000ac41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x18000ac41
mov ecx, 0x80070057
call fcn.180002bd0
nop
mov rax, rbp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1800289d0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret