Function at 0x1403ab108
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov edi, ecx
lea rcx, str.WinInet.DLL
mov rbx, rdx
mov qword [rdx + 0x280], rsi
mov qword [rdx + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], rsi
mov qword [rdx + 0x290], rsi
mov qword [rdx + reloc.mfc90u.dll_CFileDialog::CFileDialog], rsi
mov qword [rdx + 0x2a0], rsi
mov qword [rdx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl], rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp rax, rsi
mov qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl], rax
jne 0x1403ab169
lea eax, [rsi + 0xb]
jmp 0x1403ab46a
lea rdx, [0x140479ef8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetOpenA
mov qword [rbx + reloc.mfc90u.dll_CInternetException::CInternetException], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetOpenUrlA
mov qword [rbx + 0x2b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, [0x140479eb8]
mov qword [rbx + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetQueryOptionA
mov qword [rbx + 0x2c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.HttpQueryInfoA
mov qword [rbx + 0x2d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetSetOptionA
mov qword [rbx + reloc.mfc90u.dll_CUIntArray::CUIntArray], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetErrorDlg
mov qword [rbx + 0x320], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + reloc.mfc90u.dll_CInternetException::CInternetException], rsi
mov qword [rbx + 0x328], rax
je 0x1403ab45b
cmp qword [rbx + 0x2b8], rsi
je 0x1403ab45b
cmp qword [rbx + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], rsi
je 0x1403ab45b
cmp qword [rbx + 0x2c8], rsi
je 0x1403ab45b
cmp qword [rbx + 0x2d0], rsi
je 0x1403ab45b
cmp qword [rbx + reloc.mfc90u.dll_CUIntArray::CUIntArray], rsi
je 0x1403ab45b
cmp qword [rbx + 0x320], rsi
je 0x1403ab45b
cmp rax, rsi
je 0x1403ab45b
test dil, 1
je 0x1403ab417
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetConnectA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.HttpOpenRequestA
mov qword [rbx + reloc.mfc90u.dll_COleDocument::COleDocument], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, [0x140479e18]
mov qword [rbx + 0x2e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.HttpSendRequestExA
mov qword [rbx + reloc.mfc90u.dll_CPaintDC::CPaintDC], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.HttpAddRequestHeadersA
mov qword [rbx + 0x2f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, [0x140479dd0]
mov qword [rbx + reloc.mfc90u.dll_CRecentFileList::CRecentFileList], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.FtpOpenFileA
mov qword [rbx + reloc.mfc90u.dll_CScrollView::CScrollView], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.FtpGetFileSize
mov qword [rbx + 0x330], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.InternetWriteFile
mov qword [rbx + 0x338], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
lea rdx, str.HttpEndRequestA
mov qword [rbx + 0x308], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + reloc.mfc90u.dll_COleDocument::COleDocument], rsi
mov qword [rbx + 0x310], rax
je 0x1403ab45b
cmp qword [rbx + 0x2e0], rsi
je 0x1403ab45b
cmp qword [rbx + reloc.mfc90u.dll_CPaintDC::CPaintDC], rsi
je 0x1403ab45b
cmp qword [rbx + reloc.mfc90u.dll_CScrollView::CScrollView], rsi
je 0x1403ab45b
cmp qword [rbx + 0x330], rsi
je 0x1403ab45b
cmp qword [rbx + 0x338], rsi
je 0x1403ab45b
cmp qword [rbx + 0x2f0], rsi
je 0x1403ab45b
cmp qword [rbx + reloc.mfc90u.dll_CRecentFileList::CRecentFileList], rsi
je 0x1403ab45b
cmp qword [rbx + 0x308], rsi
je 0x1403ab45b
cmp rax, rsi
je 0x1403ab45b
mov ax, word [rbx + 0x224]
mov r8, qword [rbx + reloc.mfc90u.dll_AFX_MAINTAIN_STATE::AFX_MAINTAIN_STATE]
lea rdx, [0x140478f38]
bt eax, 0xf
mov rcx, rbx
jae 0x1403ab447
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rbx + 0x210], CMapPtrToWord::CMapPtrToWord
jmp 0x1403ab457
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rbx + 0x210], 0x50
xor eax, eax
jmp 0x1403ab46a
mov rdx, rbx
xor ecx, ecx
call fcn.1403aa1c8
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret