Function at 0x140004f90
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
lea rax, vtable.Utils::DownloadProgress.0
mov qword [rbp + 0x3f], rax
lea rax, vtable.Utils::DownloadProgress.1.0
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, 0xb
lea rdx, str.updater.log
lea rcx, [rbp - 0x29]
call fcn.1400034f0
nop
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1400183a0], eax
jle 0x14000505a
lea rcx, [0x1400183a0]
call fcn.14000d318
cmp dword [0x1400183a0], 0xffffffff
jne 0x14000505a
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400183b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x29]
call fcn.140002b40
lea rcx, [0x14000ee30]
call fcn.14000d6c4
nop
lea rcx, [0x1400183a0]
call fcn.14000d2ac
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov r8d, 0x10
lea rdx, str.Started_download
lea rcx, [rbp - 0x49]
call fcn.1400034f0
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x49]
lea rcx, [0x1400183b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1400050d5
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movdqa xmm0, xmmword [0x140011540]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140005124
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000511f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000511f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov r8d, 0xb
lea rdx, str.updater.log
lea rcx, [rbp + 0x1f]
call fcn.1400034f0
nop
mov eax, dword [rdi]
cmp dword [0x1400183a0], eax
jle 0x14000519f
lea rcx, [0x1400183a0]
call fcn.14000d318
cmp dword [0x1400183a0], 0xffffffff
jne 0x14000519f
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400183b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1f]
call fcn.140002b40
lea rcx, [0x14000ee30]
call fcn.14000d6c4
nop
lea rcx, [0x1400183a0]
call fcn.14000d2ac
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xc
jb 0x140005423
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400051c7
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xc
lea r9, str.Downloading
lea rcx, [rbp - 1]
call fcn.14000c1b0
nop
mov r8d, 4
lea rdx, str._to
lea rcx, [rbp - 1]
call fcn.14000a120
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdi, [0x1400170d8]
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.140009b20
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [0x1400183b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400052cb
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movdqa xmm0, xmmword [0x140011540]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000531a
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005315
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movdqa xmm0, xmmword [0x140011540]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140005369
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005364
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movdqa xmm0, xmmword [0x140011540]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x1400053b8
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
cmp qword [0x1400170f0], 0xf
cmova rdi, qword [0x1400170d8]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400053d2
mov rbx, qword [rbx]
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
js 0x140005400
lea rcx, [0x140010d88]
call fcn.1400013c0
mov al, 1
jmp 0x140005402
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000d250
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400015c0
nop
int3