Function at 0x14003f360
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r15, r8
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
xor r14b, r14b
lea rdi, [rcx + 0x10]
cmp qword [rdi], r12
je 0x14003f7a0
test edx, edx
jle 0x14003f7a0
cmp qword [r8 + 0x10], r12
je 0x14003f7a0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
lea r9, str.favicon.ico
xor r8d, r8d
lea edx, [r12 + 0xb]
lea rcx, [rsp + 0x38]
call fcn.14001f490
nop
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r12w
mov r13d, 1
mov dword [rsp + 0x34], r13d
xor edx, edx
lea r8d, [r12 + 0x68]
lea rcx, [rbp - 0x80]
call fcn.140167e60
mov dword [rbp - 0x80], 0x68
mov eax, 0x50
mov word [rbp - 0x5c], ax
mov dword [rbp - 0x6c], r13d
cmp qword [rbx + 0x18], 8
jb 0x14003f43f
mov rbx, qword [rbx]
mov qword [rbp - 0x68], rbx
mov rax, qword [rdi]
mov dword [rbp - 0x60], eax
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov qword [rbp - 0x38], rax
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x10], r12d
lea r9, [rbp - 0x10]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x14003f55e
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x14003f55e
xor ecx, ecx
mov qword [rbp - 8], rcx
mov qword [rbp], rcx
mov qword [rbp + 8], rcx
mov edx, eax
lea r8, [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.14002dc00
nop
lea r9, [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
je 0x14003f51d
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14003f4d0
mov rax, qword [rbp + 0x30]
cmp rdx, rax
ja 0x14003f50d
lea rdi, [rbp + 0x18]
cmp rax, 8
cmovae rdi, qword [rbp + 0x18]
mov qword [rbp + 0x28], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1401679c0
mov word [rbx + rdi], r12w
jmp 0x14003f51d
mov r9, rsi
xor r8d, r8d
lea rcx, [rbp + 0x18]
call fcn.14001f490
nop
test rsi, rsi
je 0x14003f55e
mov rax, qword [rbp + 8]
sub rax, rsi
sar rax, 1
lea rdx, [rax + rax]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003f555
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7d1
mov rcx, rsi
call fcn.140148ec0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14003f5a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f59b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7d7
call fcn.140148ec0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
cmp qword [rbp + 0x28], 0
je 0x14003f764
lea r8, [0x1401e6f88]
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.1400387e0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rax, 0xb
jb 0x14003f61b
lea rsi, [rcx + 0xb]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x14003f5fe
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, reloc.OLEAUT32.dll_SafeArrayAccessData
lea rdx, str.favicon.ico
call fcn.1401679c0
mov word [rdi + rsi*2], r12w
jmp 0x14003f63d
mov qword [rsp + 0x20], VariantTimeToDosDateTime
lea r9, str.favicon.ico
xor r8d, r8d
lea edx, [r8 + 0xb]
mov rcx, rbx
call fcn.14002c6d0
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov dword [rsp + 0x34], 3
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14003f6ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f6a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7dd
call fcn.140148ec0
movdqa xmm0, xmmword [0x1401e87c0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
xor bl, bl
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r8, qword [rbp - 8]
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
movzx r14d, bl
test eax, eax
cmovns r14d, r13d
test r14b, r14b
je 0x14003f723
mov r8, r15
lea rcx, [rbp - 8]
call fcn.140028dd0
movzx r14d, al
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
call fcn.14017cedc
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x14003f764
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f75e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7e3
call fcn.140148ec0
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14003f7a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f79b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7cb
call fcn.140148ec0
movzx eax, r14b
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140149290
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14016ae5c
nop
call fcn.14016ae5c
nop
call fcn.14016ae5c
nop
call fcn.14016ae5c
nop
call fcn.14016ae5c
int3