Function at 0x1401d8070
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 - 0x58]
sub rsp, 0x158
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r15d, r9d
mov r12, r8
mov r13, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], r8
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rbp + 0x10], SafeArrayLock
mov qword [rbp + 8], SafeArrayLock
movsd xmm0, qword [str._HttpGet__Start]
movsd qword [rbp - 8], xmm0
mov eax, dword [0x1402e46a0]
mov dword [rbp], eax
movzx eax, word [0x1402e46a4]
mov word [rbp + 4], ax
movzx eax, byte [0x1402e46a6]
mov byte [rbp + 6], al
mov byte [rbp + 7], dil
lea rcx, [rbp - 8]
call fcn.140195010
mov qword [rbx], rdi
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], dil
mov qword [rbx + 0x10], 5
lea r8d, [rdi + 5]
lea rdx, str.error
mov rcx, rbx
call fcn.140244220
mov byte [rbx + 5], dil
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x6c], edi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov rsi, qword [r13 + 0x10]
mov r14, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1401d8158
mov r14, qword [r13]
movabs rax, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x1401d8177
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x80], xmm0
mov edi, SafeArrayGetLBound
jmp 0x1401d81a1
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400e1b00
mov qword [rbp - 0x80], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140244220
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
lea rcx, [rbp - 0x80]
call fcn.140201cd0
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov rsi, qword [r12 + 0x10]
mov r14, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1401d81d9
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x1401d81ee
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x60], xmm0
mov edi, SafeArrayGetLBound
jmp 0x1401d8222
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400e1b00
mov qword [rbp - 0x60], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140244220
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rdi
lea rcx, [rbp - 0x60]
call fcn.140201cd0
mov r14, rax
mov qword [rsp + 0x70], rax
xor eax, eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.ASUS_AsusSystemAnalysis_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401d8ca5
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xc0]
mov r8d, r15d
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov r8, r13
lea rdx, str._HttpGet__Specify_an_HTTP_server:
lea rcx, [rbp + 0x18]
call fcn.1400e1a70
mov rcx, rax
call fcn.140195010
mov r8d, 0x50
xor r9d, r9d
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401d8bf4
xor r15d, r15d
mov qword [rbp - 8], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [r15 + 0x30]
call fcn.1400e1b00
mov qword [rbp + 8], 0x28
mov qword [rbp + 0x10], 0x2f
movups xmm0, xmmword [str._HttpGet__Create_an_HTTP_request_handle.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402e4710]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1402e4720]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], r15b
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140195010
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, r14
lea rdx, [0x1402cd5a8]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x1401d8b3a
xor edi, edi
mov qword [rbp - 8], rdi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [rdi + 0x20]
call fcn.1400e1b00
mov qword [rbp + 8], SafeArrayPutElement
mov qword [rbp + 0x10], 0x1f
movups xmm0, xmmword [str._HttpGet__Send_a_request]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402e4770]
movsd qword [rax + 0x10], xmm1
mov byte [rax + 0x18], dil
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140195010
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, eax
test eax, eax
je 0x1401d8559
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [rax + 0x20]
call fcn.1400e1b00
mov rcx, rax
mov qword [rbp + 8], SafeArrayPutElement
mov qword [rbp + 0x10], 0x1f
movups xmm0, xmmword [str._HttpGet__End_a_request]
movups xmmword [rax], xmm0
mov eax, dword [0x1402e47c8]
mov dword [rcx + 0x10], eax
movzx eax, word [0x1402e47cc]
mov word [rcx + 0x14], ax
movzx eax, byte [0x1402e47ce]
mov byte [rcx + 0x16], al
mov byte [rcx + 0x17], 0
mov qword [rbp - 8], rcx
lea rcx, [rbp - 8]
call fcn.140195010
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov edi, eax
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [rax + 0x20]
call fcn.1400e1b00
mov rcx, rax
mov qword [rbp + 8], reloc.OLEAUT32.dll_SafeArrayPutElement
mov qword [rbp + 0x10], 0x1f
movups xmm0, xmmword [str._HttpGet__Get_the_request]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1402e47e0]
movsd qword [rax + 0x10], xmm1
movzx eax, byte [0x1402e47e8]
mov byte [rcx + 0x18], al
mov byte [rcx + 0x19], 0
mov qword [rbp - 8], rcx
lea rcx, [rbp - 8]
call fcn.140195010
test edi, edi
jne 0x1401d8559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14011d870
nop
lea r9d, [rdi + 0x36]
lea r8, str._HttpGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor edi, edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], dil
mov dword [rsp + 0x40], SafeArrayLock
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d8b12
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d854f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8dca
call fcn.14020be84
jmp 0x1401d8b12
mov dword [rsp + 0x68], SafeArrayLock
xor eax, eax
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1401d8637
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14011d870
nop
mov r9d, 0x25
lea r8, str._HttpGet__WinHttpQueryHeaders_Error:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], cl
mov dword [rsp + 0x40], 0x21
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d8b12
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d854f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8dc4
jmp 0x1401d854f
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x38]
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstoul
mov esi, eax
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140103db0
nop
mov r9d, SafeArrayPutElement
lea r8, str._HttpGet__ResponseCode:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], cl
mov r14d, 0x41
mov dword [rsp + 0x40], r14d
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d86e6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d86e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8dd0
call fcn.14020be84
test edi, edi
je 0x1401d8a84
cmp esi, 0xc8
jne 0x1401d8b08
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401d8707
mov rax, qword [rbx]
xor esi, esi
mov qword [rbx + 0x10], rsi
mov byte [rax], sil
mov dword [rsp + 0x44], esi
lea rdx, [rsp + 0x44]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1401d87cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.14011d870
nop
mov r9d, 0x2b
lea r8, str._HttpGet__WinHttpQueryDataAvailable_Error:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], 0
bts r14d, 7
mov dword [rsp + 0x40], r14d
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1401d87cc
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d87c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8dd6
call fcn.14020be84
mov ecx, dword [rsp + 0x44]
inc ecx
call fcn.14020c67c
mov rdi, rax
test rax, rax
jne 0x1401d8815
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], SafeArrayLock
lea r8d, [rax + 0x17]
lea rdx, str._HttpGet__Out_of_memory
lea rcx, [rbp - 0x28]
call fcn.1400f8840
lea rcx, [rbp - 0x28]
call fcn.140195010
mov dword [rsp + 0x44], esi
jmp 0x1401d8a6c
mov r8d, dword [rsp + 0x44]
inc r8d
xor edx, edx
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x6c]
mov r8d, dword [rsp + 0x44]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1401d88f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.14011d870
nop
mov r9d, 0x21
lea r8, str._HttpGet__WinHttpReadData_Error:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], 0
bts r14d, 8
mov dword [rsp + 0x40], r14d
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1401d8a6c
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d88e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8ddc
call fcn.14020be84
jmp 0x1401d8a6c
cmp dword [rsp + 0x44], 0
jbe 0x1401d8a6c
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], SafeArrayLock
mov byte [rbp - 0x28], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1401d8916
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400f8840
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401d893a
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.1401dc440
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], 0
bts r14d, 9
mov dword [rsp + 0x40], r14d
lea rax, [rbp + 0x18]
cmp rbx, rax
je 0x1401d89da
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1401d89c6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1401d89b8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401d8de2
mov rcx, r8
call fcn.14020be84
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rbp - 8]
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], 0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x1401d8a16
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d8a16
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d8a10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8de2
call fcn.14020be84
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1401d8a51
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d8a4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8de8
call fcn.14020be84
mov r8, rbx
lea rdx, str._HttpGet__result_s:
lea rcx, [rbp - 0x28]
call fcn.1400e1a70
mov rcx, rax
call fcn.140195010
mov rcx, rdi
call fcn.14020c5fc
cmp dword [rsp + 0x44], 0
jbe 0x1401d8b08
jmp 0x1401d8710
mov r8d, 5
lea rdx, str.error
mov rcx, rbx
call fcn.1400f8840
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14011d870
nop
mov r9d, 0x1e
lea r8, str._HttpGet__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], cl
mov dword [rsp + 0x40], 0x441
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
lea rcx, [rbp + 0x18]
call fcn.1400ebdb0
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdi, qword [rsp + 0x60]
xor r15d, r15d
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401d8d48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14011d870
nop
mov r9d, 0x32
lea r8, str._HttpGet__WinHttpOpenRequest__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], r15b
mov dword [rsp + 0x40], 9
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d8bdd
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d8bd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8dee
call fcn.14020be84
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401d8d48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14011d870
nop
mov r9d, 0x2e
lea r8, str._HttpGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], r15b
mov dword [rsp + 0x40], 5
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d8c97
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d8c92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8df4
call fcn.14020be84
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401d8d48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14011d870
nop
mov r9d, 0x2b
lea r8, str._HttpGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401dc440
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], r15b
mov dword [rsp + 0x40], 3
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401d8d48
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d8d43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d8dbe
call fcn.14020be84
mov rcx, qword [rsp + 0x78]
call fcn.14020c5fc
mov rcx, r14
call fcn.14020c5fc
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], SafeArrayLock
mov r8d, SafeArrayLock
lea rdx, str._HttpGet__Return
lea rcx, [rbp - 0x28]
call fcn.1400f8840
lea rcx, [rbp - 0x28]
call fcn.140195010
nop
mov rcx, r13
call fcn.1400ebdb0
nop
mov rcx, r12
call fcn.1400ebdb0
mov rax, rbx
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14020c3e0
add rsp, 0x158
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 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