Function at 0x1401ed0d0
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 [0x1404779b8]
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.1400eb1a0
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 [0x140361d60]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140361d62]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], sil
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.1401a7f60
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 [0x140347320]
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 0x1401ed1ed
sub ecx, 1
je 0x1401ed1e4
cmp ecx, 1
jne 0x1401ed1ed
lea rbx, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x1401ed1f4
lea rbx, str.Content_Type:_application_json
jmp 0x1401ed1f4
lea rbx, str.Content_Type:_text_plain
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401ed201
mov rcx, qword [rdi]
cmp qword [rdi + 0x10], 0x29
jne 0x1401ed4c8
mov r8d, 0x29
lea rdx, str.mazhkasuspv99.eastasia.cloudapp.azure.com
call fcn.140253210
test eax, eax
jne 0x1401ed4c8
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.1400eb1a0
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 [0x140361828]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140361838]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x140361840]
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.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401ed308
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ed303
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee047
call fcn.14021ecec
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 0x1401ed332
mov r14, qword [r13]
movabs rdi, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x1401ed353
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
mov ecx, SafeArrayGetLBound
mov ebx, ecx
jmp 0x1401ed382
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400eb1a0
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140253310
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 0x1401ed3b3
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x1401ed3c7
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov rbx, rcx
jmp 0x1401ed3f2
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
cmova rbx, rdi
lea rcx, [rbx + 1]
call fcn.1400eb1a0
mov qword [rsp + 0x58], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140253310
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.1401eb520
nop
mov esi, SafeArrayGetLBound
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1401ed468
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1401ed463
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401ee04d
mov rcx, r8
call fcn.14021ecec
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 0x1401ed4b3
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1401ed4ae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401ee053
mov rcx, r8
call fcn.14021ecec
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], rsi
mov byte [r13], 0
mov rax, rbx
jmp 0x1401ee015
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], r14
mov byte [rbp - 0x18], r12b
mov r8d, 5
lea rdx, [0x1403460e0]
lea rcx, [rbp - 0x18]
call fcn.140101ee0
nop
mov r9d, reloc.OLEAUT32.dll_SafeArrayPutElement
lea r8, str._HttpSSLGet__bypassSSL_
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401ed572
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ed56d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee059
call fcn.14021ecec
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 0x1401ed592
mov r15, qword [rdi]
movabs rdi, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x1401ed5b2
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
mov esi, SafeArrayGetLBound
jmp 0x1401ed5dd
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400eb1a0
mov qword [rsp + 0x58], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140253310
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x58]
call fcn.140214d90
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 0x1401ed618
mov r15, qword [rax]
cmp r14, 0x10
jae 0x1401ed62d
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x18], xmm0
mov esi, SafeArrayGetLBound
jmp 0x1401ed657
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
cmova rsi, rdi
lea rcx, [rsi + 1]
call fcn.1400eb1a0
mov qword [rbp - 0x18], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140253310
mov qword [rbp - 8], r14
mov qword [rbp], rsi
lea rcx, [rbp - 0x18]
call fcn.140214d90
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 0x1401ede8a
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 0x1401edde0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r15
lea rdx, [0x14034a448]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x1401ed9b2
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 0x1401ed8f9
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 0x1401ed742
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 0x1401ed7a0
lea r8, [rbp - 0x23]
sub r8, r10
mov rdx, r10
lea rcx, [rbp + 0x28]
call fcn.140101ee0
nop
mov r9d, 0x35
lea r8, str._HttpSSLGet__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1401ed823
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ed81e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee05f
call fcn.14021ecec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x1401eddc0
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 0x1401ed8fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
mov r9d, 0x33
lea r8, str._HttpSSLGet__WinHttpSetOption__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401eddc0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ed8ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee065
call fcn.14021ecec
jmp 0x1401eddc0
mov ebx, SafeArrayGetLBound
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov r12d, eax
test eax, eax
jne 0x1401ed9b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
lea r9d, [r12 + 0x39]
lea r8, str._HttpSSLGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401eddc0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ed8ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee03b
jmp 0x1401ed8ef
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 0x1401eda8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
mov r9d, 0x36
lea r8, str._HttpSSLGet__WinHttpQueryHeaders__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401eddbb
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401eda84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee06b
call fcn.14021ecec
jmp 0x1401eddbb
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x48]
call fcn.14027b688
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
mov r9d, 0x2f
lea r8, str._HttpSSLGet__ResponseCode__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
lea rcx, [rbp - 0x38]
call fcn.1400f5450
test r12d, r12d
je 0x1401edd51
xor r12d, r12d
cmp ebx, 0xc8
lea ebx, [r12 + 0xf]
jne 0x1401eddbb
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 0x1401edb8c
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 0x1401edb70
lea rcx, [rbp - 0x58]
call fcn.140101ee0
lea rcx, [rbp - 0x58]
call fcn.1401a7f60
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.14021f4ec
mov rbx, rax
test rax, rax
jne 0x1401edba9
mov dword [rsp + 0x40], r12d
jmp 0x1401edd38
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rbx
call fcn.1402539e0
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 0x1401edc1c
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 0x1401edc00
lea rcx, [rbp - 0x58]
call fcn.140101ee0
lea rcx, [rbp - 0x58]
jmp 0x1401edd33
cmp dword [rsp + 0x40], 0
jbe 0x1401edd38
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 0x1401edc43
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140101ee0
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.1401ef8f0
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 0x1401edcd9
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401edccc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee071
call fcn.14021ecec
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 0x1401edd1c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401edd17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee077
call fcn.14021ecec
lea r8, [rbp + 8]
lea rdx, str._HttpSSLGet__result_s:
lea rcx, [rbp - 0x58]
call fcn.1400eb110
mov rcx, rax
call fcn.1401a7f60
mov rcx, rbx
call fcn.14021f46c
mov ebx, SafeArrayGetLBound
cmp dword [rsp + 0x40], 0
jbe 0x1401eddbb
jmp 0x1401edb30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
mov r9d, 0x22
lea r8, str._HttpSSLGet___Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
lea rcx, [rbp - 0x38]
call fcn.1400f5450
test rdi, rdi
je 0x1401eddc9
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 0x1401edf2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
mov r9d, 0x31
lea r8, str._HttpSSLGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401ede7c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ede77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee07d
call fcn.14021ecec
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401edf2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140127290
nop
mov r9d, 0x2e
lea r8, str._HttpSSLGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401edf26
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401edf21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ee083
call fcn.14021ecec
mov r13, qword [rbp + 0x28]
mov rcx, r13
call fcn.14021f46c
mov rcx, r15
call fcn.14021f46c
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.140101ee0
lea rcx, [rbp - 0x58]
call fcn.1401a7f60
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 0x1401edfb8
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1401edfb3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401ee035
mov rcx, r8
call fcn.14021ecec
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 0x1401ee002
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1401edffd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401ee041
mov rcx, r8
call fcn.14021ecec
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.14021f250
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140260f54
nop
call fcn.140260f54
nop
call fcn.140260f54
nop
call fcn.140260f54
nop
call fcn.140260f54
nop
call fcn.140260f54
nop
call fcn.140260f54
int3
call fcn.140260f54
int3
call fcn.140260f54
int3
call fcn.140260f54
nop
call fcn.140260f54
nop
call fcn.140260f54
int3
call fcn.140260f54
int3
call fcn.140260f54
int3