Function at 0x140004c70
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

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, 0x130
mov rax, qword [0x140290040]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor r13d, r13d
xor dil, dil
mov dword [rsp + 0xc0], r13d
mov dword [rsp + 0xc4], r13d
movabs rax, 0x1d6f17a1263e7564
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rbx, 0x4dcfbc78987407aa
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs rsi, 0x1d0717d5264b7505
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
je 0x14000526a
movabs rax, 0x1d3617fb267e7531
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x80], rcx
movabs rax, 0x4dfdbc5698430799
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x88], rcx
movabs rax, 0x7e1d65f1391e68a7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
movabs rax, 0xe4052e1a7a059a5c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movabs rax, 0x7e2565df392d6897
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x110], rax
movabs rax, 0xe4052e1a7a059a64
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x118], rax
vmovdqu ymm0, ymmword [rsp + 0x80]
vpxor ymm1, ymm0, ymmword [rsp + 0x100]
vmovdqu ymmword [rsp + 0x80], ymm1
mov r8d, 0x1388
xor r9d, r9d
lea rdx, [rsp + 0x80]
mov rcx, r15
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
je 0x140005261
lea rcx, [rsp + 0x100]
call fcn.140003b50
nop
movabs rax, 0x1d7317a0262a752a
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rcx
movabs rax, 0x4dcfbc78987407c2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd8], rax
movdqa xmm0, xmmword [rsp + 0xf0]
xorps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xf0], xmm0
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0xf0]
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x1400051e8
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x110]
sub rcx, rdx
cmp rcx, 6
jb 0x1400052a0
lea rax, [rsp + 0x100]
cmp qword [rsp + 0x118], 0xf
cmova rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.hwid:
lea rcx, [rsp + 0xd0]
call fcn.140009fd0
nop
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 0xf
cmova rdx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xe0]
add r8, rdx
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 0xf
cmova rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
call fcn.1400086e0
cmp qword [rax + 0x18], 7
jbe 0x140004fd2
mov rax, qword [rax]
mov r9d, 0x20000000
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov ebx, eax
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x140005037
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085e60
test ebx, ebx
je 0x14000519a
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14000519a
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000519a
nop word [rax + rax]
mov dword [rsp + 0xc0], r13d
lea rdx, [rsp + 0xc0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov ecx, dword [rsp + 0xc0]
inc ecx
call fcn.1400860ec
mov rbx, rax
mov r8d, dword [rsp + 0xc0]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0xc4]
mov r8d, dword [rsp + 0xc0]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140005184
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140005100
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140009030
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rsp + 0x70], 4
jne 0x140005143
cmp dword [rax], 0x65757274
jne 0x140005143
mov sil, 1
jmp 0x140005146
xor sil, sil
cmp rdx, 0xf
jbe 0x140005175
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005170
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400051db
call fcn.140085e60
movzx edi, dil
test sil, sil
mov eax, 1
cmovne edi, eax
mov rcx, rbx
call fcn.140085e60
cmp dword [rsp + 0xc0], 0
ja 0x140005080
mov rdx, qword [rsp + 0xe8]
cmp rdx, 0xf
jbe 0x1400051e8
inc rdx
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140085e60
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 0xf
jbe 0x14000522e
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005229
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005229
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140085e60
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x118], 0xf
mov byte [rsp + 0x100], 0
test r14, r14
je 0x140005258
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, dil
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140085e40
lea r11, [rsp + 0x130]
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
call fcn.140001210
nop
int3