Function at 0x140004b00
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 [0x140016040]
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, 7
lea rdx, str.app.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 [0x1400173a0], eax
jle 0x140004bca
lea rcx, [0x1400173a0]
call fcn.14000cc48
cmp dword [0x1400173a0], 0xffffffff
jne 0x140004bca
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400173b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x29]
call fcn.140002b40
lea rcx, [0x14000e730]
call fcn.14000cff4
nop
lea rcx, [0x1400173a0]
call fcn.14000cbdc
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, [0x1400173b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140004c45
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movdqa xmm0, xmmword [0x140010360]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140004c94
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov r8d, 7
lea rdx, str.app.log
lea rcx, [rbp + 0x1f]
call fcn.1400034f0
nop
mov eax, dword [rdi]
cmp dword [0x1400173a0], eax
jle 0x140004d0f
lea rcx, [0x1400173a0]
call fcn.14000cc48
cmp dword [0x1400173a0], 0xffffffff
jne 0x140004d0f
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400173b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1f]
call fcn.140002b40
lea rcx, [0x14000e730]
call fcn.14000cff4
nop
lea rcx, [0x1400173a0]
call fcn.14000cbdc
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xc
jb 0x140004f93
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004d37
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.14000bae0
nop
mov r8d, 4
lea rdx, str._to
lea rcx, [rbp - 1]
call fcn.140009a10
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, [0x1400160d8]
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.140009450
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, [0x1400173b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140004e3b
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movdqa xmm0, xmmword [0x140010360]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140004e8a
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movdqa xmm0, xmmword [0x140010360]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140004ed9
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ed4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ed4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movdqa xmm0, xmmword [0x140010360]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140004f28
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
cmp qword [0x1400160f0], 0xf
cmova rdi, qword [0x1400160d8]
cmp qword [rbx + 0x18], 0xf
jbe 0x140004f42
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 0x140004f70
lea rcx, [0x14000fbe8]
call fcn.1400013c0
mov al, 1
jmp 0x140004f72
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000cb80
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