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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [r11 - 0x408]
sub rsp, 0x4d8
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
cmp qword [rdx + 0x10], 0
mov rsi, r9
mov r14, r8
mov qword [rsp + 0x48], rcx
mov r12, rdx
mov rdi, rcx
je 0x18008bf21
cmp qword [r8 + 0x10], 0
je 0x18008bf21
cmp qword [r9 + 0x10], 0
je 0x18008bf21
xor r15d, r15d
mov qword [r11 - 0x38], rbx
mov ebx, r15d
mov qword [r11 - 0x40], r13
mov r13d, 0xf
mov qword [rbp - 0x68], rbx
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov qword [rbp - 0x60], r13
lea r8d, [r15 + 0x2f]
mov byte [rbp - 0x78], bl
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r13
mov byte [rsp + 0x68], bl
call fcn.1800c2b50
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [0x180118b90]
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
cmp qword [r12 + 0x18], 0x10
mov rdx, r12
mov qword [rsp + 0x58], rax
jb 0x18008bc2c
mov rdx, qword [r12]
mov qword [rsp + 0x38], 1
mov r8d, 0x50
mov dword [rsp + 0x30], r15d
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.WININET.dll_InternetConnectA]
cmp qword [r14 + 0x18], 0x10
mov r8, r14
mov qword [rsp + 0x50], rax
jb 0x18008bc6b
mov r8, qword [r14]
mov qword [rsp + 0x38], 1
lea rdx, str.POST
mov dword [rsp + 0x30], r15d
xor r9d, r9d
mov qword [rsp + 0x28], r15
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp qword [rsi + 0x18], 0x10
mov r9, rsi
mov rcx, rax
mov qword [rsp + 0x40], rax
jb 0x18008bcab
mov r9, qword [rsi]
cmp qword [rbp - 0x80], 0x10
lea rdx, [rsp + 0x68]
mov eax, dword [rsi + 0x10]
cmovae rdx, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rbp - 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18008bd90
nop
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x18008bd8b
mov edi, eax
mov rax, r13
sub rax, rbx
cmp rdi, rax
ja 0x18008bd36
lea rax, [rdi + rbx]
cmp r13, 0x10
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x78]
mov r8d, edi
cmovae rax, qword [rbp - 0x78]
add rbx, rax
mov rcx, rbx
call fcn.1800d3040
mov byte [rbx + rdi], r15b
jmp 0x18008bd4b
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.1800c3f00
mov eax, dword [rsp + 0x60]
cmp rax, 0x400
jae 0x18008c02e
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
mov byte [rbp + rax - 0x50], r15b
lea rdx, [rbp - 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18008bd8b
mov r13, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x68]
jmp 0x18008bcf0
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
cmp rdx, 0x10
jb 0x18008bdfc
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008bdf7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008c022
call fcn.1800cf9b0
mov rdx, qword [r12 + 0x18]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r15b
cmp rdx, 0x10
jb 0x18008be4a
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x18008be45
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008c022
mov rcx, r8
call fcn.1800cf9b0
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], 0xf
mov byte [r12], r15b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18008be96
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18008be91
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008c022
mov rcx, r8
call fcn.1800cf9b0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18008bedf
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18008beda
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008c022
mov rcx, r8
call fcn.1800cf9b0
mov rbx, qword [rsp + 0x4d0]
mov rax, rdi
mov r13, qword [rsp + 0x4c8]
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0x4d8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r15d, r15d
mov qword [rcx + 0x18], 0xf
xor r8d, r8d
mov qword [rcx + 0x10], r15
lea rdx, [0x18010e0f0]
mov byte [rcx], r15b
call fcn.1800c2b50
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x18008bf7e
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x18008bf79
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008c028
mov rcx, r8
call fcn.1800cf9b0
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], 0xf
mov byte [r12], r15b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18008bfc6
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18008bfc1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008c028
mov rcx, r8
call fcn.1800cf9b0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18008c00b
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18008c006
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008c028
mov rcx, r8
call fcn.1800cf9b0
mov qword [rsi + 0x10], r15
mov rax, rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
jmp 0x18008bf01
call fcn.1800dec10
int3
call fcn.1800dec10
int3
call fcn.1800cf81c
int3