Function at 0x1401d9c20
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 [0x1403debe8]
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.1400e1b00
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 [0x1402e4940]
mov word [rcx + 0x10], ax
movzx eax, byte [0x1402e4942]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], sil
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.140195010
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 [0x1402ca480]
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 0x1401d9d3d
sub ecx, 1
je 0x1401d9d34
cmp ecx, 1
jne 0x1401d9d3d
lea rbx, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x1401d9d44
lea rbx, str.Content_Type:_application_json
jmp 0x1401d9d44
lea rbx, str.Content_Type:_text_plain
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401d9d51
mov rcx, qword [rdi]
cmp qword [rdi + 0x10], 0x29
jne 0x1401da018
mov r8d, 0x29
lea rdx, str.mazhkasuspv99.eastasia.cloudapp.azure.com
call fcn.140244120
test eax, eax
jne 0x1401da018
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.1400e1b00
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 [0x1402e4408]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402e4418]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x1402e4420]
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.1401dc440
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.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401d9e58
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d9e53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dab97
call fcn.14020be84
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 0x1401d9e82
mov r14, qword [r13]
movabs rdi, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x1401d9ea3
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
mov ecx, SafeArrayGetLBound
mov ebx, ecx
jmp 0x1401d9ed2
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400e1b00
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140244220
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 0x1401d9f03
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x1401d9f17
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov rbx, rcx
jmp 0x1401d9f42
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400e1b00
mov qword [rsp + 0x58], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140244220
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.1401d8070
nop
mov esi, SafeArrayGetLBound
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1401d9fb8
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1401d9fb3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401dab9d
mov rcx, r8
call fcn.14020be84
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 0x1401da003
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1401d9ffe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401daba3
mov rcx, r8
call fcn.14020be84
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], rsi
mov byte [r13], 0
mov rax, rbx
jmp 0x1401dab65
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], r14
mov byte [rbp - 0x18], r12b
mov r8d, 5
lea rdx, [0x1402c9238]
lea rcx, [rbp - 0x18]
call fcn.1400f8840
nop
mov r9d, reloc.OLEAUT32.dll_SafeArrayPutElement
lea r8, str._HttpSSLGet__bypassSSL_
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401da0c2
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da0bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401daba9
call fcn.14020be84
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 0x1401da0e2
mov r15, qword [rdi]
movabs rdi, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x1401da102
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
mov esi, SafeArrayGetLBound
jmp 0x1401da12d
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400e1b00
mov qword [rsp + 0x58], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140244220
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x58]
call fcn.140201cd0
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 0x1401da168
mov r15, qword [rax]
cmp r14, 0x10
jae 0x1401da17d
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x18], xmm0
mov esi, SafeArrayGetLBound
jmp 0x1401da1a7
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400e1b00
mov qword [rbp - 0x18], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140244220
mov qword [rbp - 8], r14
mov qword [rbp], rsi
lea rcx, [rbp - 0x18]
call fcn.140201cd0
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 0x1401da9da
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 0x1401da930
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r15
lea rdx, [0x1402cd5a8]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x1401da502
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 0x1401da449
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 0x1401da292
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 0x1401da2f0
lea r8, [rbp - 0x23]
sub r8, r10
mov rdx, r10
lea rcx, [rbp + 0x28]
call fcn.1400f8840
nop
mov r9d, 0x35
lea r8, str._HttpSSLGet__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1401da373
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da36e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabaf
call fcn.14020be84
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x1401da910
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 0x1401da44e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14011d870
nop
mov r9d, 0x33
lea r8, str._HttpSSLGet__WinHttpSetOption__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401da910
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da43f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabb5
call fcn.14020be84
jmp 0x1401da910
mov ebx, SafeArrayGetLBound
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov r12d, eax
test eax, eax
jne 0x1401da502
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14011d870
nop
lea r9d, [r12 + 0x39]
lea r8, str._HttpSSLGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401da910
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da43f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dab8b
jmp 0x1401da43f
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 0x1401da5de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14011d870
nop
mov r9d, 0x36
lea r8, str._HttpSSLGet__WinHttpQueryHeaders__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401da90b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da5d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabbb
call fcn.14020be84
jmp 0x1401da90b
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.14011d870
nop
mov r9d, 0x2f
lea r8, str._HttpSSLGet__ResponseCode__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
lea rcx, [rbp - 0x38]
call fcn.1400ebdb0
test r12d, r12d
je 0x1401da8a1
xor r12d, r12d
cmp ebx, 0xc8
lea ebx, [r12 + 0xf]
jne 0x1401da90b
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 0x1401da6dc
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 0x1401da6c0
lea rcx, [rbp - 0x58]
call fcn.1400f8840
lea rcx, [rbp - 0x58]
call fcn.140195010
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.14020c67c
mov rbx, rax
test rax, rax
jne 0x1401da6f9
mov dword [rsp + 0x40], r12d
jmp 0x1401da888
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 0x1401da76c
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 0x1401da750
lea rcx, [rbp - 0x58]
call fcn.1400f8840
lea rcx, [rbp - 0x58]
jmp 0x1401da883
cmp dword [rsp + 0x40], 0
jbe 0x1401da888
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 0x1401da793
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400f8840
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.1401dc440
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 0x1401da829
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da81c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabc1
call fcn.14020be84
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 0x1401da86c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da867
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabc7
call fcn.14020be84
lea r8, [rbp + 8]
lea rdx, str._HttpSSLGet__result_s:
lea rcx, [rbp - 0x58]
call fcn.1400e1a70
mov rcx, rax
call fcn.140195010
mov rcx, rbx
call fcn.14020c5fc
mov ebx, SafeArrayGetLBound
cmp dword [rsp + 0x40], 0
jbe 0x1401da90b
jmp 0x1401da680
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14011d870
nop
mov r9d, 0x22
lea r8, str._HttpSSLGet___Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
lea rcx, [rbp - 0x38]
call fcn.1400ebdb0
test rdi, rdi
je 0x1401da919
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 0x1401daa7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14011d870
nop
mov r9d, 0x31
lea r8, str._HttpSSLGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401da9cc
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401da9c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabcd
call fcn.14020be84
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401daa7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14011d870
nop
mov r9d, 0x2e
lea r8, str._HttpSSLGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
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.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401daa76
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401daa71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dabd3
call fcn.14020be84
mov r13, qword [rbp + 0x28]
mov rcx, r13
call fcn.14020c5fc
mov rcx, r15
call fcn.14020c5fc
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.1400f8840
lea rcx, [rbp - 0x58]
call fcn.140195010
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 0x1401dab08
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1401dab03
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401dab85
mov rcx, r8
call fcn.14020be84
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 0x1401dab52
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1401dab4d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401dab91
mov rcx, r8
call fcn.14020be84
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.14020c3e0
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