Function at 0x140105200
Capabilities:
Prepare http request
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r10, r9
mov rsi, r8
mov r12, rdx
mov edx, dword [rbp + 0xe0]
lea eax, [rdx - 1]
cmp eax, 1
ja 0x140106550
mov eax, 0x800000
xor r15d, r15d
cmp edx, 2
cmovne eax, r15d
cmp qword [r9 + 0x18], 8
jb 0x140105263
mov r10, qword [r9]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, r10
lea rdx, [0x140347020]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14010659c
mov rdx, rsi
mov rcx, rax
call fcn.140107a80
mov ebx, r15d
nop word [rax + rax]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140105334
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x1401052e8
inc ebx
cmp ebx, 0xa
jle 0x1401052b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.WinHttp:_Failed_to_send_request
mov rcx, r12
call fcn.140107a00
nop
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, r12
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14013af80
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140105354
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.WinHttp:_Failed_to_receive_response
jmp 0x1401052f7
mov r8d, 0x13
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.140104af0
nop
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 6
lea rdx, str.Status
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rbx
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1401053ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401053ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401065d8
call fcn.14013afa0
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov r8d, 1
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140104af0
mov rbx, rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0xc
lea rdx, str.Content_Type
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rdi
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14010548c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401065de
call fcn.14013afa0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1401054df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401054da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401065e4
call fcn.14013afa0
mov r8d, 5
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.140104af0
nop
cmp qword [rbp - 0x50], 0
jne 0x140105be9
mov qword [rsp + 0x60], 0xffffffffffffffff
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0xe
lea rdx, str.Content_Length
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rbx
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14010558e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401065ea
call fcn.14013afa0
mov r8d, 0x34
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.140104af0
nop
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0xb
lea rdx, str.Content_MD5
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rbx
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140105629
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105624
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401065fd
call fcn.14013afa0
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov r8d, 0x36
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140104af0
mov rbx, rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 4
lea rdx, str.ETag
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rdi
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1401056c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401056c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106603
call fcn.14013afa0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140105719
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106609
call fcn.14013afa0
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov r8d, 0xb
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140104af0
mov rbx, rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0xd
lea rdx, str.Last_Modified
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rdi
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1401057b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401057b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010660f
call fcn.14013afa0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140105809
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105804
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106615
call fcn.14013afa0
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov r8d, 0xa
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140104af0
mov rbx, rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 7
lea rdx, str.Expires
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rdi
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1401058a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401058a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010661b
call fcn.14013afa0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1401058f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401058f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106621
call fcn.14013afa0
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov r8d, 0x31
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140104af0
mov rbx, rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0xd
lea rdx, str.Cache_Control
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rdi
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140105996
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106627
call fcn.14013afa0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1401059e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401059e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010662d
call fcn.14013afa0
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov r8d, 0x2a
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140104af0
mov rbx, rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov r8d, 0xd
lea rdx, str.Accept_Ranges
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rdi
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140105a86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105a81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106633
call fcn.14013afa0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140105ad9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105ad4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106639
call fcn.14013afa0
xor r13b, r13b
lea r10, [rbp - 0x18]
mov r11, qword [rbp - 0x18]
mov rdi, qword [rbp]
cmp rdi, 8
cmovae r10, r11
mov r9d, 3
mov r15, qword [rbp - 8]
cmp r15, r9
jne 0x140105b3d
mov r8d, r9d
lea rax, [0x1402fb3c8]
movzx ecx, word [r10]
mov edx, 0x33
cmp cx, dx
jb 0x140105b3d
sub r10, rax
cmp cx, dx
ja 0x140105b3d
cmp r8, 1
je 0x140105c31
dec r8
add rax, 2
movzx ecx, word [r10 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140105b1d
lea rbx, [rbp - 0x18]
cmp rdi, 8
cmovae rbx, r11
mov edx, 0x32
cmp r15, r9
jne 0x140105b90
mov r10, r9
lea rax, [0x1402fb3d0]
movzx ecx, word [rbx]
mov r8d, edx
cmp cx, dx
jb 0x140105b90
sub rbx, rax
cmp cx, r8w
ja 0x140105b90
cmp r10, 1
je 0x140105d37
dec r10
add rax, 2
movzx ecx, word [rbx + rax]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x140105b6f
lea r8, [rbp - 0x18]
cmp rdi, 8
cmovae r8, r11
cmp r15, r9
jne 0x1401064ec
lea rax, [0x1402fb3d8]
movzx ecx, word [r8]
cmp cx, dx
jb 0x1401064ec
sub r8, rax
cmp cx, dx
ja 0x1401064ec
cmp r9, 1
je 0x140105ee6
dec r9
add rax, 2
movzx ecx, word [r8 + rax]
movzx edx, word [rax]
cmp cx, dx
jb 0x1401064ec
jmp 0x140105bbf
call fcn.1401484c0
mov rdi, rax
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rbx, qword [rbp - 0x60]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.140149984
mov qword [rsp + 0x60], rax
cmp rbx, qword [rbp + 8]
je 0x1401065f0
cmp dword [rdi], 0x22
je 0x14010653d
jmp 0x140105506
xor esi, esi
mov dword [r12], esi
lea rax, [0x14039fc90]
mov qword [r12 + 8], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140105c8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105c7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010663f
call fcn.14013afa0
mov rdi, qword [rbp]
mov r11, qword [rbp - 0x18]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140105ce3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106645
call fcn.14013afa0
mov rdi, qword [rbp]
mov r11, qword [rbp - 0x18]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
cmp rdi, 8
jb 0x140106462
lea rdx, [rdi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140105d2a
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010664b
mov rcx, r11
call fcn.14013afa0
jmp 0x140106462
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov r15, qword [rsp + 0x60]
lea r9, [rbp + 0x4a]
mov r8, r15
movabs r10, 0xcccccccccccccccd
test r15, r15
jns 0x140105da0
neg r8
nop dword [rax]
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140105d60
add r9, 0xfffffffffffffffe
mov eax, 0x2d
mov word [r9], ax
jmp 0x140105dd0
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140105da0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rax, [rbp + 0x4a]
cmp r9, rax
je 0x140105e0b
lea r8, [rbp + 0x4a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.140032810
nop
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov r8d, 0xf
lea rdx, str.X_Entity_Length
lea rcx, [rbp - 0x80]
call fcn.140032810
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov rax, rbx
call qword [case.0x1400c6d28.0]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140105e8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105e87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106651
call fcn.14013afa0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140105ede
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140105ed9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106657
call fcn.14013afa0
mov r13b, 1
jmp 0x1401062fc
mov r8d, 0x35
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.140104af0
nop
cmp qword [rbp - 0x70], 0
jne 0x140105f07
mov edx, 0x1e
jmp 0x140105f49
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140107390
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x20], xmm6
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp + 0x30], xmm0
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x1400c6d28.0]
movq r8, xmm6
cmp rax, r8
je 0x14010608d
mov edx, 0xa
mov rcx, r12
call fcn.140104720
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140105f92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140105f8d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106669
call fcn.14013afa0
xor ebx, ebx
mov word [rbp - 0x80], bx
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140105fe4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140105fdf
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010665d
call fcn.14013afa0
mov word [rbp - 0x40], bx
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140106034
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14010602f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106663
call fcn.14013afa0
mov word [rbp - 0x60], bx
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1401062cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140106083
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010654a
call fcn.14013afa0
jmp 0x1401062cb
mov rax, qword [rbp + 0x30]
dec rax
mov rcx, qword [rbp + 0x28]
cmp rcx, rax
je 0x1401061e9
mov edx, 0xb
mov rcx, r12
call fcn.140104720
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1401060ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401060ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106669
call fcn.14013afa0
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140106141
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010613c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010665d
call fcn.14013afa0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140106191
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010618c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106663
call fcn.14013afa0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1401062cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140106083
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010654a
jmp 0x140106083
sub rcx, r8
inc rcx
mov r15, qword [rsp + 0x60]
cmp r15, rcx
je 0x1401062e0
mov edx, 0xc
mov rcx, r12
call fcn.140104720
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14010624b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140106246
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106669
call fcn.14013afa0
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140106277
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140033a50
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1401062a1
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140033a50
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
mov r8, qword [rbp]
cmp r8, 8
jb 0x1401062cb
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.140033a50
mov qword [rbp - 8], rbx
mov qword [rbp], 7
mov word [rbp - 0x18], bx
jmp 0x140105300
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x1401062fa
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140033a50
xor edi, edi
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x1400c6d28.0]
mov ecx, 0x10000
call fcn.14013b750
mov rbx, rax
test rax, rax
je 0x140106330
xor edx, edx
mov r8d, 0x10000
mov rcx, rax
call fcn.14013d7a0
jmp 0x140106333
mov rbx, rdi
mov qword [rbp + 8], rbx
mov dword [rbp - 0x20], edi
mov rax, qword [rsi]
movzx edx, r13b
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x1400c6d28.0]
lea r9, [rbp - 0x20]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1401063cc
mov qword [rsp + 0x68], rbx
nop dword [rax]
mov rax, qword [rsi]
mov ecx, dword [rbp - 0x20]
mov qword [rsp + 0x60], rcx
test rbx, rbx
jne 0x140106389
test rcx, rcx
jne 0x1401064e6
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x1400c6d28.0]
mov ecx, dword [rbp - 0x20]
add rdi, rcx
test ecx, ecx
je 0x140106477
lea r9, [rbp - 0x20]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140106370
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.WinHttp:_Error_in_WinHttpReadData
mov rcx, r12
call fcn.140107a00
nop
test rbx, rbx
je 0x1401063f2
mov rcx, rbx
call fcn.14013afa0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14010640c
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140033a50
xor esi, esi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], si
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140106438
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140033a50
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
mov r8, qword [rbp]
cmp r8, 8
jb 0x140106462
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.140033a50
mov qword [rbp - 8], rsi
mov qword [rbp], 7
mov word [rbp - 0x18], si
jmp 0x140105300
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x1400c6d28.0]
test r15, r15
js 0x1401064a3
cmp r15, rdi
je 0x1401064a3
mov edx, 1
mov rcx, r12
call fcn.140104720
jmp 0x1401063e4
xor esi, esi
mov dword [r12], esi
lea rax, [0x14039fc90]
mov qword [r12 + 8], rax
test rbx, rbx
je 0x1401064c3
mov rcx, rbx
call fcn.14013afa0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14010640e
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140033a50
jmp 0x14010640e
call fcn.140079920
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x80]
call fcn.140108250
nop
mov r8, rax
lea rdx, str.WinHttp:_Unexpected_status_code__
lea rcx, [rsp + 0x40]
call fcn.140060ae0
nop
mov r8b, 0x29
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140104880
nop
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140033050
lea rdx, [0x1403969d0]
lea rcx, [rbp + 0x20]
call fcn.14013d01c
nop
lea rcx, str.stoll_argument_out_of_range
call fcn.1401137d8
nop
call fcn.1401421d8
nop
lea rcx, [rbp - 0x80]
call fcn.140060f90
nop
mov r8, rax
lea rdx, str.WinHttp:_Invalid_scheme__
lea rcx, [rsp + 0x40]
call fcn.140060ae0
nop
mov r8b, 0x29
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140104880
nop
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140061070
lea rdx, [0x140396b58]
lea rcx, [rbp + 0x10]
call fcn.14013d01c
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401017e0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.WinHttp:_Failed_to_open_request
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400aa4a0
lea rdx, [0x140396998]
lea rcx, [rbp - 0x80]
call fcn.14013d01c
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
int3
lea rcx, str.invalid_stoll_argument
call fcn.140113790
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
int3