Function at 0x14019d990
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 - 0x498]
sub rsp, 0x598
mov rax, qword [0x14035cb78]
xor rax, rsp
mov qword [rbp + 0x488], rax
mov rdi, r9
mov qword [rsp + 0x70], r9
mov word [rsp + 0x50], r8w
mov r12, rdx
mov qword [rbp - 0x60], rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp + 0x288], rdx
mov qword [rbp + 0x290], r9
mov rbx, qword [rbp + 0x500]
mov qword [rsp + 0x78], rbx
mov qword [rbp + 0x298], rbx
mov eax, dword [rbp + 0x510]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x518]
mov dword [rbp + 0x460], eax
mov eax, dword [rbp + 0x520]
mov dword [rsp + 0x68], eax
xor r14d, r14d
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x58], r14
mov eax, SafeArrayGetLBound
mov qword [rbp + 0x60], rax
lea ecx, [rax + 0x11]
call fcn.1400b9950
mov rcx, rax
mov qword [rbp + 0x58], reloc.OLEAUT32.dll_SafeArrayGetLBound
mov qword [rbp + 0x60], 0x1f
movups xmm0, xmmword [str._HttpSSLPost__start]
movups xmmword [rax], xmm0
movzx eax, word [0x140289780]
mov word [rcx + 0x10], ax
movzx eax, byte [0x140289782]
mov byte [rcx + 0x12], al
mov byte [rcx + 0x13], r14b
mov qword [rbp + 0x48], rcx
lea rcx, [rbp + 0x48]
call fcn.1401630b0
mov r8, r12
lea rdx, [0x140289788]
lea rcx, [rbp + 0x208]
call fcn.1400b98c0
mov rcx, rax
call fcn.1401630b0
mov r8, rdi
lea rdx, str._HttpSSLPost__path_
lea rcx, [rbp + 0x228]
call fcn.1400b98c0
mov rcx, rax
call fcn.1401630b0
mov r8, rbx
lea rdx, str._HttpSSLPost__postcontent_
lea rcx, [rbp + 0x248]
call fcn.1400b98c0
mov rcx, rax
call fcn.1401630b0
mov qword [rbp + 0x2a0], r14
mov edi, SafeArrayGetLBound
mov qword [rbp + 0x2b8], rdi
mov qword [rbp + 0x2b0], 5
mov eax, dword [str.error]
mov dword [rbp + 0x2a0], eax
movzx eax, byte [0x140271c90]
mov byte [rbp + 0x2a4], al
mov byte [rbp + 0x2a5], r14b
mov dword [rsp + 0x40], r14d
mov dword [rbp - 0x68], r14d
mov r13d, r14d
mov r15d, dword [rbp + 0x508]
mov ecx, r15d
test r15d, r15d
je 0x14019db46
sub ecx, 1
je 0x14019db3d
cmp ecx, 1
jne 0x14019db46
lea rsi, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x14019db4d
lea rsi, str.Content_Type:_application_json
jmp 0x14019db4d
lea rsi, str.Content_Type:_text_plain
mov rcx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14019db5c
mov rcx, qword [r12]
cmp qword [r12 + 0x10], 0x29
jne 0x14019df4d
mov r8d, 0x29
lea rdx, str.mazhkasuspv99.eastasia.cloudapp.azure.com
call fcn.1401ff5b0
test eax, eax
jne 0x14019df4d
mov qword [rbp + 0x2c0], r14
mov qword [rbp + 0x2d0], r14
mov qword [rbp + 0x2d8], rdi
mov byte [rbp + 0x2c0], r13b
lea ecx, [rax + 0x30]
call fcn.1400b9950
mov rcx, rax
mov qword [rbp + 0x2d0], 0x29
mov qword [rbp + 0x2d8], 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], r13b
mov qword [rbp + 0x2c0], rcx
mov r9d, SafeArrayPutElement
lea r8, str._HttpSSLPost__server_
xor edx, edx
lea rcx, [rbp + 0x2c0]
call fcn.14019f1f0
mov qword [rbp + 0x1a8], r14
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c0], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1a8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1b8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rdi
mov byte [rax], 0
lea rcx, [rbp + 0x1a8]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 0x10
jb 0x14019dc94
inc rdx
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019dc8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed57
call fcn.1401c72f8
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov r13, qword [rsp + 0x78]
mov rsi, qword [r13 + 0x10]
mov r14, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14019dcc8
mov r14, qword [r13]
movabs rbx, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x14019dce2
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
jmp 0x14019dd0c
mov rdi, rsi
or rdi, 0xf
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
call fcn.1400b9950
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401ff6b0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rdi
xor ecx, ecx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 8], rcx
mov qword [rbp], rcx
mov rax, qword [rsp + 0x70]
mov rsi, qword [rax + 0x10]
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x14019dd38
mov r14, qword [rax]
cmp rsi, 0x10
jae 0x14019dd4d
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x18], xmm0
mov edi, SafeArrayGetLBound
jmp 0x14019dd79
mov rdi, rsi
or rdi, 0xf
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
call fcn.1400b9950
mov qword [rbp - 0x18], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401ff6b0
xor ecx, ecx
mov qword [rbp - 8], rsi
mov qword [rbp], rdi
mov qword [rbp + 8], rcx
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rcx
mov rsi, qword [r12 + 0x10]
mov r14, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14019dda1
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x14019ddba
movups xmm0, xmmword [r14]
movups xmmword [rbp + 8], xmm0
mov r14d, SafeArrayGetLBound
mov edi, r14d
jmp 0x14019ddea
mov rdi, rsi
or rdi, 0xf
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
call fcn.1400b9950
mov qword [rbp + 8], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1401ff6b0
mov r14d, SafeArrayGetLBound
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rdi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov r9d, dword [rbp + 0x460]
mov dword [rsp + 0x30], r9d
mov r8d, dword [rsp + 0x58]
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x18]
lea rdx, [rbp + 8]
mov rdi, qword [rbp - 0x60]
mov rcx, rdi
call fcn.14019bbb0
nop
cmp r14, 0x10
jb 0x14019de6a
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019de64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed5d
call fcn.1401c72f8
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14019dea6
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14019dea1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019ed63
mov rcx, r8
call fcn.1401c72f8
xor esi, esi
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], r14
mov byte [r12], sil
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14019def5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14019def0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019ed69
mov rcx, r8
call fcn.1401c72f8
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], r14
mov byte [rbx], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14019df3b
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x14019df36
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019ed6f
mov rcx, r8
call fcn.1401c72f8
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], r14
mov byte [r13], 0
jmp 0x14019ed1f
mov qword [rbp + 0x2e0], r14
mov qword [rbp + 0x2f0], r14
mov qword [rbp + 0x2f8], rdi
mov byte [rbp + 0x2e0], r13b
mov r8d, 5
lea rdx, [0x140270a48]
lea rcx, [rbp + 0x2e0]
call fcn.1400d0690
nop
mov r9d, 0x1a
lea r8, str._HttpSSLPost__bypassSSL_
xor edx, edx
lea rcx, [rbp + 0x2e0]
call fcn.14019f1f0
mov qword [rbp + 0x1c8], r14
mov qword [rbp + 0x1d8], r14
mov qword [rbp + 0x1e0], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1d8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rdi
mov byte [rax], 0
lea rcx, [rbp + 0x1c8]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0x10
jb 0x14019e021
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e01c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed75
call fcn.1401c72f8
mov byte [rbp + 0x2e0], 0
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
mov r14, qword [r12 + 0x10]
mov r15, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14019e048
mov r15, qword [r12]
movabs rbx, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x14019e062
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x28], xmm0
jmp 0x14019e08c
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
call fcn.1400b9950
mov qword [rbp + 0x28], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401ff6b0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], rdi
lea rcx, [rbp + 0x28]
call fcn.1401bd6a0
mov qword [rbp - 0x78], rax
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x70]
mov r14, qword [rax + 0x10]
mov r15, rax
cmp qword [rax + 0x18], 0x10
jb 0x14019e0c5
mov r15, qword [rax]
cmp r14, 0x10
jae 0x14019e0da
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x58], xmm0
mov edi, SafeArrayGetLBound
jmp 0x14019e104
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
call fcn.1400b9950
mov qword [rbp - 0x58], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401ff6b0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], rdi
lea rcx, [rbp - 0x58]
call fcn.1401bd6a0
mov qword [rbp - 0x70], rax
mov r14, qword [rsp + 0x78]
mov rdi, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14019e12b
mov rdi, qword [r14]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.ASUS_AsusSystemAnalysis_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14019eb30
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x460]
mov r8d, dword [rsp + 0x58]
mov edx, 0x2710
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor r9d, r9d
movzx r8d, word [rsp + 0x50]
mov rdx, qword [rbp - 0x78]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14019ea6b
mov dword [rsp + 0x30], 0x800000
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, qword [rbp - 0x70]
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x14019e510
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14019e1e0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x14019e1f0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, 0xffffffff
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14019e43d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x475]
nop word [rax + rax]
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 0x14019e240
xor esi, esi
mov qword [rbp + 0x300], rsi
mov qword [rbp + 0x310], rsi
mov r13d, SafeArrayGetLBound
mov qword [rbp + 0x318], r13
mov byte [rbp + 0x300], sil
lea rax, [rbp + 0x475]
cmp r10, rax
je 0x14019e2b6
lea r8, [rbp + 0x475]
sub r8, r10
mov rdx, r10
lea rcx, [rbp + 0x300]
call fcn.1400d0690
nop
mov r9d, 0x36
lea r8, str._HttpSSLPost__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
lea rcx, [rbp + 0x300]
call fcn.14019f1f0
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0x68]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 0x10
jb 0x14019e345
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed7b
call fcn.1401c72f8
mov byte [rbp + 0x300], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x14019ea44
mov dword [rsp + 0x58], 0x3300
mov r9d, 4
lea r8, [rsp + 0x58]
lea edx, [r9 + 0x1b]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14019e43f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x360]
call fcn.1400f4040
nop
mov r9d, 0x34
lea r8, str._HttpSSLPost__WinHttpSetOption__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0x88]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x378]
cmp rdx, 0x10
jb 0x14019ea44
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e433
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed81
call fcn.1401c72f8
jmp 0x14019ea44
xor esi, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov r13d, eax
test eax, eax
jne 0x14019e512
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x380]
call fcn.1400f4040
nop
lea r9d, [r13 + 0x3a]
lea r8, str._HttpSSLPost__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], rsi
mov r13d, SafeArrayGetLBound
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0xa8]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x398]
cmp rdx, 0x10
jb 0x14019ea44
inc rdx
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e433
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed4b
jmp 0x14019e433
xor esi, esi
mov dword [rbp - 0x80], SafeArrayGetLBound
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x478]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14019e5c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x400]
call fcn.1400f4040
nop
mov r9d, 0x2a
lea r8, str._HttpSSLPost__WinHttpQueryHeaders__Error:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x198], rsi
mov qword [rbp + 0x1a0], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x198], xmm1
mov qword [rax + 0x10], rsi
mov r13d, SafeArrayGetLBound
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0x188]
call fcn.1401630b0
nop
lea rcx, [rbp + 0x400]
jmp 0x14019ea3a
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x478]
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstoul
mov edi, eax
mov edx, eax
lea rcx, [rbp + 0x420]
call fcn.1400dbc00
nop
mov r9d, 0x23
lea r8, str._HttpSSLPost__ResponseCode__Error:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rsi
mov edx, SafeArrayGetLBound
mov qword [rax + 0x18], rdx
mov byte [rax], 0
lea rcx, [rbp + 0xc8]
call fcn.1401630b0
nop
lea rcx, [rbp + 0x420]
call fcn.1400c3c00
test r13d, r13d
mov r13d, SafeArrayGetLBound
je 0x14019e99a
cmp edi, 0xc8
jne 0x14019ea3f
lea rax, [rbp + 0x2a0]
mov qword [rbp + 0x2b0], rsi
mov byte [rax], 0
nop
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x14019e749
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x3a0]
call fcn.1400f4040
nop
mov r9d, 0x30
lea r8, str._HttpSSLPost__WinHttpQueryDataAvailable__Error:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0xe8]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x3b8]
cmp rdx, 0x10
jb 0x14019e749
inc rdx
mov rcx, qword [rbp + 0x3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e744
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed87
call fcn.1401c72f8
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.1401c7aec
mov rbx, rax
test rax, rax
jne 0x14019e765
mov dword [rsp + 0x40], esi
jmp 0x14019e982
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, [rbp - 0x68]
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14019e82e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x340]
call fcn.1400f4040
nop
mov r9d, 0x26
lea r8, str._HttpSSLPost__WinHttpReadData__Error:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0x108], rsi
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0x108]
call fcn.1401630b0
nop
mov r8, qword [rbp + 0x358]
cmp r8, 0x10
jb 0x14019e982
inc r8
mov rdx, qword [rbp + 0x340]
lea rcx, [rbp + 0x340]
call fcn.1400d1da0
jmp 0x14019e982
cmp dword [rsp + 0x40], 0
jbe 0x14019e982
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x330], rsi
mov qword [rbp + 0x338], r13
mov byte [rbp + 0x320], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14019e860
mov rdx, rbx
lea rcx, [rbp + 0x320]
call fcn.1400d0690
nop
lea r8, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0x10
cmovae r8, qword [rbp + 0x2a0]
mov r9, qword [rbp + 0x2b0]
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.14019f1f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x460], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r13
mov byte [rax], 0
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 0x10
jb 0x14019e911
inc rdx
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed8d
call fcn.1401c72f8
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rbp + 0x460]
movups xmmword [rbp + 0x2a0], xmm0
movups xmmword [rbp + 0x2b0], xmm1
mov rdx, qword [rbp + 0x338]
cmp rdx, 0x10
jb 0x14019e960
inc rdx
mov rcx, qword [rbp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019e95b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed93
call fcn.1401c72f8
lea r8, [rbp + 0x2a0]
lea rdx, str._HttpSSLPost__result_s:
lea rcx, [rbp + 0x268]
call fcn.1400b98c0
mov rcx, rax
call fcn.1401630b0
mov rcx, rbx
call fcn.1401c7a6c
cmp dword [rsp + 0x40], 0
jbe 0x14019ea3f
jmp 0x14019e680
lea rbx, [rbp + 0x2a0]
mov qword [rbp + 0x2b0], 5
mov r8d, 5
lea rdx, str.error
mov rcx, rbx
call fcn.1401ff6b0
mov byte [rbx + 5], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x440]
call fcn.1400f4040
nop
mov r9d, 0x22
lea r8, str._HttpSSLPost__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x138], rsi
mov qword [rbp + 0x140], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rcx, [rbp + 0x128]
call fcn.1401630b0
nop
lea rcx, [rbp + 0x440]
call fcn.1400c3c00
test r15, r15
je 0x14019ea4d
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r15, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14019ebe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x3c0]
call fcn.1400f4040
nop
mov r9d, 0x32
lea r8, str._HttpSSLPost__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor esi, esi
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x158], rsi
mov qword [rbp + 0x160], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x148], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x158], xmm1
mov qword [rax + 0x10], rsi
mov r13d, SafeArrayGetLBound
mov qword [rax + 0x18], r13
mov byte [rax], sil
lea rcx, [rbp + 0x148]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x3d8]
cmp rdx, 0x10
jb 0x14019eb22
inc rdx
mov rcx, qword [rbp + 0x3c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019eb1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed99
call fcn.1401c72f8
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14019ebe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x3e0]
call fcn.1400f4040
nop
mov r9d, 0x2f
lea r8, str._HttpSSLPost__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.14019f1f0
xor esi, esi
mov qword [rbp + 0x168], rsi
mov qword [rbp + 0x178], rsi
mov qword [rbp + 0x180], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x168], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x178], xmm1
mov qword [rax + 0x10], rsi
mov r13d, SafeArrayGetLBound
mov qword [rax + 0x18], r13
mov byte [rax], sil
lea rcx, [rbp + 0x168]
call fcn.1401630b0
nop
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 0x10
jb 0x14019ebe7
inc rdx
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019ebe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019ed9f
call fcn.1401c72f8
mov rcx, qword [rbp - 0x78]
call fcn.1401c7a6c
mov rcx, qword [rbp - 0x70]
call fcn.1401c7a6c
mov qword [rbp + 0x1e8], rsi
mov qword [rbp + 0x1f8], rsi
mov qword [rbp + 0x200], r13
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, str._HttpSSLPost__Return
lea rcx, [rbp + 0x1e8]
call fcn.1400d0690
lea rcx, [rbp + 0x1e8]
call fcn.1401630b0
mov rdi, qword [rbp - 0x60]
movups xmm0, xmmword [rbp + 0x2a0]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x2b0]
movups xmmword [rdi + 0x10], xmm1
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14019ec88
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14019ec83
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019eda5
mov rcx, r8
call fcn.1401c72f8
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], r13
mov byte [r12], 0
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14019ecd2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14019eccd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019ed45
mov rcx, r8
call fcn.1401c72f8
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], r13
mov byte [rbx], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14019ed13
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14019ed0e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019ed51
mov rcx, r8
call fcn.1401c72f8
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], r13
mov byte [r14], 0
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rsp
call fcn.1401c7850
add rsp, 0x598
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
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
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3