Function at 0x1400065a0
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 r13
push r14
push r15
lea rbp, [rsp - 0x428]
sub rsp, 0x528
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r9
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140287fd0]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140006717
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpen_failed:
lea rcx, [0x1402d07a0]
call fcn.14000c740
mov rcx, rax
mov edx, ebx
call fcn.140009af0
mov rcx, rax
call fcn.14000cc80
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14000667c
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140006677
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006d2f
mov rcx, r8
call fcn.140014a40
xor ebx, ebx
mov byte [r14], bl
mov qword [r14 + 0x18], SafeArrayGetDim
mov qword [r14 + 0x10], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400066c7
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400066c2
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cff
mov rcx, r8
call fcn.140014a40
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], SafeArrayGetDim
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140006710
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14000670b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006d05
mov rcx, r8
call fcn.140014a40
xor al, al
jmp 0x140006ccd
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14000672a
add r8, qword [r14]
mov rdx, qword [r14]
jmp 0x140006730
add r8, r14
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.14000c9f0
cmp qword [rax + 0x18], 7
jbe 0x140006744
mov rax, qword [rax]
mov r8d, 0x1bb
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r13, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400067b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d0b
call fcn.140014a40
movdqa xmm0, xmmword [0x14028bac0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
test r13, r13
jne 0x140006807
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetConnect_failed:
lea rcx, [0x1402d07a0]
call fcn.14000c740
mov rcx, rax
mov edx, ebx
call fcn.140009af0
mov rcx, rax
call fcn.14000cc80
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140006642
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14000681a
add r8, qword [rsi]
mov rdx, qword [rsi]
jmp 0x140006820
add r8, rsi
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14000c9f0
cmp qword [rax + 0x18], 7
jbe 0x140006834
mov rax, qword [rax]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, rax
lea rdx, [0x140287fe8]
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r15, rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400068a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d11
call fcn.140014a40
movdqa xmm0, xmmword [0x14028bac0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
test r15, r15
jne 0x140006953
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.HttpOpenRequest_failed:
lea rcx, [0x1402d07a0]
call fcn.14000c740
mov rcx, rax
mov edx, ebx
call fcn.140009af0
mov rcx, rax
call fcn.14000cc80
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14000693d
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140006938
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006d2f
mov rcx, r8
call fcn.140014a40
xor ebx, ebx
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], SafeArrayGetDim
mov byte [r14], bl
jmp 0x14000668d
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140006b09
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140006972
mov rdx, qword [rdi]
mov rax, rdx
jmp 0x140006975
mov rax, rdi
lea r8, [rax + rcx]
lea rcx, [rbp - 0x58]
call fcn.14000c9f0
nop
mov r8, rax
lea rcx, [rbp - 0x78]
call fcn.14000cb40
mov rcx, rax
mov r8, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, r8
cmp rax, 2
jb 0x1400069c8
lea rdx, [r8 + 2]
mov qword [rcx + 0x10], rdx
mov rax, rcx
cmp r9, 7
jbe 0x1400069ba
mov rax, qword [rcx]
mov dword [rax + r8*2], 0xa000d
mov word [rax + rdx*2], bx
jmp 0x1400069e5
mov qword [rsp + 0x20], 2
lea r9, [0x140288064]
mov edx, 2
call fcn.14000dae0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140006a52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d17
call fcn.140014a40
movdqa xmm0, xmmword [0x14028bac0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], bx
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140006aa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d1d
call fcn.140014a40
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, dword [rbp - 8]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov ebx, eax
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140006b20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d23
call fcn.140014a40
jmp 0x140006b20
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov ebx, eax
test ebx, ebx
jne 0x140006b5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.HttpSendRequest_failed:
lea rcx, [0x1402d07a0]
call fcn.14000c740
mov rcx, rax
mov edx, ebx
call fcn.140009af0
mov rcx, rax
call fcn.14000cc80
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400068ee
xor ebx, ebx
mov qword [r12 + 0x10], rbx
mov rax, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140006b75
mov rax, qword [r12]
mov byte [rax], bl
lea r9, [rbp - 0x20]
mov r8d, 0x3ff
lea rdx, [rbp + 0x10]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140006be4
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x140006be4
cmp rax, 0x400
jae 0x140006d29
mov byte [rbp + rax + 0x10], bl
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140006bb4
lea rdx, [rbp + 0x10]
mov rcx, r12
call fcn.140004520
lea r9, [rbp - 0x20]
mov r8d, 0x3ff
lea rdx, [rbp + 0x10]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140006b92
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140006c3c
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x140006c37
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006d2f
mov rcx, r8
call fcn.140014a40
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], SafeArrayGetDim
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140006c86
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140006c81
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cff
mov rcx, r8
call fcn.140014a40
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], SafeArrayGetDim
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140006ccb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140006cc6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006d05
mov rcx, r8
call fcn.140014a40
mov al, 1
mov byte [rdi], 0
mov qword [rdi + 0x18], SafeArrayGetDim
mov qword [rdi + 0x10], rbx
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14004d990
add rsp, 0x528
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401f4404
nop
call fcn.1401f4404
nop
call fcn.1401f4404
int3
call fcn.1401f4404
nop
call fcn.1401f4404
nop
call fcn.1401f4404
int3
call fcn.1401f4404
int3
call fcn.14004dc0c
nop
call fcn.1401f4404
int3