Function at 0x1400220a0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x14009a0a0]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x180], rdx
mov qword [rsp + 0x68], r8
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400220ec
mov rdx, qword [r8]
lea rcx, [rsp + 0x70]
call fcn.1400279e0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rsp + rcx + 0x80]
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x80]
call fcn.1400067c0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r13
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x6c], edx
lea r12, vtable.std::ios_base.0
mov qword [rsp + 0x120], r12
lea rcx, [rsp + 0x120]
call fcn.14003f264
nop
test ebx, ebx
jne 0x14002220c
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400221a6
mov rcx, qword [rsi]
call fcn.1400545ac
mov rcx, qword [rsi + 0x10]
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rcx
cmp rax, 0x31
jb 0x140022cbf
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400221d6
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x31
lea r9, str.Updater.DownloadUpdater_Deleting_old_update_from
lea rcx, [rsp + 0x1a8]
call fcn.14000a730
lea rcx, [rsp + 0x1a8]
call fcn.140030470
jmp 0x140022216
movabs r14, 0x7fffffffffffffff
jmp 0x140022244
xor ebx, ebx
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 0x12
jb 0x140022cb9
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140022271
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x12
lea r9, str.About_to_download
lea rcx, [rsp + 0x1a8]
call fcn.14000a730
nop
mov r8d, 4
lea rdx, str._to
lea rcx, [rsp + 0x1a8]
call fcn.140008020
xor ecx, ecx
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x198], rcx
mov qword [rsp + 0x1a0], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x198], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400222ff
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x188]
call fcn.140008020
xor ecx, ecx
mov qword [rsp + 0x1c8], rcx
mov qword [rsp + 0x1d8], rcx
mov qword [rsp + 0x1e0], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1d8], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
lea rcx, [rsp + 0x1c8]
call fcn.140030470
nop
mov rdx, qword [rsp + 0x1a0]
cmp rdx, 0x10
jb 0x1400223a0
inc rdx
mov rcx, qword [rsp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002239b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022ccb
call fcn.140040d10
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0xf
mov byte [rsp + 0x188], 0
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 0x10
jb 0x140022403
inc rdx
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400223fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022cd1
call fcn.140040d10
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rdi + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 0x12
jb 0x140022d11
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140022431
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x12
lea r9, str.About_to_download
lea rcx, [rsp + 0x1a8]
call fcn.14000a730
nop
mov r8d, 4
lea rdx, str._to
lea rcx, [rsp + 0x1a8]
call fcn.140008020
xor ecx, ecx
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x198], rcx
mov qword [rsp + 0x1a0], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x198], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400224bf
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x188]
call fcn.140008020
xor ecx, ecx
mov qword [rsp + 0x1c8], rcx
mov qword [rsp + 0x1d8], rcx
mov qword [rsp + 0x1e0], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1d8], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0xf
lea r8d, [rcx + 0x18]
lea rdx, str.Updater::DownloadUpdater
lea rcx, [rsp + 0x40]
call fcn.140007ec0
nop
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x40]
call fcn.140019ed0
nop
mov rdx, qword [rsp + 0x1a0]
cmp rdx, 0x10
jb 0x14002258e
inc rdx
mov rcx, qword [rsp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022cd7
call fcn.140040d10
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0xf
mov byte [rsp + 0x188], 0
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 0x10
jb 0x1400225f1
inc rdx
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400225ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022cdd
call fcn.140040d10
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400225fe
mov r8, qword [rsi]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002260b
mov rdx, qword [rdi]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
inc ebx
test eax, eax
je 0x140022909
cmp ebx, 3
jl 0x140022250
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov edx, eax
lea rcx, [rsp + 0x1e8]
call fcn.140001f60
nop
mov r9d, 0xb
lea r8, str.Error_code
mov rcx, rax
call fcn.14000b550
xor ebx, ebx
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1e0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1d8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea r8d, [rbx + 0x19]
lea rdx, str._while_downloading_from:
lea rcx, [rsp + 0x1c8]
call fcn.140008020
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x198], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140022702
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x188]
call fcn.140008020
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x1c0], 0xf
mov r8d, 0xf
lea rdx, str.DownloadUpdater
lea rcx, [rsp + 0x1a8]
call fcn.140007ec0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1a8]
call fcn.14001a180
nop
mov rdx, qword [rsp + 0x1a0]
cmp rdx, 0x10
jb 0x1400227cf
inc rdx
mov rcx, qword [rsp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400227ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022cc5
call fcn.140040d10
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], 0xf
mov byte [rsp + 0x188], 0
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0x10
jb 0x14002282e
inc rdx
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022ce3
call fcn.140040d10
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1e0], 0xf
mov byte [rsp + 0x1c8], 0
mov rdx, qword [rsp + 0x200]
cmp rdx, 0x10
jb 0x14002288e
inc rdx
mov rcx, qword [rsp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022ce9
call fcn.140040d10
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400228c8
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400228c3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022d0b
mov rcx, r8
call fcn.140040d10
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, 6
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.140040cf0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], 0xf
lea r8d, [rax + 0x11]
lea rdx, str.Download_complete
lea rcx, [rsp + 0x1a8]
call fcn.140007ec0
lea rcx, [rsp + 0x1a8]
call fcn.140030470
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002295a
mov rdx, qword [rsi]
lea rcx, [rsp + 0x70]
call fcn.1400279e0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rsp + rcx + 0x80]
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x80]
call fcn.1400067c0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r13
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x6c], edx
mov qword [rsp + 0x120], r12
lea rcx, [rsp + 0x120]
call fcn.14003f264
nop
test ebx, ebx
je 0x140022c4e
mov rcx, qword [rsi + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 0x28
jb 0x140022cef
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140022a17
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x28
lea r9, str.Updater.DownloadUpdater_downloaded_file
lea rcx, [rsp + 0x1a8]
call fcn.14000a730
nop
mov r8d, 0xf
lea rdx, str._does_not_exist
lea rcx, [rsp + 0x1a8]
call fcn.140008020
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rcx, [rsp + 0x40]
call fcn.140030470
nop
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 0x10
jb 0x140022ad7
inc rdx
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022ad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022cf4
call fcn.140040d10
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi + 0x10]
sub r14, rax
cmp r14, 0x10
jb 0x140022cfa
cmp qword [rsi + 0x18], 0x10
jb 0x140022afc
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0x10
lea r9, str.Downloaded_file
lea rcx, [rsp + 0x1c8]
call fcn.14000a730
nop
mov r8d, 0xf
lea rdx, str._does_not_exist
lea rcx, [rsp + 0x1c8]
call fcn.140008020
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x1c0], 0xf
mov r8d, 0xf
lea rdx, str.DownloadUpdater
lea rcx, [rsp + 0x1a8]
call fcn.140007ec0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1a8]
call fcn.14001a180
nop
mov rdx, qword [rsp + 0x1e0]
cmp rdx, 0x10
jb 0x140022bfb
inc rdx
mov rcx, qword [rsp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022bf5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022cff
call fcn.140040d10
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140022c35
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140022c30
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022d05
mov rcx, r8
call fcn.140040d10
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, 7
jmp 0x1400228dc
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140022c88
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140022c83
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022d0b
mov rcx, r8
call fcn.140040d10
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor eax, eax
jmp 0x1400228dc
call fcn.140001380
nop
call fcn.140001380
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140053844
nop
call fcn.140001380
call fcn.140053844
int3
call fcn.140001380
call fcn.140053844
nop
call fcn.140053844
int3
call fcn.140053844
nop
call fcn.140001380
int3