Function at 0x14005c4b0
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.1400a9e80
sub rsp, rax
mov rax, qword [0x140219100]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov rdi, r9
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov r13, qword [rbp + 0x1040]
xor r15d, r15d
mov dword [rsp + 0x20], r15d
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 + 0x48], rax
test rax, rax
je 0x14005c5d6
cmp qword [rbx + 0x18], 0xf
jbe 0x14005c536
mov rbx, qword [rbx]
mov r8d, 0x1e6d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14005c5cd
lea rax, [0x1401f4178]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
cmp qword [rdi + 0x18], 0xf
jbe 0x14005c58a
mov rdi, qword [rdi]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x80000000
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
lea rdx, str.POST
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r12, rax
test rax, rax
jne 0x14005c5f1
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 [rsi], xmm0
mov qword [rsi + 0x10], r15
mov edi, recvfrom
mov qword [rsi + 0x18], rdi
mov byte [rsi], r15b
jmp 0x14005c810
mov r8, qword [r13 + 0x10]
lea r9, [rbp - 0x7b]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
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 0x14005c610
lea r8, [rbp - 0x7b]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.14008f2c0
nop
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r8
mov r15d, 0x41
lea rdi, str.Content_Type:_application_x_www_form_urlencoded_r_nContent_Length:
cmp rax, r15
jb 0x14005c6f1
lea rax, [r8 + 0x41]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x50]
lea rax, [0x1401f41d1]
cmp rax, rbx
jbe 0x14005c6ab
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14005c6ab
cmp rbx, rdi
ja 0x14005c6a3
xor r14d, r14d
jmp 0x14005c6ae
mov r14, rbx
sub r14, rdi
jmp 0x14005c6ae
mov r14, r15
inc r8
lea rcx, [rbx + 0x41]
mov rdx, rbx
call fcn.140146270
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.140146270
sub r15, r14
lea rdx, [rdi + 0x41]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, r15
call fcn.140146270
lea rax, [rbp - 0x50]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
jmp 0x14005c707
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140023970
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov edi, recvfrom
mov qword [rax + 0x18], rdi
mov byte [rax], r15b
mov rdx, qword [rbp - 0x38]
cmp rdx, rdi
jbe 0x14005c772
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c76d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c98c
call fcn.1400a9310
mov eax, dword [r13 + 0x10]
cmp qword [r13 + 0x18], rdi
jbe 0x14005c780
mov r13, qword [r13]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], rdi
cmova rdx, qword [rbp - 0x70]
mov dword [rsp + 0x20], eax
mov r9, r13
mov r8d, dword [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14005c83d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
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 [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdi
mov byte [rsi], r15b
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14005c810
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c80b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c992
call fcn.1400a9310
mov rax, rsi
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.1400a9050
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 + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov byte [rsp + 0x70], r15b
lea r9, [rsp + 0x44]
mov r8d, 0x1000
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005c90e
movzx ebx, byte [rsp + 0x40]
nop word [rax + rax]
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14005c90e
mov r14d, eax
mov rax, rdi
sub rax, r15
cmp r14, rax
ja 0x14005c8cb
lea rax, [r14 + r15]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp rdi, 0xf
cmova rax, qword [rsp + 0x70]
lea rdi, [rax + r15]
mov r8d, r14d
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140146270
mov byte [rdi + r14], 0
jmp 0x14005c8e5
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x30]
movzx r8d, bl
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.14004af10
lea r9, [rsp + 0x44]
mov r8d, 0x1000
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005c90e
mov rdi, qword [rbp - 0x78]
mov r15, qword [rbp - 0x80]
jmp 0x14005c880
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rsi + 0x10], xmm1
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14005c810
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c80b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c992
jmp 0x14005c80b
call fcn.140124ea4
nop
call fcn.140124ea4
int3