Function at 0x1400cf0b0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x360
mov rax, qword [0x1403a05a0]
xor rax, rsp
mov qword [rsp + 0x350], rax
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.VAuth_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400cf142
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.vauth.top
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x1400cf149
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400cfc70
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, str._updates_users.json
lea rdx, [0x140369848]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov qword [rsp + 0x80], rax
xor dil, dil
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x170], dil
test rax, rax
je 0x1400cfc16
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400cfc0d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400cfc0d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x44], r12d
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400cf276
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x1400cf276
lea ecx, [rax + 1]
call fcn.1402717c4
mov rbx, rax
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400cf26e
mov ecx, dword [rsp + 0x48]
mov byte [rcx + rbx], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400cf243
mov rdx, rbx
lea rcx, [rsp + 0x170]
call fcn.1400a2420
mov rcx, rbx
call fcn.1402711ec
cmp dword [rsp + 0x44], 0
jbe 0x1400cf276
jmp 0x1400cf1f0
mov rcx, rbx
call fcn.1402711ec
cmp qword [rsp + 0x180], 0
je 0x1400cfc0d
mov qword [rsp + 0x168], r12
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xa0]
call fcn.1400bd010
nop
mov rbx, qword [0x140521f08]
mov r8, qword [rbx + 8]
lea rdx, [0x140521f08]
lea rcx, [0x140521f08]
call fcn.1400d60d0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [0x140521f10], r12
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xa0]
call fcn.1400c67d0
nop
mov rcx, qword [rax]
mov qword [rsp + 0x200], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x208], xmm0
movsd xmm1, qword [rax + 0x18]
movsd qword [rsp + 0x218], xmm1
mov qword [rsp + 0x220], r12
mov qword [rsp + 0x228], r12
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x248], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x230], 0
mov r8d, 1
lea rdx, [0x14035f45c]
lea rcx, [rsp + 0x230]
call fcn.1400a22c0
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x268], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x250], 0
xor r8d, r8d
lea rdx, [0x14035dbfa]
lea rcx, [rsp + 0x250]
call fcn.1400a22c0
nop
lea rbx, [rsp + 0xa0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x68], rdi
test rbx, rbx
jne 0x1400cf3e5
lea r8d, [rbx + 0x57]
lea rdx, str.G:OLoader1examplesexample_win32_directx11libsjsoninclude_nlohmanndetailiteratorsiter_impl.hpp
lea rcx, str.m_object___nullptr
call fcn.14028ff68
movzx ecx, byte [rbx]
mov edx, ecx
sub edx, 1
je 0x1400cf418
cmp edx, 1
je 0x1400cf409
sub ecx, 1
je 0x1400cf418
cmp ecx, 1
je 0x1400cf409
mov qword [rsp + 0x68], 1
jmp 0x1400cf424
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x60], rcx
jmp 0x1400cf424
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x2e0], rbx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x2e8], xmm0
movsd xmm1, qword [rsp + 0x68]
movsd qword [rsp + 0x2f8], xmm1
mov qword [rsp + 0x300], r12
mov qword [rsp + 0x308], r12
mov qword [rsp + 0x310], r12
mov qword [rsp + 0x320], r12
mov qword [rsp + 0x328], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x310], 0
mov r8d, 1
lea rdx, [0x14035f45c]
lea rcx, [rsp + 0x310]
call fcn.1400a22c0
mov qword [rsp + 0x330], r12
mov qword [rsp + 0x340], r12
mov qword [rsp + 0x348], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x330], 0
xor r8d, r8d
lea rdx, [0x14035dbfa]
lea rcx, [rsp + 0x330]
call fcn.1400a22c0
nop
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x200]
cmp rax, qword [rsp + 0x2e0]
jne 0x1400cfca2
test rax, rax
jne 0x1400cf51c
mov r8d, 0x194
lea rdx, str.G:OLoader1examplesexample_win32_directx11libsjsoninclude_nlohmanndetailiteratorsiter_impl.hpp
lea rcx, str.m_object___nullptr
call fcn.14028ff68
mov rax, qword [rsp + 0x200]
movzx ecx, byte [rax]
sub ecx, 1
je 0x1400cf54d
cmp ecx, 1
je 0x1400cf53b
mov rax, qword [rsp + 0x2f8]
cmp qword [rsp + 0x218], rax
jmp 0x1400cf55d
mov rax, qword [rsp + 0x2f0]
cmp qword [rsp + 0x210], rax
jmp 0x1400cf55d
mov rax, qword [rsp + 0x2e8]
cmp qword [rsp + 0x208], rax
setne al
test al, al
je 0x1400cfa9f
lea rcx, [rsp + 0x200]
call fcn.1400d6b10
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x200]
call fcn.1400d5900
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov r15, r12
mov qword [rsp + 0x60], r12
lea rdx, [rsp + 0x130]
mov rcx, rax
call fcn.1400c67d0
nop
mov rcx, qword [rax]
mov qword [rsp + 0x190], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x198], xmm0
movsd xmm1, qword [rax + 0x18]
movsd qword [rsp + 0x1a8], xmm1
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1c0], r12
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1d8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1c0], 0
mov r8d, 1
lea rdx, [0x14035f45c]
lea rcx, [rsp + 0x1c0]
call fcn.1400a22c0
mov qword [rsp + 0x1e0], r12
mov qword [rsp + 0x1f0], r12
mov qword [rsp + 0x1f8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1e0], 0
xor r8d, r8d
lea rdx, [0x14035dbfa]
lea rcx, [rsp + 0x1e0]
call fcn.1400a22c0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x138], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x140], xmm1
mov qword [rsp + 0x148], rdi
test rbx, rbx
jne 0x1400cf69a
lea r8d, [rbx + 0x57]
lea rdx, str.G:OLoader1examplesexample_win32_directx11libsjsoninclude_nlohmanndetailiteratorsiter_impl.hpp
lea rcx, str.m_object___nullptr
call fcn.14028ff68
movzx ecx, byte [rbx]
mov edx, ecx
sub edx, 1
je 0x1400cf6d3
cmp edx, 1
je 0x1400cf6c1
sub ecx, 1
je 0x1400cf6d3
cmp ecx, 1
je 0x1400cf6c1
mov qword [rsp + 0x148], 1
jmp 0x1400cf6e2
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x140], rcx
jmp 0x1400cf6e2
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x270], rbx
movups xmm0, xmmword [rsp + 0x138]
movups xmmword [rsp + 0x278], xmm0
movsd xmm1, qword [rsp + 0x148]
movsd qword [rsp + 0x288], xmm1
mov qword [rsp + 0x290], r12
mov qword [rsp + 0x298], r12
mov qword [rsp + 0x2a0], r12
mov qword [rsp + 0x2b0], r12
mov qword [rsp + 0x2b8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x2a0], 0
mov r8d, 1
lea rdx, [0x14035f45c]
lea rcx, [rsp + 0x2a0]
call fcn.1400a22c0
mov qword [rsp + 0x2c0], r12
mov qword [rsp + 0x2d0], r12
mov qword [rsp + 0x2d8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x2c0], 0
xor r8d, r8d
lea rdx, [0x14035dbfa]
lea rcx, [rsp + 0x2c0]
call fcn.1400a22c0
nop
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x288]
mov r13, qword [rsp + 0x280]
nop dword [rax + rax]
mov rax, qword [rsp + 0x190]
cmp rax, qword [rsp + 0x270]
jne 0x1400cfce6
test rax, rax
jne 0x1400cf7ec
mov r8d, 0x194
lea rdx, str.G:OLoader1examplesexample_win32_directx11libsjsoninclude_nlohmanndetailiteratorsiter_impl.hpp
lea rcx, str.m_object___nullptr
call fcn.14028ff68
mov rax, qword [rsp + 0x190]
movzx ecx, byte [rax]
sub ecx, 1
je 0x1400cf80d
cmp ecx, 1
je 0x1400cf803
cmp qword [rsp + 0x1a8], r12
jmp 0x1400cf81d
cmp qword [rsp + 0x1a0], r13
jmp 0x1400cf81d
mov rax, qword [rsp + 0x278]
cmp qword [rsp + 0x198], rax
setne al
test al, al
je 0x1400cf919
lea rcx, [rsp + 0x190]
call fcn.1400d6b10
mov rsi, rax
lea rcx, [rsp + 0x190]
call fcn.1400d5900
mov r14, rax
mov byte [rsp + 0x70], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1402714fc
mov rbx, rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
lea r8d, [rax + 3]
lea rdx, [0x14036dcc8]
mov rcx, rbx
call fcn.1400a22c0
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x70]
call fcn.1400bba50
lea rcx, [rsp + 0x70]
call fcn.1400bba50
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400bee90
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.1400bba50
mov dl, 3
lea rcx, [rsp + 0x78]
call fcn.1400bb490
nop
test bl, bl
je 0x1400cf907
cmp rdi, r15
je 0x1400cf8ed
mov rdx, rsi
mov rcx, rdi
call fcn.1400a20a0
add rdi, 0x20
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x190]
call fcn.1400d3250
jmp 0x1400cf7b0
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400bd890
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
lea rcx, [rsp + 0x190]
call fcn.1400d3250
jmp 0x1400cf7b0
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 0x10
jb 0x1400cf95c
inc rdx
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd2a
call fcn.1402711ec
mov rdx, qword [rsp + 0x2b8]
cmp rdx, 0x10
jb 0x1400cf9a0
inc rdx
mov rcx, qword [rsp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf99a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd2a
call fcn.1402711ec
nop
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0x10
jb 0x1400cf9e3
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf9de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd30
call fcn.1402711ec
xor r12d, r12d
mov qword [rsp + 0x1f0], r12
mov qword [rsp + 0x1f8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1e0], r12b
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0x10
jb 0x1400cfa45
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfa40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd30
call fcn.1402711ec
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0xb0]
call fcn.1400d5ef0
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x1400cfa79
mov r8, rdi
mov rdx, qword [rsp + 0x50]
call fcn.1400d6ff0
nop
lea rcx, [rsp + 0x50]
call fcn.1400a2180
lea rcx, [rsp + 0x200]
call fcn.1400d3250
movabs rdi, 0x8000000000000000
jmp 0x1400cf4e0
mov rdx, qword [rsp + 0x348]
cmp rdx, 0x10
jb 0x1400cfae2
inc rdx
mov rcx, qword [rsp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfadd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd36
call fcn.1402711ec
mov rdx, qword [rsp + 0x328]
cmp rdx, 0x10
jb 0x1400cfb26
inc rdx
mov rcx, qword [rsp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfb20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd36
call fcn.1402711ec
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x1400cfb69
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfb64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd3c
call fcn.1402711ec
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x268], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x250], 0
mov rdx, qword [rsp + 0x248]
cmp rdx, 0x10
jb 0x1400cfbc8
inc rdx
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfbc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd3c
call fcn.1402711ec
mov dil, 1
lea rcx, [rsp + 0xa0]
call fcn.1400bba50
movzx edx, byte [rsp + 0xa0]
lea rcx, [rsp + 0xa8]
call fcn.1400bb490
nop
jmp 0x1400cfbf5
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x1400cfc6c
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfc67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cfd42
call fcn.1402711ec
movzx eax, dil
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140270e60
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea rdx, str.cannot_compare_iterators_of_different_containers
lea rcx, [rsp + 0x130]
call fcn.1400a2040
nop
lea r8, [rsp + 0x130]
mov edx, 0xd4
lea rcx, [rsp + 0xc0]
call fcn.1400a7650
lea rdx, [0x140397e48]
lea rcx, [rsp + 0xc0]
call fcn.140275604
nop
lea rdx, str.cannot_compare_iterators_of_different_containers
lea rcx, [rsp + 0x130]
call fcn.1400a2040
nop
lea r8, [rsp + 0x130]
mov edx, 0xd4
lea rcx, [rsp + 0xf8]
call fcn.1400a7650
lea rdx, [0x140397e48]
lea rcx, [rsp + 0xf8]
call fcn.140275604
nop
call fcn.140290dbc
nop
call fcn.140290dbc
nop
call fcn.140290dbc
nop
call fcn.140290dbc
nop
call fcn.140290dbc
int3