Function at 0x140008a10
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x1400625e0]
xor rax, rsp
mov qword [rbp + 0x110], rax
movzx esi, r9b
mov r15, r8
mov r12, rdx
mov r13, rcx
mov qword [rbp - 0x10], r8
mov rdi, qword [rbp + 0x180]
mov r14, qword [rbp + 0x188]
mov dword [rbp - 0x28], 0
mov rax, qword [rdi]
or rbx, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
je 0x140008b0a
mov rcx, qword [r8]
cmp dword [rcx - 0x10], 0
jl 0x140008ace
lea rdx, [0x140044cf8]
call fcn.140029e60
test rax, rax
je 0x140008ace
sub eax, dword [r15]
cmp eax, ebx
je 0x140008ace
mov r8, rdi
lea rdx, [0x140044440]
lea rcx, [rbp - 0x78]
call fcn.1400074b0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.1400016a0
nop
mov rdx, qword [rbp - 0x78]
jmp 0x140008af6
mov r8, rdi
lea rdx, [0x140044cf8]
lea rcx, [rbp - 0x60]
call fcn.1400074b0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.1400016a0
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008b0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140008be1
mov rcx, qword [r15]
cmp dword [rcx - 0x10], 0
jl 0x140008b82
lea rdx, [0x140044cf8]
call fcn.140029e60
test rax, rax
je 0x140008b82
sub eax, dword [r15]
cmp eax, 0xffffffff
je 0x140008b82
lea rcx, [rbp - 0x50]
call fcn.140007590
nop
mov r8, rax
lea rdx, str.rnd
lea rcx, [rbp - 0x30]
call fcn.1400074b0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.1400016a0
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008b7c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
jmp 0x140008bcd
lea rcx, [rbp - 0x40]
call fcn.140007590
nop
mov r8, rax
lea rdx, str._rnd
lea rcx, [rbp - 0x20]
call fcn.1400074b0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.1400016a0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008bc9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008be1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str.Downloading_from:
test rdx, 0xffffffffffff0000
jne 0x140008c2e
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140008c3f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002140
jmp 0x140008c3f
mov r8d, 0x12
lea rcx, [rsp + 0x68]
call fcn.140002fd0
nop
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.DownloadFile__
test rdx, 0xffffffffffff0000
jne 0x140008c8c
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140008c9d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002140
jmp 0x140008c9d
mov r8d, 0xe
lea rcx, [rsp + 0x48]
call fcn.140002fd0
nop
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140003de0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140003de0
nop
mov rcx, qword [r13 + 0x18]
xor esi, esi
test rcx, rcx
je 0x140008cfc
lea rdx, [r13 + 0x10]
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [rsp + 0x48]
call fcn.140002280
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008d15
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008d2e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008d48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008d62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008d7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 1]
call fcn.14002b2f0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov r9d, 0x104
lea r8, [rbp]
mov rdx, qword [r15]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToCacheFileA
lea rcx, [0x1400622e0]
test eax, eax
mov rax, qword [0x1400622e0]
je 0x140008fe1
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, str.Download_failed
test rdx, 0xffffffffffff0000
jne 0x140008e02
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140008e13
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002140
jmp 0x140008e13
mov r8d, 0xf
lea rcx, [rsp + 0x38]
call fcn.140002fd0
nop
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, str.DownloadFile
test rdx, 0xffffffffffff0000
jne 0x140008e60
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140008e71
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002140
jmp 0x140008e71
mov r8d, 0xc
lea rcx, [rsp + 0x58]
call fcn.140002fd0
nop
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.140003de0
mov rdi, rax
mov rdx, rax
mov rcx, qword [r13 + 8]
call fcn.140001280
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140008ece
lea rdx, [r13 + 0x10]
mov dword [rsp + 0x20], 2
mov r9, rdi
lea r8, [rsp + 0x58]
call fcn.140002280
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008ee7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008f00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008f1a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008f33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.__CR__FAILED_
test rdx, 0xffffffffffff0000
jne 0x140008f80
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140008f91
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002140
jmp 0x140008f91
mov r8d, 0xd
lea rcx, [rsp + 0x40]
call fcn.140002fd0
nop
lea r8, str.DOWNLOAD_READ__CR__
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140001550
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008fc0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140009303
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x140009303
call qword [rax + 0x18]
lea rcx, [rax + 0x18]
mov qword [rsp + 0x30], rcx
lea rdx, [rbp]
lea rax, [rbp]
test rax, 0xffffffffffff0000
jne 0x140009027
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140009115
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002140
jmp 0x140009115
lea rax, [rbp]
mov rdi, rbx
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140009030
test edi, edi
jne 0x140009099
lea rdx, [rcx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140009115
cmp dword [rdx + 0x10], 0
jge 0x140009075
cmp dword [rcx - 0xc], 0
jge 0x140009065
mov ecx, 0x80070057
call fcn.140001850
int3
mov dword [rcx - 0x10], esi
mov rax, qword [rsp + 0x30]
mov byte [rax], 0
jmp 0x140009115
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140009085
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140009115
mov r14d, dword [rcx - 0x10]
lea rsi, [rbp]
sub rsi, rcx
test edi, edi
jns 0x1400090b3
mov ecx, 0x80070057
call fcn.140001850
int3
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400090d5
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400029e0
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx - 0xc]
cmp rsi, r14
movsxd r14, edi
mov r9, r14
ja 0x1400090ef
lea r8, [rsi + rcx]
call fcn.1400296b4
jmp 0x1400090f8
lea r8, [rbp]
call fcn.140029610
mov rax, qword [rsp + 0x30]
cmp edi, dword [rax - 0xc]
jg 0x1400092f8
mov dword [rax - 0x10], edi
mov rax, qword [rsp + 0x30]
mov byte [r14 + rax], 0
xor esi, esi
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.Successfully_Downloaded_to:
test rdx, 0xffffffffffff0000
jne 0x140009162
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x140009173
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002140
jmp 0x140009173
mov r8d, 0x1c
lea rcx, [rsp + 0x60]
call fcn.140002fd0
nop
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.DownloadFile
test rdx, 0xffffffffffff0000
jne 0x1400091c0
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.1400017a0
test rax, rax
je 0x1400091d1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002140
jmp 0x1400091d1
mov r8d, 0xc
lea rcx, [rsp + 0x50]
call fcn.140002fd0
nop
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x38]
call fcn.140003de0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140003de0
nop
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140009230
lea rdx, [r13 + 0x10]
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [rsp + 0x50]
call fcn.140002280
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140009249
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140009262
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000927c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140009296
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400092af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140001870
add rax, 0x18
mov qword [r12], rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400092df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140009303
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140009303
mov ecx, 0x80070057
call fcn.140001850
nop
mov rax, r12
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14002b2c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret