Function at 0x1401b7c70
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 r15, r9
mov qword [rsp + 0x60], r9
mov rdi, r8
mov qword [rsp + 0x78], r8
mov rbx, rdx
mov qword [rbp - 0x80], rdx
mov rsi, rcx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov qword [rbp], SafeArrayGetLBound
lea ecx, [r12 + 0x20]
call fcn.1400d1570
mov qword [rbp - 8], SafeArrayGetLBound
mov qword [rbp], 0x1f
movups xmm0, xmmword [str._HttpPost__Start]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r12b
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14017eab0
mov qword [rsi], r12
mov qword [rsi + 0x18], SafeArrayGetLBound
mov byte [rsi], r12b
mov qword [rsi + 0x10], 5
lea r8d, [r12 + 5]
lea rdx, str.error
mov rcx, rsi
call fcn.14021bb20
mov byte [rsi + 5], r12b
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x5c], r12d
mov ecx, dword [rbp + 0xd0]
test ecx, ecx
je 0x1401b7d74
sub ecx, 1
je 0x1401b7d6b
cmp ecx, 1
jne 0x1401b7d74
lea r14, str.Content_Type:_application_json_r_nAuthorization:_Basic_QmlnRGF0YVVzZXI6anFlSjFYRjVzeGs0YXoyQUdlVFpVOTlD
jmp 0x1401b7d7b
lea r14, str.Content_Type:_application_json
jmp 0x1401b7d7b
lea r14, str.Content_Type:_text_plain
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400da220
mov rcx, rax
call fcn.1401d9b10
mov qword [rsp + 0x68], rax
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400da220
mov rcx, rax
call fcn.1401d9b10
mov qword [rsp + 0x70], rax
mov rdi, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1401b7dba
mov rdi, qword [r15]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.ASUS_AsusSystemAnalysis_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401b891b
mov r13, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x23
jb 0x1401b8a53
mov qword [rbp + 0x28], rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401b7e12
mov rax, qword [rbx]
mov qword [rbp + 0x28], rax
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov qword [rbp], r12
lea r12, [r13 + 0x23]
mov ebx, SafeArrayGetLBound
lea r15, [rbp - 0x18]
cmp r12, rbx
jbe 0x1401b7e5d
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1401b7e41
mov rbx, rcx
jmp 0x1401b7e4d
mov eax, SafeArrayPutElement
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
mov r15, rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], r12
mov qword [rbp], rbx
movups xmm0, xmmword [str._HttpPost__Specify_an_HTTP_server:]
movups xmmword [r15], xmm0
movups xmm1, xmmword [0x1402af0b0]
movups xmmword [r15 + 0x10], xmm1
movzx eax, word [0x1402af0c0]
mov word [r15 + 0x20], ax
movzx eax, byte [0x1402af0c2]
mov byte [r15 + 0x22], al
lea rcx, [r15 + 0x23]
mov r8, r13
mov rdx, qword [rbp + 0x28]
call fcn.14021bb20
mov byte [r15 + r12], 0
mov dword [rsp + 0x40], 3
lea rcx, [rbp - 0x18]
call fcn.14017eab0
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xe0]
mov r8d, dword [rbp + 0xd8]
mov edx, 0x2710
mov r13, qword [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov r8d, 0x50
xor r9d, r9d
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
je 0x1401b8861
mov r8, qword [rsp + 0x78]
lea rdx, str._HttpPost__Create_an_HTTP_request_handle._path:
lea rcx, [rbp + 8]
call fcn.1400d14e0
mov rcx, rax
call fcn.14017eab0
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsp + 0x70]
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x1401b87b0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 8], rbx
mov qword [rbp], SafeArrayGetLBound
lea ecx, [rbx + 0x20]
call fcn.1400d1570
mov rcx, rax
mov qword [rbp - 8], 0x1c
mov qword [rbp], 0x1f
movups xmm0, xmmword [str._HttpPost__Send_a_request...]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402af170]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x1402af178]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], bl
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.14017eab0
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rdi + rcx], bl
jne 0x1401b7fc0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax], bl
jne 0x1401b7fd0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, 0xffffffff
mov rdx, r14
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1401b80bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14010bd70
nop
mov r9d, 0x33
lea r8, str._HttpPost__WinHttpSendRequest__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], r14b
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetLBound
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b80a5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b80a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a59
call fcn.1401e3784
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401b8904
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], SafeArrayGetLBound
lea ecx, [r14 + 0x20]
call fcn.1400d1570
mov rcx, rax
mov qword [rbp - 8], 0x1b
mov qword [rbp], 0x1f
movups xmm0, xmmword [str._HttpPost__End_the_request.]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402af200]
movsd qword [rax + 0x10], xmm1
movzx eax, word [0x1402af208]
mov word [rcx + 0x18], ax
movzx eax, byte [0x1402af20a]
mov byte [rcx + 0x1a], al
mov byte [rcx + 0x1b], bl
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.14017eab0
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], SafeArrayGetLBound
lea ecx, [r14 + 0x20]
call fcn.1400d1570
mov rcx, rax
mov qword [rbp - 8], 0x1c
mov qword [rbp], 0x1f
movups xmm0, xmmword [str._HttpPost__Get_the_Response.]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402af220]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x1402af228]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], r14b
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.14017eab0
test ebx, ebx
jne 0x1401b823e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14010bd70
nop
lea r9d, [r14 + 0x37]
lea r8, str._HttpPost__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], bl
mov dword [rsp + 0x40], 0x43
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b80a5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b80a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a47
jmp 0x1401b80a0
mov dword [rsp + 0x58], SafeArrayGetLBound
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1401b8373
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], SafeArrayGetLBound
lea ecx, [rax + 0x30]
call fcn.1400d1570
mov rcx, rax
mov qword [rbp - 8], 0x24
mov qword [rbp], 0x2f
movups xmm0, xmmword [str._HttpPost__WinHttpQueryHeaders_Error]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402af278]
movups xmmword [rax + 0x10], xmm1
mov eax, dword [0x1402af288]
mov dword [rcx + 0x20], eax
mov byte [rcx + 0x24], r14b
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.14017eab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14010bd70
nop
mov r9d, 0x27
lea r8, str._HttpPost__WinHttpQueryHeaders__Error:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], 0
mov dword [rsp + 0x40], 0x83
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b80a5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b80a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a4d
jmp 0x1401b80a0
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
mov edx, eax
lea rcx, [rbp + 8]
call fcn.1400f3820
nop
mov r9d, reloc.OLEAUT32.dll_SafeArrayPutElement
lea r8, str._HttpPost__ResponseCode:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], 0
mov edi, 0x103
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b841f
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b841a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a5f
call fcn.1401e3784
cmp ebx, 0xc8
jne 0x1401b80a5
xor r8d, r8d
lea rdx, [0x140295be8]
mov rcx, rsi
call fcn.1400e82b0
nop dword [rax]
mov dword [rsp + 0x44], r14d
lea rdx, [rsp + 0x44]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1401b84fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.14010bd70
nop
mov r9d, 0x2c
lea r8, str._HttpPost__WinHttpQueryDataAvailable_Error:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], 0
bts edi, 9
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1401b84fb
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b84f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a65
call fcn.1401e3784
mov ecx, dword [rsp + 0x44]
inc ecx
call fcn.1401e3f7c
mov rbx, rax
test rax, rax
jne 0x1401b8545
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], SafeArrayGetLBound
lea r8d, [rax + 0x18]
lea rdx, str._HttpPost__Out_of_memory
lea rcx, [rbp - 0x18]
call fcn.1400e82b0
lea rcx, [rbp - 0x18]
call fcn.14017eab0
mov dword [rsp + 0x44], r14d
jmp 0x1401b8798
mov r8d, dword [rsp + 0x44]
inc r8d
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x5c]
mov r8d, dword [rsp + 0x44]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1401b861e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.14010bd70
nop
mov r9d, 0x22
lea r8, str._HttpPost__WinHttpReadData_Error:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], 0
bts edi, 0xa
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1401b8798
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b8614
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a6b
call fcn.1401e3784
jmp 0x1401b8798
cmp dword [rsp + 0x44], 0
jbe 0x1401b8798
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], SafeArrayGetLBound
mov byte [rbp - 0x18], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1401b8644
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.1400e82b0
nop
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401b8668
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.1401bb2b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], 0
bts edi, 0xb
mov dword [rsp + 0x40], edi
lea rax, [rbp + 8]
cmp rsi, rax
je 0x1401b8706
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1401b86f2
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1401b86e4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b8a71
mov rcx, r8
call fcn.1401e3784
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rbp + 0x28]
mov qword [rsi + 0x18], SafeArrayGetLBound
mov byte [rsi], 0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1401b8742
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b8742
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b873c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a71
call fcn.1401e3784
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401b877d
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b8778
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a77
call fcn.1401e3784
mov r8, rsi
lea rdx, str._HttpPost__result_s:
lea rcx, [rbp - 0x18]
call fcn.1400d14e0
mov rcx, rax
call fcn.14017eab0
mov rcx, rbx
call fcn.1401e3efc
cmp dword [rsp + 0x44], 0
jbe 0x1401b80a5
jmp 0x1401b8440
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14010bd70
nop
mov r9d, 0x33
lea r8, str._HttpPost__WinHttpOpenRequest__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], r14b
mov dword [rsp + 0x40], 0x23
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b8853
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b884e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a7d
call fcn.1401e3784
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401b8904
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14010bd70
nop
mov r9d, 0x2f
lea r8, str._HttpPost__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], r14b
mov dword [rsp + 0x40], VariantTimeToDosDateTime
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b8904
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b88ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a83
call fcn.1401e3784
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rbx, qword [rbp - 0x80]
mov r15, qword [rsp + 0x60]
jmp 0x1401b89be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14010bd70
nop
mov r9d, 0x2c
lea r8, str._HttpPost__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401bb2b0
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetLBound
mov byte [rax], r14b
mov dword [rsp + 0x40], 5
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401b89be
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b89b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b8a41
call fcn.1401e3784
mov rcx, qword [rsp + 0x68]
call fcn.1401e3efc
mov rcx, qword [rsp + 0x70]
call fcn.1401e3efc
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], r14
mov qword [rbp], SafeArrayGetLBound
mov r8d, SafeArrayGetLBound
lea rdx, str._HttpPost__Return
lea rcx, [rbp - 0x18]
call fcn.1400e82b0
lea rcx, [rbp - 0x18]
call fcn.14017eab0
nop
mov rcx, rbx
call fcn.1400db820
nop
mov rcx, qword [rsp + 0x78]
call fcn.1400db820
nop
mov rcx, r15
call fcn.1400db820
mov rax, rsi
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
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 fcn.1400e7e40
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
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