Function at 0x1400042f0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x14008f040]
xor rax, rsp
mov qword [rsp + 0x4b8], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.HTTP_POST
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x1400047ea
lea rdx, [0x140092d10]
cmp qword [0x140092d28], 7
cmova rdx, qword [0x140092d10]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r15, rax
test rax, rax
jne 0x1400043a3
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1400047ea
cmp qword [rbx + 0x18], 7
jbe 0x1400043ad
mov rbx, qword [rbx]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
lea rdx, str.POST
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbx, rax
test rax, rax
jne 0x1400043fb
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1400047ea
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r12
mov r8d, 0x20
lea rdx, str.Content_Type:_application_json_r_n
lea rcx, [rsp + 0x88]
call fcn.140009d80
nop
mov rcx, qword [0x140092d40]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x16
jb 0x140004812
lea rax, [0x140092d30]
cmp qword [0x140092d48], 7
cmova rax, qword [0x140092d30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x16
lea rcx, [rsp + 0x40]
call fcn.14000b810
nop
mov r8d, 2
lea rdx, [0x140080954]
lea rcx, [rsp + 0x40]
call fcn.140008f70
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.1400080b0
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140004515
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000450f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004818
call fcn.140045a90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140004557
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000481e
call fcn.140045a90
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140004564
mov r9, qword [rdi]
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rdx, qword [rsp + 0x88]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140004605
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x1400045fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004836
call fcn.140045a90
xor eax, eax
jmp 0x1400047ea
mov qword [rsi + 0x10], r12
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140004616
mov rax, qword [rsi]
mov word [rax], r12w
nop word [rax + rax]
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140004780
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140004780
cmp rax, 0x400
jae 0x140004830
mov byte [rsp + rax + 0xb0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], r12
lea rax, [rsp + 0xb0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004690
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.14000a080
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
add r8, rdx
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140009710
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400080b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140004737
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004731
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004824
call fcn.140045a90
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x140004620
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004776
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000482a
call fcn.140045a90
jmp 0x140004620
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x1400047e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004836
call fcn.140045a90
nop
mov eax, 1
jmp 0x1400047ea
mov rcx, qword [rsp + 0x4b8]
xor rcx, rsp
call fcn.140045a70
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140001430
nop
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
int3
call fcn.140045ba0
nop
call fcn.140051f70
int3