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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.14006e4e0
sub rsp, rax
mov rax, qword [0x14018f040]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov r13, qword [rbp + 0x1040]
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.WinINet_Example
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14005de73
cmp qword [rbx + 0x18], 0xf
jbe 0x14005ddd6
mov rbx, qword [rbx]
mov r8d, 0x1e6d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14005de6a
lea rax, [0x140181f80]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r12
cmp qword [rsi + 0x18], 0xf
jbe 0x14005de28
mov rsi, qword [rsi]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x80000000
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rsi
lea rdx, str.POST
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r15, rax
test rax, rax
jne 0x14005de98
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
xor r8d, r8d
lea rdx, [0x14017df30]
mov rcx, rdi
call fcn.1400622f0
jmp 0x14005e0df
mov r8, qword [r13 + 0x10]
lea r9, [rbp - 0x73]
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14005deb0
lea r8, [rbp - 0x73]
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140063630
nop
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov r12d, 0x41
lea rsi, str.Content_Type:_application_x_www_form_urlencoded_r_nContent_Length:
cmp rax, r12
jb 0x14005df93
lea rax, [r8 + 0x41]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x140182061]
cmp rax, rbx
jbe 0x14005df51
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14005df51
cmp rbx, rsi
ja 0x14005df49
xor r14d, r14d
jmp 0x14005df54
mov r14, rbx
sub r14, rsi
jmp 0x14005df54
mov r14, r12
lea rcx, [rbx + 0x41]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + r14]
sub r12, r14
lea rdx, [rsi + 0x41]
add rdx, r14
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
jmp 0x14005dfaa
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140064890
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov r14d, sendto
mov qword [rax + 0x18], r14
mov byte [rax], sil
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x14005e01a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e015
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d790
movdqa xmm0, xmmword [0x140182c50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov eax, dword [r13 + 0x10]
cmp qword [r13 + 0x18], 0xf
jbe 0x14005e03c
mov r13, qword [r13]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov dword [rsp + 0x20], eax
mov r9, r13
mov r8d, dword [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14005e10c
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x14017df30]
mov rcx, rdi
call fcn.1400622f0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005e0df
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e0da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e230
call fcn.14006d790
mov rax, rdi
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.14006d0a0
mov rbx, qword [rsp + 0x1130]
add rsp, 0x10e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rbx, rsi
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], r14
mov byte [rsp + 0x78], bl
lea r9, [rsp + 0x74]
mov r8d, 0x1000
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005e1c3
mov eax, dword [rsp + 0x74]
test eax, eax
je 0x14005e1c3
mov esi, eax
mov rax, r14
sub rax, rbx
cmp rsi, rax
ja 0x14005e187
lea rax, [rbx + rsi]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp r14, 0xf
cmova rax, qword [rsp + 0x78]
add rbx, rax
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14005e19d
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140062160
lea r9, [rsp + 0x74]
mov r8d, 0x1000
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005e1c3
mov r14, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
jmp 0x14005e143
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rdi + 0x10], xmm1
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005e0df
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e0da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e0da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3