Function at 0x14019c9d0
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x14035cb78]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x80], r9
movzx r13d, r8w
mov rdi, rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x78], rcx
mov qword [rbp + 0x28], rcx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], r9
mov r15d, dword [rbp + 0xd8]
mov dword [rsp + 0x50], r15d
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x44], eax
xor esi, esi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov r14d, SafeArrayGetLBound
mov qword [rbp], r14
lea ecx, [rsi + 0x20]
call fcn.1400b9950
mov rcx, rax
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayGetLBound
mov qword [rbp], 0x1f
movups xmm0, xmmword [str._HttpSSLGet__Start]
movups xmmword [rax], xmm0
movzx eax, word [0x140289d20]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140289d22]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], sil
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.1401630b0
mov qword [rbp + 8], rsi
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x18], 5
mov eax, dword [str.error]
mov dword [rbp + 8], eax
movzx eax, byte [0x140271c90]
mov byte [rbp + 0xc], al
mov byte [rbp + 0xd], sil
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x7c], esi
mov r12d, esi
mov ecx, dword [rbp + 0xd0]
test ecx, ecx
je 0x14019caed
sub ecx, 1
je 0x14019cae4
cmp ecx, 1
jne 0x14019caed
lea rbx, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x14019caf4
lea rbx, str.Content_Type:_application_json
jmp 0x14019caf4
lea rbx, str.Content_Type:_text_plain
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14019cb01
mov rcx, qword [rdi]
cmp qword [rdi + 0x10], 0x29
jne 0x14019cdc8
mov r8d, 0x29
lea rdx, str.mazhkasuspv99.eastasia.cloudapp.azure.com
call fcn.1401ff5b0
test eax, eax
jne 0x14019cdc8
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x38], r12b
lea ecx, [rax + 0x30]
call fcn.1400b9950
mov rcx, rax
mov qword [rbp - 0x28], 0x29
mov qword [rbp - 0x20], 0x2f
movups xmm0, xmmword [str.mazhkasuspv99.eastasia.cloudapp.azure.com]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402897e8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402897f8]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x140289800]
mov byte [rcx + 0x28], al
mov byte [rcx + 0x29], r12b
mov qword [rbp - 0x38], rcx
mov r9d, SafeArrayPutElement
lea r8, str._HttpSSLGet__server_
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.14019f1f0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov byte [rax], 0
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019cc08
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019cc03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d947
call fcn.1401c72f8
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov r13, qword [rbp - 0x80]
mov rsi, qword [r13 + 0x10]
mov r14, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14019cc32
mov r14, qword [r13]
movabs rdi, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x14019cc53
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
mov ecx, SafeArrayGetLBound
mov ebx, ecx
jmp 0x14019cc82
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400b9950
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401ff6b0
mov ecx, SafeArrayGetLBound
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rbx
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov r12, qword [rbp - 0x70]
mov rsi, qword [r12 + 0x10]
mov r14, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14019ccb3
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x14019ccc7
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov rbx, rcx
jmp 0x14019ccf2
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400b9950
mov qword [rsp + 0x58], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401ff6b0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov r9d, dword [rsp + 0x48]
mov dword [rsp + 0x20], r9d
mov r9d, r15d
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x58]
mov rbx, qword [rbp - 0x78]
mov rcx, rbx
call fcn.14019ae20
nop
mov esi, SafeArrayGetLBound
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14019cd68
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14019cd63
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019d94d
mov rcx, r8
call fcn.1401c72f8
xor edi, edi
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], rsi
mov byte [r12], dil
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14019cdb3
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x14019cdae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019d953
mov rcx, r8
call fcn.1401c72f8
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], rsi
mov byte [r13], 0
mov rax, rbx
jmp 0x14019d915
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], r14
mov byte [rbp - 0x18], r12b
mov r8d, 5
lea rdx, [0x140270a48]
lea rcx, [rbp - 0x18]
call fcn.1400d0690
nop
mov r9d, reloc.OLEAUT32.dll_SafeArrayPutElement
lea r8, str._HttpSSLGet__bypassSSL_
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.14019f1f0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov byte [rax], 0
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14019ce72
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019ce6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d959
call fcn.1401c72f8
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov r14, qword [rdi + 0x10]
mov r15, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14019ce92
mov r15, qword [rdi]
movabs rdi, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x14019ceb2
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
mov esi, SafeArrayGetLBound
jmp 0x14019cedd
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400b9950
mov qword [rsp + 0x58], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401ff6b0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x58]
call fcn.1401bd6a0
mov qword [rbp + 0x28], rax
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov rax, qword [rbp - 0x80]
mov r14, qword [rax + 0x10]
mov r15, rax
cmp qword [rax + 0x18], 0x10
jb 0x14019cf18
mov r15, qword [rax]
cmp r14, 0x10
jae 0x14019cf2d
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x18], xmm0
mov esi, SafeArrayGetLBound
jmp 0x14019cf57
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400b9950
mov qword [rbp - 0x18], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401ff6b0
mov qword [rbp - 8], r14
mov qword [rbp], rsi
lea rcx, [rbp - 0x18]
call fcn.1401bd6a0
mov r15, rax
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.ASUS_AsusSystemAnalysis_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
test rax, rax
je 0x14019d78a
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x50]
mov edx, 0x2710
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor r9d, r9d
movzx r8d, r13w
mov r13, qword [rbp + 0x28]
mov rdx, r13
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
test rax, rax
je 0x14019d6e0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r15
lea rdx, [0x140274db8]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x14019d2b2
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14019d1f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp - 0x23]
dec r10
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea r8d, [rcx + rdx]
add r8b, r8b
sub r9b, r8b
add r9b, 0x30
mov byte [r10], r9b
mov r9d, edx
test edx, edx
jne 0x14019d042
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x38], r12
mov ebx, SafeArrayGetLBound
mov qword [rbp + 0x40], rbx
mov byte [rbp + 0x28], r12b
lea rax, [rbp - 0x23]
cmp r10, rax
je 0x14019d0a0
lea r8, [rbp - 0x23]
sub r8, r10
mov rdx, r10
lea rcx, [rbp + 0x28]
call fcn.1400d0690
nop
mov r9d, 0x35
lea r8, str._HttpSSLGet__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.14019f1f0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14019d123
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d11e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d95f
call fcn.1401c72f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x14019d6c0
mov dword [rsp + 0x50], 0x3300
mov r9d, 4
lea r8, [rsp + 0x50]
lea edx, [r9 + 0x1b]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14019d1fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
mov r9d, 0x33
lea r8, str._HttpSSLGet__WinHttpSetOption__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019d6c0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d1ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d965
call fcn.1401c72f8
jmp 0x14019d6c0
mov ebx, SafeArrayGetLBound
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov r12d, eax
test eax, eax
jne 0x14019d2b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
lea r9d, [r12 + 0x39]
lea r8, str._HttpSSLGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov byte [rax], r12b
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019d6c0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d1ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d93b
jmp 0x14019d1ef
mov dword [rsp + 0x78], SafeArrayGetLBound
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14019d38e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
mov r9d, 0x36
lea r8, str._HttpSSLGet__WinHttpQueryHeaders__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov ebx, SafeArrayGetLBound
mov qword [rax + 0x18], rbx
mov byte [rax], r12b
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019d6bb
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d96b
call fcn.1401c72f8
jmp 0x14019d6bb
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x48]
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstoul
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
mov r9d, 0x2f
lea r8, str._HttpSSLGet__ResponseCode__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rcx
mov ecx, SafeArrayGetLBound
mov qword [rax + 0x18], rcx
mov byte [rax], 0
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
lea rcx, [rbp - 0x38]
call fcn.1400c3c00
test r12d, r12d
je 0x14019d651
xor r12d, r12d
cmp ebx, 0xc8
lea ebx, [r12 + 0xf]
jne 0x14019d6bb
lea rax, [rbp + 8]
mov qword [rbp + 0x18], r12
mov byte [rax], r12b
mov dword [rsp + 0x40], r12d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x14019d48c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str._HttpSSLGet__WinHttpQueryDataAvailable__Error:
add rdx, rax
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14019d470
lea rcx, [rbp - 0x58]
call fcn.1400d0690
lea rcx, [rbp - 0x58]
call fcn.1401630b0
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.1401c7aec
mov rbx, rax
test rax, rax
jne 0x14019d4a9
mov dword [rsp + 0x40], r12d
jmp 0x14019d638
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x7c]
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14019d51c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str._HttpSSLGet__WinHttpReadData__Error:
add rdx, rax
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov eax, SafeArrayGetLBound
mov qword [rbp - 0x40], rax
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14019d500
lea rcx, [rbp - 0x58]
call fcn.1400d0690
lea rcx, [rbp - 0x58]
jmp 0x14019d633
cmp dword [rsp + 0x40], 0
jbe 0x14019d638
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov eax, SafeArrayGetLBound
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x58], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14019d543
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400d0690
nop
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae r8, qword [rbp + 8]
mov r9, qword [rbp + 0x18]
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.14019f1f0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r12
mov ecx, SafeArrayGetLBound
mov qword [rax + 0x18], rcx
mov byte [rax], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14019d5d9
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d5cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d971
call fcn.1401c72f8
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm1
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14019d61c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d977
call fcn.1401c72f8
lea r8, [rbp + 8]
lea rdx, str._HttpSSLGet__result_s:
lea rcx, [rbp - 0x58]
call fcn.1400b98c0
mov rcx, rax
call fcn.1401630b0
mov rcx, rbx
call fcn.1401c7a6c
mov ebx, SafeArrayGetLBound
cmp dword [rsp + 0x40], 0
jbe 0x14019d6bb
jmp 0x14019d430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
mov r9d, 0x22
lea r8, str._HttpSSLGet___Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov ebx, SafeArrayGetLBound
mov qword [rax + 0x18], rbx
mov byte [rax], r12b
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
lea rcx, [rbp - 0x38]
call fcn.1400c3c00
test rdi, rdi
je 0x14019d6c9
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14019d82a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
mov r9d, 0x31
lea r8, str._HttpSSLGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov ebx, SafeArrayGetLBound
mov qword [rax + 0x18], rbx
mov byte [rax], r12b
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019d77c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d97d
call fcn.1401c72f8
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14019d82a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f4040
nop
mov r9d, 0x2e
lea r8, str._HttpSSLGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov ebx, SafeArrayGetLBound
mov qword [rax + 0x18], rbx
mov byte [rax], r12b
lea rcx, [rbp - 0x58]
call fcn.1401630b0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019d826
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019d983
call fcn.1401c72f8
mov r13, qword [rbp + 0x28]
mov rcx, r13
call fcn.1401c7a6c
mov rcx, r15
call fcn.1401c7a6c
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], rbx
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetLBound
lea rdx, str._HttpSSLGet__Return
lea rcx, [rbp - 0x58]
call fcn.1400d0690
lea rcx, [rbp - 0x58]
call fcn.1401630b0
mov rdi, qword [rbp - 0x78]
movups xmm0, xmmword [rbp + 8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rdi + 0x10], xmm1
mov r12, qword [rbp - 0x70]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14019d8b8
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14019d8b3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019d935
mov rcx, r8
call fcn.1401c72f8
xor esi, esi
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], rbx
mov byte [r12], sil
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14019d902
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14019d8fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019d941
mov rcx, r8
call fcn.1401c72f8
mov qword [rbx + 0x10], rsi
mov eax, SafeArrayGetLBound
mov qword [rbx + 0x18], rax
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1401c7850
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3