Function at 0x1401b8a90
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 [0x14039a678]
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.1400d1570
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 [0x1402af930]
mov word [rcx + 0x10], ax
movzx eax, byte [0x1402af932]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], sil
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.14017eab0
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 [0x140296ef0]
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 0x1401b8bad
sub ecx, 1
je 0x1401b8ba4
cmp ecx, 1
jne 0x1401b8bad
lea rbx, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x1401b8bb4
lea rbx, str.Content_Type:_application_json
jmp 0x1401b8bb4
lea rbx, str.Content_Type:_text_plain
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401b8bc1
mov rcx, qword [rdi]
cmp qword [rdi + 0x10], 0x29
jne 0x1401b8e88
mov r8d, 0x29
lea rdx, str.mazhkasuspv99.eastasia.cloudapp.azure.com
call fcn.14021ba20
test eax, eax
jne 0x1401b8e88
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.1400d1570
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 [0x1402af3f8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402af408]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x1402af410]
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.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401b8cc8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b8cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a07
call fcn.1401e3784
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 0x1401b8cf2
mov r14, qword [r13]
movabs rdi, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x1401b8d13
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
mov ecx, SafeArrayGetLBound
mov ebx, ecx
jmp 0x1401b8d42
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400d1570
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.14021bb20
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 0x1401b8d73
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x1401b8d87
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov rbx, rcx
jmp 0x1401b8db2
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400d1570
mov qword [rsp + 0x58], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.14021bb20
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.1401b6ee0
nop
mov esi, SafeArrayGetLBound
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1401b8e28
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1401b8e23
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b9a0d
mov rcx, r8
call fcn.1401e3784
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 0x1401b8e73
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1401b8e6e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b9a13
mov rcx, r8
call fcn.1401e3784
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], rsi
mov byte [r13], 0
mov rax, rbx
jmp 0x1401b99d5
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], r14
mov byte [rbp - 0x18], r12b
mov r8d, 5
lea rdx, [0x140295ca8]
lea rcx, [rbp - 0x18]
call fcn.1400e82b0
nop
mov r9d, reloc.OLEAUT32.dll_SafeArrayPutElement
lea r8, str._HttpSSLGet__bypassSSL_
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401b8f32
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b8f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a19
call fcn.1401e3784
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 0x1401b8f52
mov r15, qword [rdi]
movabs rdi, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x1401b8f72
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
mov esi, SafeArrayGetLBound
jmp 0x1401b8f9d
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400d1570
mov qword [rsp + 0x58], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.14021bb20
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x58]
call fcn.1401d9b10
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 0x1401b8fd8
mov r15, qword [rax]
cmp r14, 0x10
jae 0x1401b8fed
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x18], xmm0
mov esi, SafeArrayGetLBound
jmp 0x1401b9017
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400d1570
mov qword [rbp - 0x18], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.14021bb20
mov qword [rbp - 8], r14
mov qword [rbp], rsi
lea rcx, [rbp - 0x18]
call fcn.1401d9b10
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 0x1401b984a
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 0x1401b97a0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r15
lea rdx, [0x14029a018]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x1401b9372
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 0x1401b92b9
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 0x1401b9102
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 0x1401b9160
lea r8, [rbp - 0x23]
sub r8, r10
mov rdx, r10
lea rcx, [rbp + 0x28]
call fcn.1400e82b0
nop
mov r9d, 0x35
lea r8, str._HttpSSLGet__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1401b91e3
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b91de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a1f
call fcn.1401e3784
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x1401b9780
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 0x1401b92be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14010bd70
nop
mov r9d, 0x33
lea r8, str._HttpSSLGet__WinHttpSetOption__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401b9780
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b92af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a25
call fcn.1401e3784
jmp 0x1401b9780
mov ebx, SafeArrayGetLBound
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov r12d, eax
test eax, eax
jne 0x1401b9372
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14010bd70
nop
lea r9d, [r12 + 0x39]
lea r8, str._HttpSSLGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401b9780
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b92af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b99fb
jmp 0x1401b92af
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 0x1401b944e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14010bd70
nop
mov r9d, 0x36
lea r8, str._HttpSSLGet__WinHttpQueryHeaders__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401b977b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b9444
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a2b
call fcn.1401e3784
jmp 0x1401b977b
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.14010bd70
nop
mov r9d, 0x2f
lea r8, str._HttpSSLGet__ResponseCode__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
lea rcx, [rbp - 0x38]
call fcn.1400db820
test r12d, r12d
je 0x1401b9711
xor r12d, r12d
cmp ebx, 0xc8
lea ebx, [r12 + 0xf]
jne 0x1401b977b
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 0x1401b954c
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 0x1401b9530
lea rcx, [rbp - 0x58]
call fcn.1400e82b0
lea rcx, [rbp - 0x58]
call fcn.14017eab0
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.1401e3f7c
mov rbx, rax
test rax, rax
jne 0x1401b9569
mov dword [rsp + 0x40], r12d
jmp 0x1401b96f8
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 0x1401b95dc
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 0x1401b95c0
lea rcx, [rbp - 0x58]
call fcn.1400e82b0
lea rcx, [rbp - 0x58]
jmp 0x1401b96f3
cmp dword [rsp + 0x40], 0
jbe 0x1401b96f8
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 0x1401b9603
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400e82b0
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.1401bb2b0
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 0x1401b9699
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b968c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a31
call fcn.1401e3784
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 0x1401b96dc
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b96d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a37
call fcn.1401e3784
lea r8, [rbp + 8]
lea rdx, str._HttpSSLGet__result_s:
lea rcx, [rbp - 0x58]
call fcn.1400d14e0
mov rcx, rax
call fcn.14017eab0
mov rcx, rbx
call fcn.1401e3efc
mov ebx, SafeArrayGetLBound
cmp dword [rsp + 0x40], 0
jbe 0x1401b977b
jmp 0x1401b94f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14010bd70
nop
mov r9d, 0x22
lea r8, str._HttpSSLGet___Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
lea rcx, [rbp - 0x38]
call fcn.1400db820
test rdi, rdi
je 0x1401b9789
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 0x1401b98ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14010bd70
nop
mov r9d, 0x31
lea r8, str._HttpSSLGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401b983c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b9837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a3d
call fcn.1401e3784
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401b98ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14010bd70
nop
mov r9d, 0x2e
lea r8, str._HttpSSLGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
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.14017eab0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401b98e6
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b98e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b9a43
call fcn.1401e3784
mov r13, qword [rbp + 0x28]
mov rcx, r13
call fcn.1401e3efc
mov rcx, r15
call fcn.1401e3efc
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.1400e82b0
lea rcx, [rbp - 0x58]
call fcn.14017eab0
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 0x1401b9978
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1401b9973
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b99f5
mov rcx, r8
call fcn.1401e3784
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 0x1401b99c2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1401b99bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b9a01
mov rcx, r8
call fcn.1401e3784
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.1401e3ce0
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