Function at 0x14008c090
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe0
mov rax, qword [0x14014b040]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, r9
mov r15d, r8d
mov rdi, rdx
mov rsi, qword [rbp + 0x7f]
mov qword [rbp - 0x71], rdx
mov r14, qword [rbp + 0x6f]
mov r12, qword [rbp + 0x77]
xor r13d, r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401377b8]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14008c129
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
xor r8d, r8d
lea rdx, [0x14010ddcd]
mov rcx, rdi
call fcn.140002b10
nop
jmp 0x14008c62d
cmp qword [rbx + 0x18], 0xf
jbe 0x14008c133
mov rbx, qword [rbx]
mov r8d, 0x1bb
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r13, rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
test rax, rax
jne 0x14008c19b
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
xor r8d, r8d
lea rdx, [0x14010ddcd]
mov rcx, rdi
call fcn.140002b10
nop
mov rcx, qword [rsp + 0x40]
jmp 0x14008c627
lea rax, [0x1401377c4]
lea rdx, str.POST
test r15d, r15d
cmove rdx, rax
movups xmmword [rbp - 0x19], xmm0
xor ebx, ebx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x14008c1c5
lea rcx, [rbp - 0x19]
call fcn.140002b10
nop
cmp qword [r14 + 0x18], 0xf
jbe 0x14008c1e2
mov r14, qword [r14]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0xc80100
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, str.HTTP_1.0
mov r8, r14
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r15, rax
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
test rax, rax
jne 0x14008c269
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14010ddcd]
mov rcx, rdi
call fcn.140002b10
nop
lea rcx, [rbp - 0x19]
call fcn.14000cc90
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
jmp 0x14008c627
xor eax, eax
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rax
cmp qword [rsi + 0x18], 0xf
jbe 0x14008c286
mov rbx, qword [rsi]
add rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
jmp 0x14008c28d
mov rbx, qword [rsi + 0x10]
add rbx, rsi
movdqu xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rax
sub rbx, rsi
movabs rax, 0x7fffffffffffffff
je 0x14008c30f
cmp rbx, rax
ja 0x14008c663
cmp rbx, 0x1000
jb 0x14008c2e3
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14008c669
call fcn.1400ea430
mov rcx, rax
test rax, rax
je 0x14008c5ee
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008c2eb
mov rcx, rbx
call fcn.1400ea430
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
lea r14, [rax + rbx]
mov qword [rbp - 0x59], r14
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x61], r14
jmp 0x14008c313
mov r14, qword [rbp - 0x61]
mov r9, qword [rbp - 0x69]
sub r14, r9
mov r8d, dword [r12 + 0x10]
cmp qword [r12 + 0x18], 0xf
jbe 0x14008c32b
mov r12, qword [r12]
mov dword [rsp + 0x20], r14d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x14008c59a
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
xor esi, esi
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x75], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x75]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [rbp - 0x75]
test eax, eax
je 0x14008c3d5
nop
mov ecx, eax
call fcn.1400eabf8
mov rbx, rax
mov dword [rbp - 0x71], esi
lea r9, [rbp - 0x71]
mov r8d, dword [rbp - 0x75]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14008c3cd
mov r9d, dword [rbp - 0x71]
mov r8, rbx
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x51]
call fcn.14008c670
mov rcx, rbx
call fcn.1400ea77c
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x75]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [rbp - 0x75]
test eax, eax
jne 0x14008c370
jmp 0x14008c3d5
mov rcx, rbx
call fcn.1400ea77c
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov r12, qword [rbp - 0x51]
mov r14, qword [rbp - 0x49]
cmp r12, r14
jne 0x14008c3fe
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
jmp 0x14008c4e1
sub r14, r12
mov esi, 0xf
mov qword [rbp - 0x21], rsi
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14008c657
cmp r14, rsi
jbe 0x14008c4b8
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x14008c469
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ea430
mov rcx, rax
test rax, rax
je 0x14008c491
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x21], rsi
jmp 0x14008c4bc
mov eax, 0x16
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14008c498
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008c65d
jmp 0x14008c443
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14008c4ac
call fcn.1400ea430
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x21], rsi
jmp 0x14008c4bc
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x21], rsi
jmp 0x14008c4bc
mov rax, qword [rbp - 0x39]
lea rbx, [rbp - 0x39]
cmp rsi, 0xf
cmova rbx, rax
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x29], r14
mov byte [rbx + r14], 0
xor esi, esi
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
lea rcx, [rbp - 0x39]
call fcn.14000cc90
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14008c553
mov rdx, qword [rbp - 0x41]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ea77c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rsi
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14008c606
mov rdx, qword [rbp - 0x59]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c58f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c58f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ea77c
mov qword [rbp - 0x59], rsi
jmp 0x14008c5fe
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14010ddcd]
mov rcx, rdi
call fcn.140002b10
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14008c606
mov rdx, qword [rbp - 0x59]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008c5f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c5f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ea77c
mov qword [rbp - 0x59], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x19]
call fcn.14000cc90
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400ea2f0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001680
nop
call fcn.1400015d0
nop
call fcn.14000afa0
int3
call fcn.1400015d0
int3