Function at 0x14003a740
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rbp + 0x40], 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 0x14003ab80
test edx, edx
jle 0x14003ab80
cmp qword [r8 + 0x10], r12
je 0x14003ab80
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.140016ea0
nop
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r12w
mov r13d, 1
mov dword [rsp + 0x34], r13d
xor edx, edx
lea r8d, [r12 + 0x68]
lea rcx, [rbp - 0x70]
call fcn.14015e120
mov dword [rbp - 0x70], 0x68
mov eax, 0x50
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x5c], r13d
cmp qword [rbx + 0x18], 8
jb 0x14003a81f
mov rbx, qword [rbx]
mov qword [rbp - 0x58], rbx
mov rax, qword [rdi]
mov dword [rbp - 0x50], eax
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov qword [rbp - 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x80], r12d
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x14003a93e
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x14003a93e
xor ecx, ecx
mov qword [rbp], rcx
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rcx
mov edx, eax
lea r8, [rsp + 0x30]
lea rcx, [rbp]
call fcn.140025f20
nop
lea r9, [rbp - 0x80]
mov rsi, qword [rbp]
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
je 0x14003a8fd
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14003a8b0
mov rax, qword [rbp + 0x38]
cmp rdx, rax
ja 0x14003a8ed
lea rdi, [rbp + 0x20]
cmp rax, 8
cmovae rdi, qword [rbp + 0x20]
mov qword [rbp + 0x30], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14015dc80
mov word [rbx + rdi], r12w
jmp 0x14003a8fd
mov r9, rsi
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.140016ea0
nop
test rsi, rsi
je 0x14003a93e
mov rax, qword [rbp + 0x10]
sub rax, rsi
sar rax, 1
lea rdx, [rax + rax]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003a935
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003abb1
mov rcx, rsi
call fcn.14013f180
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14003a980
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003abb7
call fcn.14013f180
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
cmp qword [rbp + 0x30], 0
je 0x14003ab44
lea r8, [0x1401d8ff0]
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140034fe0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rax, 0xb
jb 0x14003a9fb
lea rsi, [rcx + 0xb]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x14003a9de
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, reloc.OLEAUT32.dll_SafeArrayAccessData
lea rdx, str.favicon.ico
call fcn.14015dc80
mov word [rdi + rsi*2], r12w
jmp 0x14003aa1d
mov qword [rsp + 0x20], VariantTimeToDosDateTime
lea r9, str.favicon.ico
xor r8d, r8d
lea edx, [r8 + 0xb]
mov rcx, rbx
call fcn.1400249f0
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], 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 0x14003aa8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003abbd
call fcn.14013f180
movdqa xmm0, xmmword [0x1401da830]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
xor bl, bl
lea r8, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r8, qword [rbp]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
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 0x14003ab03
mov r8, r15
lea rcx, [rbp]
call fcn.140021290
movzx r14d, al
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call fcn.140172bc0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14003ab44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003abc3
call fcn.14013f180
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14003ab80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003abab
call fcn.14013f180
movzx eax, r14b
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14013f550
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14016111c
nop
call fcn.14016111c
nop
call fcn.14016111c
nop
call fcn.14016111c
nop
call fcn.14016111c
int3