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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rsi, r9
mov r12d, r8d
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140001a00
nop
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140001a30
nop
call fcn.140023520
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140001a60
nop
call fcn.140023520
mov ebx, dword [rax + 0x1060]
lea rcx, [rsp + 0x58]
call qword [0x1403f4428]
nop
mov r8d, ebx
lea rdx, [0x1403f6544]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea r8, [rsp + 0x60]
lea rdx, str.HTTPhttp:__
lea rcx, [rsp + 0x40]
call fcn.1400188b0
nop
lea rdx, [0x1403f654c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rbx
lea edx, [r15 + 3]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbp, qword [rsp + 0xe0]
test r13, r13
je 0x140018e62
test eax, eax
jne 0x140018e62
add rdi, 0x9c
lea r9d, [r15 + 4]
mov r8, rdi
lea edx, [rax + 2]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea r9d, [r15 + 4]
mov r8, rdi
lea edx, [r15 + 6]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea r9d, [r15 + 4]
mov r8, rdi
lea edx, [r15 + 5]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor edx, edx
mov rcx, r14
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
xor r9d, r9d
movzx r8d, r12w
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12, r12
je 0x140018e4b
test eax, eax
jne 0x140018e4b
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
test al, al
jne 0x140018cdf
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
test al, al
jne 0x140018cdf
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov r9d, ebx
lea edx, [r15 + 0x2b]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140018c35
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r14
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rsi
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rbp
call qword [sym.imp.mfc90u.dll_CView::CView]
xor eax, eax
jmp 0x140018efd
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov r9d, ebx
mov edx, 0x2c
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x140018cdd
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r14
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rsi
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.mfc90u.dll_CView::CView]
xor eax, eax
jmp 0x140018efd
xor ebx, ebx
mov rcx, rbp
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbp, rbp
je 0x140018e2c
mov r9d, 4
mov r8, rdi
lea edx, [r9 - 2]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov r8, rdi
lea edx, [r9 + 2]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov r8, rdi
lea edx, [r9 + 1]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r11d, dword [rsp + 0xf0]
mov dword [rsp + 0x20], r11d
mov r9, qword [rsp + 0xe8]
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140018e03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, 1
mov rsi, qword [rsp + 0x108]
mov r9, rsi
mov edi, dword [rsp + 0x100]
mov r8d, edi
mov rbx, qword [rsp + 0xf8]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140018dea
movsxd rcx, dword [rsi]
test ecx, ecx
je 0x140018e11
add rbx, rcx
sub edi, ecx
mov byte [rbx], 0
mov r9, rsi
mov r8d, edi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140018dc5
xor r15d, r15d
mov ecx, dword [rsp + 0x110]
call fcn.140017140
mov rsi, qword [rsp + 0xd8]
jmp 0x140018e19
mov ecx, dword [rsp + 0x110]
call fcn.140017140
jmp 0x140018e19
mov rsi, qword [rsp + 0xd8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpEndRequestW]
jmp 0x140018e38
mov ecx, dword [rsp + 0x110]
call fcn.140017140
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbp, qword [rsp + 0xe0]
jmp 0x140018e57
mov ecx, dword [rsp + 0x110]
call fcn.140017140
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140018ea1
cmp dword [rsp + 0x110], 0
je 0x140018ea1
lea rcx, [rsp + 0x68]
call qword [0x1403f4428]
nop
mov edx, 0x8003
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14003e230
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r14
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rsi
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, rbp
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, r15d
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret