Function at 0x140005f70
Capabilities:
Connect to http server
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 - 0x27]
sub rsp, 0xa0
mov rax, qword [0x140084060]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov qword [rbp + 0xf], rcx
xor r12d, r12d
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], r12
mov qword [rbp + 7], select
mov byte [rbp - 0x11], r12b
mov rcx, qword [0x140088138]
test rcx, rcx
jne 0x14000602e
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], select
mov byte [rsi], 0
xor r8d, r8d
lea rdx, [0x140078c79]
mov rcx, rsi
call fcn.140002550
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400062c4
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400062eb
call fcn.14003ba0c
jmp 0x1400062c4
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
movzx r8d, word [0x140087f38]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r15, rax
test rax, rax
je 0x140005fc5
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rdi
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
jne 0x140006110
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], select
mov byte [rsi], r14b
xor r8d, r8d
lea rdx, [0x140078c79]
mov rcx, rsi
call fcn.140002550
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400062c4
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400062eb
jmp 0x140006024
mov dword [rbp + 0xf], 0x3100
mov r9d, 4
lea r8, [rbp + 0xf]
lea edx, [r9 + 0x1b]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000613b
mov r9, qword [rbx]
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x20], eax
mov r8d, 0x2f
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140006290
mov dword [rbp - 0x39], r12d
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], select
mov byte [rbp - 0x31], 0
xor r8d, r8d
mov edx, 0x1000
lea rcx, [rbp - 0x31]
call fcn.1400057d0
nop
nop word [rax + rax]
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea r9, [rbp - 0x39]
mov r8d, 0x1000
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140006257
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x140006257
mov ecx, eax
mov rdx, qword [rbp - 0x21]
cmp rax, rdx
ja 0x1400061e7
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rax, qword [rbp - 0x31]
mov byte [rax + rcx], 0
jmp 0x140006237
mov rdi, rcx
sub rdi, rdx
mov r8, qword [rbp - 0x19]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x140006223
mov qword [rbp - 0x21], rcx
lea rbx, [rbp - 0x31]
cmp r8, 0x10
cmovae rbx, qword [rbp - 0x31]
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14003e230
mov byte [rbx + rdi], 0
jmp 0x140006237
mov byte [rsp + 0x20], 0
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.1400066c0
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.140005940
jmp 0x140006190
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400062a3
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006289
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400062e5
call fcn.14003ba0c
jmp 0x1400062a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x1400062a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14003b9b0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140042fc0
nop
call fcn.140042fc0
int3