Function at 0x140106d5c
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 [0x140379a08]
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 0x140107173
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.1401d4370
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.1401f4478
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.14010571c
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 0x140106ea5
lea rax, [r8 - 3]
mov rcx, r12
cmp rax, r12
cmovb rcx, rax
lea rax, [rdx + rcx*2]
lea r9, [0x14030d4b8]
mov rcx, rax
sub rcx, r9
lea r11d, [rbx + 0x70]
cmp word [rax], r11w
jne 0x140106e8e
mov edi, 3
mov r10d, r11d
cmp r10w, r11w
ja 0x140106e81
cmp rdi, r15
je 0x140106e9d
sub rdi, r15
add r9, 2
movzx r10d, word [r9 + rcx]
movzx r11d, word [r9]
cmp r10w, r11w
jae 0x140106e64
lea r9, [0x14030d4b8]
mov r11d, Ordinal_113
cmp rax, rdx
je 0x140106ea5
sub rax, 2
sub rcx, 2
jmp 0x140106e52
sub rax, rdx
sar rax, 1
jmp 0x140106ea9
or rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x140106eb9
mov edi, 2
jmp 0x140106f4e
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
cmp r8, 3
jb 0x140106f40
lea rax, [r8 - 3]
cmp rax, r12
cmovb r12, rax
lea rax, [rcx + r12*2]
lea r12, [0x14030d4c0]
mov rdx, rax
sub rdx, r12
mov edi, 0x73
cmp word [rax], di
jne 0x140106f29
mov r11d, 3
mov r8, r12
mov r9d, edi
mov r10d, edi
cmp r9w, r10w
ja 0x140106f29
cmp r11, r15
je 0x140106f38
sub r11, r15
add r8, 2
movzx r9d, word [r8 + rdx]
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x140106f0c
cmp rax, rcx
je 0x140106f40
sub rax, 2
sub rdx, 2
jmp 0x140106ef4
sub rax, rcx
sar rax, 1
jmp 0x140106f44
or rax, 0xffffffffffffffff
mov edi, ebx
cmp rax, 0xffffffffffffffff
cmovne edi, r15d
test edi, edi
setne cl
call fcn.1400fcd00
mov qword [rsp + 0x40], rbx
cmp qword [rsi + 0x18], 8
jb 0x140106f67
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 0x140107101
lea rcx, [rsp + 0x48]
call fcn.1400f9408
mov rsi, qword [rsp + 0x38]
sub rsi, 0xffffffffffffff80
mov rdx, rax
mov rcx, rsi
call fcn.1401057d0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140106fc1
call fcn.140086144
mov rax, qword [rsi]
mov word [rax], r15w
mov ecx, edi
sub ecx, 1
je 0x14010706f
cmp ecx, 1
jne 0x140107101
mov rdi, qword [r14]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x140106ffc
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006c37f.0]
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1401037b8
mov rcx, qword [rsi]
lea rcx, [rcx + r13*8]
add rcx, 8
mov rdx, rax
call fcn.1400f98a4
cmp qword [rsp + 0x48], rbx
je 0x140107032
lea rcx, [rsp + 0x48]
call fcn.1400f5fbc
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 0x140107106
cmp qword [rdi + 8], rbx
je 0x14010705d
lea rcx, [rdi + 8]
call fcn.1400f5fbc
mov qword [rdi + 8], rsi
lea rcx, [rdi + 8]
call fcn.1400fc420
jmp 0x140107106
mov r13, qword [r14]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x14010708f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006c37f.0]
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.14010387c
mov rcx, qword [rsi]
movzx r13d, byte [rsp + 0x30]
lea rcx, [rcx + r13*8]
add rcx, 0x18
mov rdx, rax
call fcn.1400f98a4
cmp qword [rsp + 0x48], rbx
je 0x1401070cb
lea rcx, [rsp + 0x48]
call fcn.1400f5fbc
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 0x140107127
cmp qword [rsi + 0x18], rbx
je 0x1401070f4
lea rcx, [rsi + 0x18]
call fcn.1400f5fbc
mov qword [rsi + 0x18], r15
lea rcx, [rsi + 0x18]
call fcn.1400fc420
cmp edi, 2
jne 0x140107127
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 0x14010714b
test r12d, r12d
jns 0x140107156
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.1401054b4
nop
cmp qword [rsp + 0x40], rbx
je 0x140107168
lea rcx, [rsp + 0x40]
call fcn.1400f5fbc
nop
lea rcx, [rsp + 0x70]
call fcn.14000aadc
nop
jmp 0x14010717a
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140107188
call fcn.140086144
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret