Function at 0x140106ddc
Capabilities:
Download url
Receive data

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx r13d, r8b
mov byte [rsp + 0x30], r13b
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x60], rcx
lea rsi, [rdx + 0x40]
xor ebx, ebx
cmp qword [rsi + 0x10], rbx
je 0x1401071f3
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.1401e138c
nop
lea r9, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae r9, qword [rsp + 0x70]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1401f19d0
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
mov rcx, qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_towlower]
mov qword [rsp + 0x20], rcx
mov r8, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.14010579c
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
lea r12, [r8 - 3]
lea r15d, [rbx + 1]
cmp r8, 3
jb 0x140106f25
lea rax, [r8 - 3]
mov rcx, r12
cmp rax, r12
cmovb rcx, rax
lea rax, [rdx + rcx*2]
lea r9, [0x14031aba0]
mov rcx, rax
sub rcx, r9
lea r11d, [rbx + 0x70]
cmp word [rax], r11w
jne 0x140106f0e
mov edi, 3
mov r10d, r11d
cmp r10w, r11w
ja 0x140106f01
cmp rdi, r15
je 0x140106f1d
sub rdi, r15
add r9, 2
movzx r10d, word [r9 + rcx]
movzx r11d, word [r9]
cmp r10w, r11w
jae 0x140106ee4
lea r9, [0x14031aba0]
mov r11d, Ordinal_113
cmp rax, rdx
je 0x140106f25
sub rax, 2
sub rcx, 2
jmp 0x140106ed2
sub rax, rdx
sar rax, 1
jmp 0x140106f29
or rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x140106f39
mov edi, 2
jmp 0x140106fce
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
cmp r8, 3
jb 0x140106fc0
lea rax, [r8 - 3]
cmp rax, r12
cmovb r12, rax
lea rax, [rcx + r12*2]
lea r12, [0x14031aba8]
mov rdx, rax
sub rdx, r12
mov edi, 0x73
cmp word [rax], di
jne 0x140106fa9
mov r11d, 3
mov r8, r12
mov r9d, edi
mov r10d, edi
cmp r9w, r10w
ja 0x140106fa9
cmp r11, r15
je 0x140106fb8
sub r11, r15
add r8, 2
movzx r9d, word [r8 + rdx]
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x140106f8c
cmp rax, rcx
je 0x140106fc0
sub rax, 2
sub rdx, 2
jmp 0x140106f74
sub rax, rcx
sar rax, 1
jmp 0x140106fc4
or rax, 0xffffffffffffffff
mov edi, ebx
cmp rax, 0xffffffffffffffff
cmovne edi, r15d
test edi, edi
setne cl
call fcn.1400fd2e0
mov qword [rsp + 0x40], rbx
cmp qword [rsi + 0x18], 8
jb 0x140106fe7
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
nop dword [rax + rax]
mov r12d, eax
mov dword [rsp + 0x58], eax
test eax, eax
js 0x140107181
lea rcx, [rsp + 0x48]
call fcn.1400f9b18
mov rsi, qword [rsp + 0x38]
sub rsi, 0xffffffffffffff80
mov rdx, rax
mov rcx, rsi
call fcn.140105850
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140107041
call fcn.140085524
mov rax, qword [rsi]
mov word [rax], r15w
mov ecx, edi
sub ecx, 1
je 0x1401070ef
cmp ecx, 1
jne 0x140107181
mov rdi, qword [r14]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x14010707c
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006b68f.0]
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140103838
mov rcx, qword [rsi]
lea rcx, [rcx + r13*8]
add rcx, 8
mov rdx, rax
call fcn.1400f9f94
cmp qword [rsp + 0x48], rbx
je 0x1401070b2
lea rcx, [rsp + 0x48]
call fcn.1400f621c
mov rdx, qword [rsi]
mov rax, r13
xor rax, r15
lea rdi, [rdx + rax*8]
mov rsi, qword [rdx + r13*8 + 8]
cmp qword [rdi + 8], rsi
je 0x140107186
cmp qword [rdi + 8], rbx
je 0x1401070dd
lea rcx, [rdi + 8]
call fcn.1400f621c
mov qword [rdi + 8], rsi
lea rcx, [rdi + 8]
call fcn.1400fca00
jmp 0x140107186
mov r13, qword [r14]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x14010710f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006b68f.0]
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.1401038fc
mov rcx, qword [rsi]
movzx r13d, byte [rsp + 0x30]
lea rcx, [rcx + r13*8]
add rcx, 0x18
mov rdx, rax
call fcn.1400f9f94
cmp qword [rsp + 0x48], rbx
je 0x14010714b
lea rcx, [rsp + 0x48]
call fcn.1400f621c
mov rdx, qword [rsi]
movzx eax, byte [rsp + 0x30]
xor rax, r15
lea rsi, [rdx + rax*8]
mov r15, qword [rdx + r13*8 + 0x18]
cmp qword [rsi + 0x18], r15
je 0x1401071a7
cmp qword [rsi + 0x18], rbx
je 0x140107174
lea rcx, [rsi + 0x18]
call fcn.1400f621c
mov qword [rsi + 0x18], r15
lea rcx, [rsi + 0x18]
call fcn.1400fca00
cmp edi, 2
jne 0x1401071a7
mov rax, qword [r14]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x48], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
jmp 0x1401071cb
test r12d, r12d
jns 0x1401071d6
mov rax, qword [r14]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x38], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140105534
nop
cmp qword [rsp + 0x40], rbx
je 0x1401071e8
lea rcx, [rsp + 0x40]
call fcn.1400f621c
nop
lea rcx, [rsp + 0x70]
call fcn.14000a8ac
nop
jmp 0x1401071fa
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140107208
call fcn.140085524
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret