Function at 0x140006d00
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14023a098]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov rdi, rdx
mov qword [rbp - 0x29], rdx
mov qword [rbp - 0x21], r8
mov r9, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140006d41
mov r9, qword [rdx]
lea r8, str.Downloading_updated_file_from:__s
mov edx, 0x400
lea rcx, [0x140246640]
call fcn.14000b1b0
lea rdx, [0x140246640]
lea rcx, [0x140248ef0]
call fcn.140001350
mov rcx, rax
call fcn.140002fd0
xor r15d, r15d
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], r15b
mov rax, qword [rdi + 0x10]
lea rbx, [rax*4 + 4]
test rbx, rbx
jne 0x140006dba
mov qword [rbp + 0x17], rbx
mov byte [rbp + rbx + 7], bl
jmp 0x140006dec
lea rcx, [rbp + 7]
cmp rbx, 0xf
ja 0x140006dd9
mov qword [rbp + 0x17], rbx
mov r8, rbx
xor edx, edx
call fcn.140150cb0
mov byte [rbp + rbx + 7], 0
jmp 0x140006dec
mov byte [rsp + 0x20], 0
mov r9, rbx
xor r8d, r8d
mov rdx, rbx
call fcn.140002dc0
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140006df9
mov rcx, qword [rdi]
lea rdx, [rbp + 7]
call fcn.14000ad30
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140006e33
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp rdx, 0x10
cmovae rax, qword [rbp + 7]
mov word [rax + rcx], 0
jmp 0x140006e53
mov qword [rsp + 0x20], 1
lea r9, [0x1401d8b81]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 7]
call fcn.140001630
mov rax, qword [rdi + 0x10]
lea rcx, [rax*4 + 4]
mov rdx, qword [rbp - 9]
cmp rcx, rdx
ja 0x140006e80
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rax, qword [rbp - 0x19]
mov qword [rbp - 9], rcx
mov byte [rax + rcx], 0
jmp 0x140006ed4
mov r14, rcx
sub r14, rdx
mov r8, qword [rbp - 1]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x140006ebd
mov qword [rbp - 9], rcx
lea rbx, [rbp - 0x19]
cmp r8, 0x10
cmovae rbx, qword [rbp - 0x19]
add rbx, rdx
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.140150cb0
mov byte [rbx + r14], 0
jmp 0x140006ed4
mov byte [rsp + 0x20], 0
mov r9, r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.140002dc0
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140006ee1
mov rcx, qword [rsi]
lea rdx, [rbp - 0x19]
call fcn.14000ad30
mov rcx, qword [rbp - 9]
mov rdx, qword [rbp - 1]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140006f1b
lea rax, [rcx + 1]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x19]
mov word [rax + rcx], 0
jmp 0x140006f3b
mov qword [rsp + 0x20], 1
lea r9, [0x1401d8b81]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x19]
call fcn.140001630
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae r8, qword [rbp - 0x19]
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileW
mov edx, 0x400
lea rcx, [0x140246640]
test eax, eax
je 0x1400070c5
mov r9d, eax
lea r8, str.Unable_to_download_file._Error_code:__d
call fcn.14000b1b0
lea rdx, [0x140246640]
lea rcx, [0x140248ef0]
call fcn.140001350
mov rcx, rax
call fcn.140002fd0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140006fe0
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007242
call fcn.14014d578
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14000702b
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007248
call fcn.14014d578
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140007075
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140007070
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007236
mov rcx, r8
call fcn.14014d578
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400070be
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400070b9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000723c
mov rcx, r8
call fcn.14014d578
xor al, al
jmp 0x140007204
lea r8, str.File_downloaded_OK
call fcn.14000b1b0
lea rdx, [0x140246640]
lea rcx, [0x140248ef0]
call fcn.140001350
mov rcx, rax
call fcn.140002fd0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140007128
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007123
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007242
call fcn.14014d578
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140007173
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000716e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007248
call fcn.14014d578
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400071bd
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400071b8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007236
mov rcx, r8
call fcn.14014d578
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007202
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400071fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000723c
mov rcx, r8
call fcn.14014d578
mov al, 1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14014d690
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14015ef18
nop
call fcn.14015ef18
nop
call fcn.14015ef18
nop
call fcn.14015ef18
int3