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

Disassembly:
push rbp
push rbx
mov eax, 0x1078
call fcn.140040630
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1010], rcx
mov dword [rbp + 0x1018], edx
mov qword [rbp + 0x1020], r8
mov qword [rbp + 0x1028], r9
lea rax, str.Content_Type:_application_x_www_form_urlencoded
mov qword [rbp + 0xfe0], rax
mov qword [rbp + 0xfe8], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
lea rax, str.WinINet_Example
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0xfd8], rax
cmp qword [rbp + 0xfd8], 0
jne 0x14000b4a5
mov eax, 0
jmp 0x14000b736
mov eax, dword [rbp + 0x1018]
movzx ecx, ax
mov rdx, qword [rbp + 0x1010]
mov rax, qword [rbp + 0xfd8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0xfd0], rax
cmp qword [rbp + 0xfd0], 0
jne 0x14000b521
mov rax, qword [rbp + 0xfd8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 0
jmp 0x14000b736
mov rdx, qword [rbp + 0x1020]
mov rax, qword [rbp + 0xfd0]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
lea rdx, str.POST
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpOpenRequestA]
call rax
mov qword [rbp + 0xfc8], rax
cmp qword [rbp + 0xfc8], 0
jne 0x14000b5af
mov rax, qword [rbp + 0xfd0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfd8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 0
jmp 0x14000b736
mov rax, qword [rbp + 0x1028]
mov rcx, rax
call sym.strlen
mov ebx, eax
mov rax, qword [rbp + 0xfe0]
mov rcx, rax
call sym.strlen
mov r8d, eax
mov rcx, qword [rbp + 0x1028]
mov rdx, qword [rbp + 0xfe0]
mov rax, qword [rbp + 0xfc8]
mov dword [rsp + 0x20], ebx
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
mov dword [rbp + 0xfc4], eax
cmp dword [rbp + 0xfc4], 0
jne 0x14000b64c
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfd0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfd8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 0
jmp 0x14000b736
mov ecx, 0x1000
call sym.malloc
mov qword [rbp + 0xfe8], rax
mov rax, qword [rbp + 0xfe8]
mov byte [rax], 0
jmp 0x14000b6bd
mov eax, dword [rbp + 0xfc0]
mov eax, eax
mov byte [rbp + rax - 0x40], 0
mov rax, qword [rbp + 0xfe8]
mov rcx, rax
call sym.strlen
mov edx, dword [rbp + 0xfc0]
mov edx, edx
add rax, rdx
lea rdx, [rax + 1]
mov rax, qword [rbp + 0xfe8]
mov rcx, rax
call sym.realloc
mov qword [rbp + 0xfe8], rax
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0xfe8]
mov rcx, rax
call sym.strcat
lea rcx, [rbp + 0xfc0]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0xfc8]
mov r9, rcx
mov r8d, 0xfff
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
je 0x14000b6f6
mov eax, dword [rbp + 0xfc0]
test eax, eax
jne 0x14000b669
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfd0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfd8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfe8]
add rsp, 0x1078
pop rbx
pop rbp
ret