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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4a8
cmp qword [rdx + 0x10], 0
mov rsi, r9
mov r14, r8
mov r15, rdx
mov rdi, rcx
je 0x18008b327
cmp qword [r8 + 0x10], 0
je 0x18008b327
cmp qword [r9 + 0x10], 0
je 0x18008b327
xor r12d, r12d
mov qword [rax + 0x18], rbx
mov ebx, r12d
mov qword [rax - 0x38], r13
mov r13d, 0xf
mov qword [rsp + 0x78], rbx
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov qword [rbp - 0x80], r13
lea r8d, [r12 + 0x2f]
mov byte [rsp + 0x68], bl
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x48], bl
call fcn.1800a7f50
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [0x1800f1ca0]
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
cmp qword [r15 + 0x18], 0x10
mov rdx, r15
mov qword [rbp - 0x70], rax
jb 0x18008b04f
mov rdx, qword [r15]
mov qword [rsp + 0x38], 1
mov r8d, 0x50
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_InternetConnectA]
cmp qword [r14 + 0x18], 0x10
mov r8, r14
mov qword [rbp - 0x78], rax
jb 0x18008b08d
mov r8, qword [r14]
mov qword [rsp + 0x38], 1
lea rdx, str.POST
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov qword [rsp + 0x28], r12
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp qword [rsi + 0x18], 0x10
mov r9, rsi
mov rcx, rax
mov qword [rsp + 0x40], rax
jb 0x18008b0cd
mov r9, qword [rsi]
cmp qword [rsp + 0x60], 0x10
lea rdx, [rsp + 0x48]
mov eax, dword [rsi + 0x10]
cmovae rdx, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x3e8]
mov r8d, 0x3ff
lea rdx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18008b1c6
mov rsi, qword [rsp + 0x40]
nop dword [rax]
mov eax, dword [rbp + 0x3e8]
test eax, eax
je 0x18008b1b8
mov edi, eax
mov rax, r13
sub rax, rbx
cmp rdi, rax
ja 0x18008b16b
lea rax, [rbx + rdi]
cmp r13, 0x10
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x60]
lea rax, [rsp + 0x68]
mov r8d, edi
cmovae rax, qword [rsp + 0x68]
add rbx, rax
mov rcx, rbx
call fcn.1800b2f60
mov byte [rbx + rdi], r12b
jmp 0x18008b181
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.1800a8c60
mov eax, dword [rbp + 0x3e8]
lea r9, [rbp + 0x3e8]
mov r8d, 0x3ff
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov byte [rbp + rax - 0x60], r12b
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18008b1b8
mov r13, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
jmp 0x18008b120
mov rsi, qword [rbp + 0x3f8]
mov rdi, qword [rbp + 0x3e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x4a0]
mov rbx, qword [rsp + 0x4f0]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
cmp rdx, 0x10
jb 0x18008b243
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008b23e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008b435
call fcn.1800afef0
mov rdx, qword [r15 + 0x18]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r12b
cmp rdx, 0x10
jb 0x18008b290
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x18008b28b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008b435
mov rcx, r8
call fcn.1800afef0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 0xf
mov byte [r15], r12b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18008b2d9
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18008b2d4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008b435
mov rcx, r8
call fcn.1800afef0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18008b40c
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18008b407
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008b435
jmp 0x18008b404
xor r12d, r12d
mov qword [rcx + 0x18], 0xf
xor r8d, r8d
mov qword [rcx + 0x10], r12
lea rdx, [0x1800e7940]
mov byte [rcx], r12b
call fcn.1800a7f50
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x18008b382
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x18008b37d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008b42f
mov rcx, r8
call fcn.1800afef0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 0xf
mov byte [r15], r12b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18008b3c7
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18008b3c2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008b42f
mov rcx, r8
call fcn.1800afef0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18008b40c
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18008b407
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008b42f
mov rcx, r8
call fcn.1800afef0
mov rax, rdi
mov byte [rsi], r12b
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r12
add rsp, 0x4a8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3