Function at 0x140028070
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.140056e30
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.140011700
nop
cmp qword [r14 + 0x18], 8
jb 0x14002810b
mov rax, qword [r14]
jmp 0x14002810e
mov rax, r14
cmp qword [rsi + 0x18], 8
jb 0x14002811a
mov r9, qword [rsi]
jmp 0x14002811d
mov r9, rsi
cmp qword [rbx + 0x18], 8
jb 0x140028129
mov r8, qword [rbx]
jmp 0x14002812c
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xc0]
call fcn.1400276c0
nop
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x1300]
call fcn.140077610
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 0x14002865e
cmp qword [rbx + 0x18], 8
jb 0x1400281b2
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 0x140028624
cmp qword [rsi + 0x18], 8
jb 0x1400281f6
mov r8, qword [rsi]
jmp 0x1400281f9
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, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
test rax, rax
je 0x140028610
xor eax, eax
mov ebx, eax
or rdi, 0xffffffffffffffff
test r15, r15
je 0x14002824c
mov rbx, rdi
inc rbx
cmp byte [r15 + rbx], al
jne 0x140028243
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.140011850
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 0x1400282fe
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1400282e4
cmp cl, 0xd
jne 0x1400282f8
mov word [rax], r10w
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x98]
add rax, 2
jmp 0x1400282cd
lea rax, [rsp + 0x98]
cmp r8, 8
cmovae rax, rdx
cmp qword [rsi + 0x18], 8
jb 0x140028318
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 + 0x49]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
xor ecx, ecx
call fcn.140022620
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x80], rax
cmp qword [r14 + 0x18], 8
jb 0x140028359
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 0x1400283d1
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
lea r9, str.HP::PdsmqShim::Post
mov r8d, 0x50
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r8 - 0x4e]
call fcn.140022620
mov dword [rsp + 0x28], ebx
lea rax, str.HTTP_FAILURE_0x_08lx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x51]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 2]
call fcn.140022620
jmp 0x1400283f4
lea rax, str.HttpSendRequest_sent
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x57]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [r9 + 3]
call fcn.140022620
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.140077610
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 + 0x6c]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
xor ecx, ecx
call fcn.140022620
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x2300]
call fcn.140077610
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 + 0x72]
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
lea ecx, [rbx + 4]
call fcn.140022620
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x300]
call fcn.140077610
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 0x140028595
mov edi, ebx
jmp 0x1400285a8
lea rax, [rsp + 0x300]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], bl
jne 0x1400285a0
mov r8, rdi
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x50]
call fcn.140003800
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov r8, qword [rsp + 0xb0]
cmp r8, 8
jb 0x1400285ed
inc r8
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.140012760
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], rbx
mov word [rsp + 0x98], bx
mov rdi, qword [rsp + 0x40]
jmp 0x140028653
mov qword [rsp + 0x28], rax
lea rax, str.HttpOpenRequest_failed_0x_08lx
mov r8d, 0x80
jmp 0x140028636
mov qword [rsp + 0x28], r12
lea rax, str.InternetConnectW_failed_0x_08lx
mov r8d, 0x83
mov qword [rsp + 0x20], rax
lea r9, str.HP::PdsmqShim::Post
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
mov ecx, 2
call fcn.140022620
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14002868d
mov qword [rsp + 0x28], r12
lea rax, str.InternetOpenA_failed_0x_08lx
mov qword [rsp + 0x20], rax
lea r9, str.HP::PdsmqShim::Post
mov r8d, 0x88
lea rdx, str...PdsmqShim.Native.DynamicPostMessage.cpp
mov ecx, 2
call fcn.140022620
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0xc0]
call fcn.140027850
nop
mov rcx, qword [rsp + 0x4300]
xor rcx, rsp
call fcn.140056080
add rsp, 0x4310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret