Function at 0x1403bf578
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 0x1403bf5d9
lea eax, [rsi + 0xb]
jmp 0x1403bf8da
lea rdx, [0x14048c718]
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, [0x14048c6d8]
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 0x1403bf8cb
cmp qword [rbx + 0x2b8], rsi
je 0x1403bf8cb
cmp qword [rbx + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x2c8], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x2d0], rsi
je 0x1403bf8cb
cmp qword [rbx + reloc.mfc90u.dll_CUIntArray::CUIntArray], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x320], rsi
je 0x1403bf8cb
cmp rax, rsi
je 0x1403bf8cb
test dil, 1
je 0x1403bf887
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, [0x14048c638]
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, [0x14048c5f0]
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 0x1403bf8cb
cmp qword [rbx + 0x2e0], rsi
je 0x1403bf8cb
cmp qword [rbx + reloc.mfc90u.dll_CPaintDC::CPaintDC], rsi
je 0x1403bf8cb
cmp qword [rbx + reloc.mfc90u.dll_CScrollView::CScrollView], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x330], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x338], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x2f0], rsi
je 0x1403bf8cb
cmp qword [rbx + reloc.mfc90u.dll_CRecentFileList::CRecentFileList], rsi
je 0x1403bf8cb
cmp qword [rbx + 0x308], rsi
je 0x1403bf8cb
cmp rax, rsi
je 0x1403bf8cb
mov ax, word [rbx + 0x224]
mov r8, qword [rbx + reloc.mfc90u.dll_AFX_MAINTAIN_STATE::AFX_MAINTAIN_STATE]
lea rdx, [0x14042c030]
bt eax, 0xf
mov rcx, rbx
jae 0x1403bf8b7
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rbx + 0x210], CMapPtrToWord::CMapPtrToWord
jmp 0x1403bf8c7
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rbx + 0x210], 0x50
xor eax, eax
jmp 0x1403bf8da
mov rdx, rbx
xor ecx, ecx
call fcn.1403be638
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret