Function at 0x14019a8a0
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 [0x140351248]
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, SafeArrayLock
mov qword [rbp], r14
lea ecx, [rsi + 0x20]
call fcn.1400b88d0
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 [0x140280980]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140280982]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], sil
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.140162100
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 [0x140268b00]
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 0x14019a9bd
sub ecx, 1
je 0x14019a9b4
cmp ecx, 1
jne 0x14019a9bd
lea rbx, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x14019a9c4
lea rbx, str.Content_Type:_application_json
jmp 0x14019a9c4
lea rbx, str.Content_Type:_text_plain
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14019a9d1
mov rcx, qword [rdi]
cmp qword [rdi + 0x10], 0x29
jne 0x14019ac98
mov r8d, 0x29
lea rdx, str.mazhkasuspv99.eastasia.cloudapp.azure.com
call fcn.1401f7650
test eax, eax
jne 0x14019ac98
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.1400b88d0
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 [0x140280448]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140280458]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x140280460]
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.14019d0c0
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.140162100
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019aad8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019aad3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b817
call fcn.1401bfb10
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 0x14019ab02
mov r14, qword [r13]
movabs rdi, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x14019ab23
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
mov ecx, SafeArrayGetLBound
mov ebx, ecx
jmp 0x14019ab52
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400b88d0
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401f7750
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 0x14019ab83
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x14019ab97
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov rbx, rcx
jmp 0x14019abc2
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400b88d0
mov qword [rsp + 0x58], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401f7750
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.140198cf0
nop
mov esi, SafeArrayGetLBound
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14019ac38
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14019ac33
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019b81d
mov rcx, r8
call fcn.1401bfb10
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 0x14019ac83
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x14019ac7e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019b823
mov rcx, r8
call fcn.1401bfb10
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], rsi
mov byte [r13], 0
mov rax, rbx
jmp 0x14019b7e5
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], r14
mov byte [rbp - 0x18], r12b
mov r8d, 5
lea rdx, [0x1402678c0]
lea rcx, [rbp - 0x18]
call fcn.1400cf610
nop
mov r9d, reloc.OLEAUT32.dll_SafeArrayPutElement
lea r8, str._HttpSSLGet__bypassSSL_
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14019ad42
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019ad3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b829
call fcn.1401bfb10
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 0x14019ad62
mov r15, qword [rdi]
movabs rdi, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x14019ad82
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
mov esi, SafeArrayGetLBound
jmp 0x14019adad
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400b88d0
mov qword [rsp + 0x58], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401f7750
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x58]
call fcn.1401b5ee0
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 0x14019ade8
mov r15, qword [rax]
cmp r14, 0x10
jae 0x14019adfd
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x18], xmm0
mov esi, SafeArrayGetLBound
jmp 0x14019ae27
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400b88d0
mov qword [rbp - 0x18], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401f7750
mov qword [rbp - 8], r14
mov qword [rbp], rsi
lea rcx, [rbp - 0x18]
call fcn.1401b5ee0
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 0x14019b65a
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 0x14019b5b0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r15
lea rdx, [0x14026bc28]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x14019b182
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 0x14019b0c9
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 0x14019af12
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 0x14019af70
lea r8, [rbp - 0x23]
sub r8, r10
mov rdx, r10
lea rcx, [rbp + 0x28]
call fcn.1400cf610
nop
mov r9d, 0x35
lea r8, str._HttpSSLGet__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14019aff3
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019afee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b82f
call fcn.1401bfb10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x14019b590
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 0x14019b0ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f2fc0
nop
mov r9d, 0x33
lea r8, str._HttpSSLGet__WinHttpSetOption__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019b590
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b0bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b835
call fcn.1401bfb10
jmp 0x14019b590
mov ebx, SafeArrayGetLBound
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov r12d, eax
test eax, eax
jne 0x14019b182
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f2fc0
nop
lea r9d, [r12 + 0x39]
lea r8, str._HttpSSLGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019b590
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b0bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b80b
jmp 0x14019b0bf
mov dword [rsp + 0x78], SafeArrayLock
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 0x14019b25e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f2fc0
nop
mov r9d, 0x36
lea r8, str._HttpSSLGet__WinHttpQueryHeaders__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019b58b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b254
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b83b
call fcn.1401bfb10
jmp 0x14019b58b
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.1400f2fc0
nop
mov r9d, 0x2f
lea r8, str._HttpSSLGet__ResponseCode__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
lea rcx, [rbp - 0x38]
call fcn.1400c2b80
test r12d, r12d
je 0x14019b521
xor r12d, r12d
cmp ebx, 0xc8
lea ebx, [r12 + 0xf]
jne 0x14019b58b
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 0x14019b35c
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 0x14019b340
lea rcx, [rbp - 0x58]
call fcn.1400cf610
lea rcx, [rbp - 0x58]
call fcn.140162100
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.1401c030c
mov rbx, rax
test rax, rax
jne 0x14019b379
mov dword [rsp + 0x40], r12d
jmp 0x14019b508
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 0x14019b3ec
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 0x14019b3d0
lea rcx, [rbp - 0x58]
call fcn.1400cf610
lea rcx, [rbp - 0x58]
jmp 0x14019b503
cmp dword [rsp + 0x40], 0
jbe 0x14019b508
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 0x14019b413
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400cf610
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.14019d0c0
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 0x14019b4a9
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b49c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b841
call fcn.1401bfb10
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 0x14019b4ec
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b4e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b847
call fcn.1401bfb10
lea r8, [rbp + 8]
lea rdx, str._HttpSSLGet__result_s:
lea rcx, [rbp - 0x58]
call fcn.1400b8840
mov rcx, rax
call fcn.140162100
mov rcx, rbx
call fcn.1401c028c
mov ebx, SafeArrayGetLBound
cmp dword [rsp + 0x40], 0
jbe 0x14019b58b
jmp 0x14019b300
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f2fc0
nop
mov r9d, 0x22
lea r8, str._HttpSSLGet___Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
lea rcx, [rbp - 0x38]
call fcn.1400c2b80
test rdi, rdi
je 0x14019b599
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 0x14019b6fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f2fc0
nop
mov r9d, 0x31
lea r8, str._HttpSSLGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019b64c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b647
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b84d
call fcn.1401bfb10
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14019b6fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.1400f2fc0
nop
mov r9d, 0x2e
lea r8, str._HttpSSLGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019d0c0
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.140162100
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14019b6f6
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b6f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b853
call fcn.1401bfb10
mov r13, qword [rbp + 0x28]
mov rcx, r13
call fcn.1401c028c
mov rcx, r15
call fcn.1401c028c
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.1400cf610
lea rcx, [rbp - 0x58]
call fcn.140162100
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 0x14019b788
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14019b783
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019b805
mov rcx, r8
call fcn.1401bfb10
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 0x14019b7d2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14019b7cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019b811
mov rcx, r8
call fcn.1401bfb10
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.1401c0070
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