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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 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 [rax + 8], rbx
mov r12, r9
mov esi, r8d
mov r15, rdx
mov r13, rcx
xor edi, edi
mov r14d, edi
call fcn.1400206e0
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.1400144c0
nop
call fcn.1400206e0
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.140014500
nop
call fcn.1400206e0
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140014540
nop
call fcn.1400206e0
mov ebx, dword [rax + 0x1060]
lea rcx, [rsp + 0x60]
call qword [0x140409500]
nop
mov r8d, ebx
lea rdx, [0x14040eec4]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea r8, [rsp + 0x68]
lea rdx, str.HTTPhttp:__
lea rcx, [rsp + 0x48]
call fcn.140015c64
nop
lea rdx, [0x140414b30]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
mov rcx, r12
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rbx
lea edx, [rdi + 3]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbp, rdi
je 0x140016261
cmp eax, edi
jne 0x140016261
add r13, 0x9c
lea ebx, [rdi + 4]
mov r9d, ebx
mov r8, r13
lea edx, [rdi + 2]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, ebx
mov r8, r13
lea edx, [rdi + 6]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, ebx
mov r8, r13
lea edx, [rdi + 5]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor edx, edx
mov rcx, r15
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
movzx r8d, si
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rsi, rdi
je 0x14001624a
cmp eax, edi
jne 0x14001624a
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
cmp al, dil
jne 0x1400160e5
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
cmp al, dil
jne 0x1400160e5
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov r9d, ebx
lea edx, [rdi + 0x2b]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
cmp eax, edi
jne 0x140016048
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
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 + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r15
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r12
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 0x1400162d1
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
mov edx, 0x2c
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
cmp eax, edi
jne 0x1400160e0
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
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 + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r15
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r12
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
jmp 0x1400162c1
mov ebx, 4
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.POST
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r12, rdi
je 0x14001622b
mov r9d, ebx
mov r8, r13
mov edx, 2
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, ebx
mov r8, r13
mov edx, 6
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, ebx
mov r8, r13
mov edx, 5
mov rcx, rbp
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, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, edi
je 0x140016205
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], 1
mov r14, qword [rsp + 0x108]
mov r9, r14
mov r13d, dword [rsp + 0x100]
mov r8d, r13d
mov rbx, qword [rsp + 0xf8]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, edi
je 0x1400161f4
cmp dword [r14], edi
je 0x140016213
movsxd rax, dword [r14]
add rbx, rax
sub r13d, dword [r14]
mov byte [rbx], dil
mov r9, r14
mov r8d, r13d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, edi
jne 0x1400161cd
mov r14d, edi
mov ecx, dword [rsp + 0x110]
call fcn.14001476c
jmp 0x140016218
mov ecx, dword [rsp + 0x110]
call fcn.14001476c
jmp 0x140016218
mov r14d, dword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpEndRequestW]
jmp 0x140016237
mov ecx, dword [rsp + 0x110]
call fcn.14001476c
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12, qword [rsp + 0xd8]
jmp 0x140016256
mov ecx, dword [rsp + 0x110]
call fcn.14001476c
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14001626e
mov ecx, dword [rsp + 0x110]
call fcn.14001476c
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
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 + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r15
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, r12
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov edi, r14d
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, edi
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret