Function at 0x140002cd0
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1200]
mov eax, 0x1300
call fcn.140009400
sub rsp, rax
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp + 0x11f0], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
lea ecx, [r13 + 0x40]
call fcn.1400085c0
mov rbx, rax
mov qword [rsi], rax
mov qword [rsi + 8], rax
add rax, 0x40
mov qword [rsi + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r13b
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x38], 0xf
mov byte [rbx + 0x20], r13b
add rbx, 0x40
mov rdx, rbx
mov rcx, rbx
call fcn.140003ad0
mov qword [rsi + 8], rbx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.82_Safari_537.36
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
jne 0x140002de2
lea r8d, [r13 + 1]
lea rdx, [0x14000a730]
mov rcx, qword [rsi]
call fcn.1400034a0
mov rcx, qword [rsi]
add rcx, 0x20
lea r8d, [r13 + 0x1c]
lea rdx, str.Falha_ao_inicializar_WinINet
call fcn.1400034a0
jmp 0x140003109
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], pe_nt_image_headers64
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], pe_nt_image_headers64
mov dword [rsp + 0x50], 0x68
cmp qword [r14 + 0x18], 0x10
jb 0x140002e3b
mov r14, qword [r14]
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
mov rcx, r12
test eax, eax
jne 0x140002e8e
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8d, 1
lea rdx, [0x14000a730]
mov rcx, qword [rsi]
call fcn.1400034a0
mov rcx, qword [rsi]
add rcx, 0x20
mov r8d, 0x16
lea rdx, str.Falha_ao_processar_URL
call fcn.1400034a0
jmp 0x140003109
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
movzx r8d, word [rsp + 0x74]
lea rdx, [rbp - 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r15, rax
test rax, rax
jne 0x140002ef8
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r8d, [r15 + 1]
lea rdx, [0x14000a730]
mov rcx, qword [rsi]
call fcn.1400034a0
mov rcx, qword [rsi]
add rcx, 0x20
lea r8d, [r15 + 0x20]
lea rdx, str.Falha_ao_se_conectar_ao_servidor
call fcn.1400034a0
jmp 0x140003109
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80000000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0xf0]
lea rdx, str.POST
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
jne 0x140002f72
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r8d, [r14 + 1]
lea rdx, [0x14000a730]
mov rcx, qword [rsi]
call fcn.1400034a0
mov rcx, qword [rsi]
add rcx, 0x20
lea r8d, [r14 + 0x1d]
lea rdx, str.Falha_ao_criar_o_request_HTTP
call fcn.1400034a0
jmp 0x140003109
mov eax, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140002f7f
mov rdi, qword [rdi]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, 0xf6
lea rdx, str.Content_Type:_application_json_r_nAccept:_application_json_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.82_Safari_537.36_r_nAccept_Encoding:_gzip__deflate__br_r_nConnection:_keep_alive_r_n
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, r14
test eax, eax
jne 0x140002fee
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8d, 1
lea rdx, [0x14000a730]
mov rcx, qword [rsi]
call fcn.1400034a0
mov rcx, qword [rsi]
add rcx, 0x20
mov r8d, 0x1e
lea rdx, str.Falha_ao_enviar_o_request_HTTP
call fcn.1400034a0
jmp 0x140003109
mov dword [rbp - 0x3c], 0x20
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x3c]
lea r8, [rbp - 0x38]
mov edx, 0x13
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140003030
lea rax, [rbp - 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003020
lea rdx, [rbp - 0x38]
jmp 0x14000303d
mov r8d, 0x11
lea rdx, str.Erro_desconhecido
mov rcx, qword [rsi]
call fcn.1400034a0
lea r9, [rbp - 0x40]
mov r8d, 0x1000
lea rdx, [rbp + 0x1f0]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400030ed
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x1400030ed
mov rcx, qword [rsi]
add rcx, 0x20
mov edi, eax
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x1400030b7
lea rax, [rdx + rdi]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x14000309b
mov rcx, qword [rcx]
lea rbx, [rcx + rdx]
mov r8, rdi
lea rdx, [rbp + 0x1f0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400030cb
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x1f0]
mov rdx, rdi
call fcn.140003840
lea r9, [rbp - 0x40]
mov r8d, 0x1000
lea rdx, [rbp + 0x1f0]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140003067
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x11f0]
xor rcx, rsp
call fcn.1400085a0
mov rbx, qword [rsp + 0x1358]
add rsp, 0x1300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret