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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r14, 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 rsi, rax
test rax, rax
je 0x140007de9
lea rdx, [0x1402d8288]
cmp qword [0x1402d82a0], 7
cmova rdx, qword [0x1402d8288]
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, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r15, rax
test rax, rax
je 0x140007de0
cmp qword [rbx + 0x18], 7
jbe 0x140007da2
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 0x140007e0c
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14004d990
add rsp, 0x4c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov r8d, 0x20
lea rdx, str.Content_Type:_application_json_r_n
lea rcx, [rbp - 0x78]
call fcn.140004b10
nop
mov rcx, qword [0x1402d82b8]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x16
jb 0x14000820f
lea rax, [0x1402d82a8]
cmp qword [0x1402d82c0], 7
cmova rax, qword [0x1402d82a8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x16
lea rcx, [rsp + 0x68]
call fcn.14000e6f0
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140007ec6
lea rax, [rcx + 2]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 7
cmova rax, qword [rsp + 0x68]
mov dword [rax + rcx*2], 0xa000d
mov word [rax + rcx*2 + 4], r12w
lea rax, [rsp + 0x68]
jmp 0x140007ee5
mov qword [rsp + 0x20], 2
lea r9, [0x140288064]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.14000dae0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14000b4e0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140007f58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008215
call fcn.140014a40
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140007f99
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000821b
call fcn.140014a40
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140007fa6
mov r9, qword [rdi]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140008031
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140007de9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008027
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008221
call fcn.140014a40
jmp 0x140007de9
mov qword [r14 + 0x10], r12
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x140008042
mov rax, qword [r14]
mov word [rax], r12w
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400081a7
nop word [rax + rax]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400081a7
cmp rax, 0x400
jae 0x140008209
mov byte [rbp + rax - 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400080b0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140004c40
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
add r8, rdx
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000c9f0
nop
mov rdx, rax
mov rcx, r14
call fcn.14000b4e0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000814b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008145
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008227
call fcn.140014a40
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140008187
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008182
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000822d
call fcn.140014a40
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140008070
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x1400081ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008221
call fcn.140014a40
mov eax, 1
jmp 0x140007deb
call fcn.14004dc0c
int3
call fcn.1400027c0
nop
call fcn.1401f4404
nop
call fcn.1401f4404
nop
call fcn.1401f4404
nop
call fcn.1401f4404
nop
call fcn.1401f4404
int3