Function at 0x1401eb520
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 [0x1404779b8]
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 [0x140361ac0]
mov dword [rbp], eax
movzx eax, word [0x140361ac4]
mov word [rbp + 4], ax
movzx eax, byte [0x140361ac6]
mov byte [rbp + 6], al
mov byte [rbp + 7], dil
lea rcx, [rbp - 8]
call fcn.1401a7f60
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.140253310
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 0x1401eb608
mov r14, qword [r13]
movabs rax, 0x7fffffffffffffff
cmp rsi, 0x10
jae 0x1401eb627
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x80], xmm0
mov edi, SafeArrayGetLBound
jmp 0x1401eb651
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400eb1a0
mov qword [rbp - 0x80], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140253310
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
lea rcx, [rbp - 0x80]
call fcn.140214d90
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 0x1401eb689
mov r14, qword [r12]
cmp rsi, 0x10
jae 0x1401eb69e
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x60], xmm0
mov edi, SafeArrayGetLBound
jmp 0x1401eb6d2
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400eb1a0
mov qword [rbp - 0x60], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140253310
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rdi
lea rcx, [rbp - 0x60]
call fcn.140214d90
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 0x1401ec155
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.1400eb110
mov rcx, rax
call fcn.1401a7f60
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 0x1401ec0a4
xor r15d, r15d
mov qword [rbp - 8], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [r15 + 0x30]
call fcn.1400eb1a0
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 [0x140361b30]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140361b40]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], r15b
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401a7f60
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, r14
lea rdx, [0x14034a448]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x1401ebfea
xor edi, edi
mov qword [rbp - 8], rdi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [rdi + 0x20]
call fcn.1400eb1a0
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 [0x140361b90]
movsd qword [rax + 0x10], xmm1
mov byte [rax + 0x18], dil
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401a7f60
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 0x1401eba09
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], SafeArrayLock
lea ecx, [rax + 0x20]
call fcn.1400eb1a0
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 [0x140361be8]
mov dword [rcx + 0x10], eax
movzx eax, word [0x140361bec]
mov word [rcx + 0x14], ax
movzx eax, byte [0x140361bee]
mov byte [rcx + 0x16], al
mov byte [rcx + 0x17], 0
mov qword [rbp - 8], rcx
lea rcx, [rbp - 8]
call fcn.1401a7f60
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.1400eb1a0
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 [0x140361c00]
movsd qword [rax + 0x10], xmm1
movzx eax, byte [0x140361c08]
mov byte [rcx + 0x18], al
mov byte [rcx + 0x19], 0
mov qword [rbp - 8], rcx
lea rcx, [rbp - 8]
call fcn.1401a7f60
test edi, edi
jne 0x1401eba09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140127290
nop
lea r9d, [rdi + 0x36]
lea r8, str._HttpGet__WinHttpReceiveResponse__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ebfc2
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401eb9ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec27a
call fcn.14021ecec
jmp 0x1401ebfc2
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 0x1401ebae7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140127290
nop
mov r9d, 0x25
lea r8, str._HttpGet__WinHttpQueryHeaders_Error:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ebfc2
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401eb9ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec274
jmp 0x1401eb9ff
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x38]
call fcn.14027b688
mov esi, eax
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.14010d460
nop
mov r9d, SafeArrayPutElement
lea r8, str._HttpGet__ResponseCode:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ebb96
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ebb91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec280
call fcn.14021ecec
test edi, edi
je 0x1401ebf34
cmp esi, 0xc8
jne 0x1401ebfb8
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401ebbb7
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 0x1401ebc7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.140127290
nop
mov r9d, 0x2b
lea r8, str._HttpGet__WinHttpQueryDataAvailable_Error:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1401ebc7c
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ebc77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec286
call fcn.14021ecec
mov ecx, dword [rsp + 0x44]
inc ecx
call fcn.14021f4ec
mov rdi, rax
test rax, rax
jne 0x1401ebcc5
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.140101ee0
lea rcx, [rbp - 0x28]
call fcn.1401a7f60
mov dword [rsp + 0x44], esi
jmp 0x1401ebf1c
mov r8d, dword [rsp + 0x44]
inc r8d
xor edx, edx
mov rcx, rdi
call fcn.1402539e0
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 0x1401ebda0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.140127290
nop
mov r9d, 0x21
lea r8, str._HttpGet__WinHttpReadData_Error:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1401ebf1c
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ebd96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec28c
call fcn.14021ecec
jmp 0x1401ebf1c
cmp dword [rsp + 0x44], 0
jbe 0x1401ebf1c
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 0x1401ebdc6
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140101ee0
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401ebdea
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.1401ef8f0
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 0x1401ebe8a
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1401ebe76
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1401ebe68
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401ec292
mov rcx, r8
call fcn.14021ecec
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 0x1401ebec6
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ebec6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ebec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec292
call fcn.14021ecec
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1401ebf01
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ebefc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec298
call fcn.14021ecec
mov r8, rbx
lea rdx, str._HttpGet__result_s:
lea rcx, [rbp - 0x28]
call fcn.1400eb110
mov rcx, rax
call fcn.1401a7f60
mov rcx, rdi
call fcn.14021f46c
cmp dword [rsp + 0x44], 0
jbe 0x1401ebfb8
jmp 0x1401ebbc0
mov r8d, 5
lea rdx, str.error
mov rcx, rbx
call fcn.140101ee0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140127290
nop
mov r9d, 0x1e
lea r8, str._HttpGet__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
lea rcx, [rbp + 0x18]
call fcn.1400f5450
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 0x1401ec1f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140127290
nop
mov r9d, 0x32
lea r8, str._HttpGet__WinHttpOpenRequest__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ec08d
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ec088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec29e
call fcn.14021ecec
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401ec1f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140127290
nop
mov r9d, 0x2e
lea r8, str._HttpGet__WinHttpConnect__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ec147
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ec142
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec2a4
call fcn.14021ecec
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1401ec1f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140127290
nop
mov r9d, 0x2b
lea r8, str._HttpGet__WinHttpOpen__Error_has_occurred:
xor edx, edx
mov rcx, rax
call fcn.1401ef8f0
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.1401a7f60
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1401ec1f8
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ec1f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ec26e
call fcn.14021ecec
mov rcx, qword [rsp + 0x78]
call fcn.14021f46c
mov rcx, r14
call fcn.14021f46c
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.140101ee0
lea rcx, [rbp - 0x28]
call fcn.1401a7f60
nop
mov rcx, r13
call fcn.1400f5450
nop
mov rcx, r12
call fcn.1400f5450
mov rax, rbx
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14021f250
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140260f54
int3
call fcn.140260f54
int3
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