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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x4310
call fcn.140057010
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rsp + 0x4300], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rsp + 0x4370]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
lea r8d, [r12 + 0x10]
lea rdx, str.Post__s___s___s_
lea rcx, [rsp + 0x58]
call fcn.140011970
nop
cmp qword [r14 + 0x18], 8
jb 0x14002874b
mov rax, qword [r14]
jmp 0x14002874e
mov rax, r14
cmp qword [rsi + 0x18], 8
jb 0x14002875a
mov r9, qword [rsi]
jmp 0x14002875d
mov r9, rsi
cmp qword [rbx + 0x18], 8
jb 0x140028769
mov r8, qword [rbx]
jmp 0x14002876c
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xc0]
call fcn.140027cd0
nop
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x1300]
call fcn.140077860
mov dword [rsp + 0xb8], 0x1000
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x1300]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_ObtainUserAgentString]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1300]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140028c90
cmp qword [rbx + 0x18], 8
jb 0x1400287f2
mov rbx, qword [rbx]
mov r8d, 0x50
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, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r13, rax
test rax, rax
je 0x140028c5b
cmp qword [rsi + 0x18], 8
jb 0x140028836
mov r8, qword [rsi]
jmp 0x140028839
mov r8, rsi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x8404f700
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, str.HTTP_1.1
lea rdx, str.POST
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
test rax, rax
je 0x140028c47
xor eax, eax
mov ebx, eax
or rdi, 0xffffffffffffffff
test r15, r15
je 0x14002888c
mov rbx, rdi
inc rbx
cmp byte [r15 + rbx], al
jne 0x140028883
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], rax
mov word [rsp + 0x98], ax
mov r9, rdi
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x98]
call fcn.140011ac0
nop
mov r10d, 0x20
lea rcx, [rsp + 0x98]
mov rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0xb0]
cmp r8, 8
cmovae rcx, rdx
mov rax, qword [rsp + 0xa8]
lea r9, [rcx + rax*2]
lea rax, [rsp + 0x98]
cmovae rax, rdx
mov qword [rsp + 0x48], rax
cmp rax, r9
je 0x14002893e
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140028924
cmp cl, 0xd
jne 0x140028938
mov word [rax], r10w
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x98]
add rax, 2
jmp 0x14002890d
lea rax, [rsp + 0x98]
cmp r8, 8
cmovae rax, rdx
cmp qword [rsi + 0x18], 8
jb 0x140028958
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, str.___HTTP_POST:__s__s
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x4e]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
xor ecx, ecx
call fcn.140022c00
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x80], rax
cmp qword [r14 + 0x18], 8
jb 0x140028999
mov r14, qword [r14]
mov dword [rsp + 0x20], ebx
mov r9, r15
mov r8d, eax
mov rdx, r14
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140028a0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x28], eax
lea rax, str.HttpSendRequest_failed_0x_08lx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x55]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 2]
call fcn.140022c00
mov dword [rsp + 0x28], ebx
lea rax, str.HTTP_FAILURE_0x_08lx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x56]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 2]
call fcn.140022c00
jmp 0x140028a2e
lea rax, str.HttpSendRequest_sent
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x5c]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 4]
call fcn.140022c00
xor ebx, ebx
mov dword [rsp + 0x8c], ebx
mov dword [rsp + 0x90], ebx
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x90]
mov edx, 0x20000013
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xf0]
call fcn.140077860
mov dword [rsp + 0x88], 0x207
mov dword [rsp + 0x8c], ebx
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xf0]
lea edx, [rbx + 0x14]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
lea rax, str.___HTTP_RESULT_s___d_
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rbx + 0x71]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
xor ecx, ecx
call fcn.140022c00
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x2300]
call fcn.140077860
mov dword [rsp + 0x88], 0x1fff
mov dword [rsp + 0x8c], ebx
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x2300]
lea edx, [rbx + 0x16]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea rax, [rsp + 0x2300]
mov qword [rsp + 0x28], rax
lea rax, str._Headers_s
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rbx + 0x77]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [rbx + 4]
call fcn.140022c00
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x300]
call fcn.140077860
mov dword [rsp + 0x88], 0xfff
mov dword [rsp + 0xbc], ebx
lea r9, [rsp + 0xbc]
mov r8d, 0xfff
lea rdx, [rsp + 0x300]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
cmp byte [rsp + 0x300], bl
jne 0x140028bcf
mov edi, ebx
jmp 0x140028bdf
lea rax, [rsp + 0x300]
inc rdi
cmp byte [rax + rdi], bl
jne 0x140028bd7
mov r8, rdi
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x50]
call fcn.140003930
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov r8, qword [rsp + 0xb0]
cmp r8, 8
jb 0x140028c24
inc r8
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.1400129b0
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], rbx
mov word [rsp + 0x98], bx
mov rdi, qword [rsp + 0x40]
jmp 0x140028c85
mov qword [rsp + 0x28], rax
lea rax, str.HttpOpenRequest_failed_0x_08lx
mov r8d, 0x85
jmp 0x140028c6d
mov qword [rsp + 0x28], r12
lea rax, str.InternetConnectW_failed_0x_08lx
mov r8d, 0x88
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 2]
call fcn.140022c00
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140028cba
mov qword [rsp + 0x28], r12
lea rax, str.InternetOpenA_failed_0x_08lx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x8d
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 2]
call fcn.140022c00
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0xc0]
call fcn.140027e30
nop
mov rcx, qword [rsp + 0x4300]
xor rcx, rsp
call fcn.140056280
add rsp, 0x4310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret