Function at 0x1400343d0
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 [0x140200d38]
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 0x140034806
test edx, edx
jle 0x140034806
cmp qword [r8 + 0x10], r12
je 0x140034806
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.140014f60
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.140140260
mov dword [rbp - 0x70], 0x68
mov eax, 0x50
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x5c], r13d
cmp qword [rbx + 0x18], 8
jb 0x1400344af
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 0x1400345c4
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov edx, dword [rbp - 0x80]
lea r8, [rsp + 0x30]
lea rcx, [rbp]
call fcn.140023900
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 0x140034583
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x140034536
mov rax, qword [rbp + 0x38]
cmp rdx, rax
ja 0x140034573
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.14013fdf0
mov word [rbx + rdi], r12w
jmp 0x140034583
mov r9, rsi
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.140014f60
nop
test rsi, rsi
je 0x1400345c4
mov rax, qword [rbp + 0x10]
sub rax, rsi
sar rax, 1
lea rdx, [rax + rax]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400345bb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034837
mov rcx, rsi
call fcn.1401218ec
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140034606
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034601
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003483d
call fcn.1401218ec
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
cmp qword [rbp + 0x30], 0
je 0x1400347ca
lea r8, [0x1401b4330]
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140033530
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rax, 0xb
jb 0x140034681
lea rsi, [rcx + 0xb]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp r8, 8
jb 0x140034664
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, reloc.OLEAUT32.dll_SafeArrayAccessData
lea rdx, str.favicon.ico
call fcn.14013fdf0
mov word [rdi + rsi*2], r12w
jmp 0x1400346a3
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str.favicon.ico
xor r8d, r8d
lea edx, [r8 + 0xb]
mov rcx, rbx
call fcn.140022280
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 0x140034714
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003470f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034843
call fcn.1401218ec
movdqa xmm0, xmmword [0x1401b5bd0]
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 0x140034789
mov r8, r15
lea rcx, [rbp]
call fcn.14001ec30
movzx r14d, al
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call fcn.140154be4
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400347ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400347c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034849
call fcn.1401218ec
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140034806
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034801
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034831
call fcn.1401218ec
movzx eax, r14b
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140121cc0
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.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
int3