Function at 0x1402472b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl
mov rcx, qword [rsp + 0x290]
add rcx, 0x5c
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1402472de
jmp 0x140247f2a
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x50], 0
je 0x1402472fa
mov rcx, qword [rsp + 0x290]
call fcn.140248b50
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x290]
call fcn.140248a30
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x140247333
jmp 0x140247f2a
mov rax, qword [rsp + 0x290]
cmp dword [rax + 0x18], 0
je 0x14024741d
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x290]
call qword [rax + 0x98]
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x140247393
mov qword [rsp + 0x240], 0
jmp 0x1402473a7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x240], rax
cmp qword [rsp + 0x240], 0
je 0x140247418
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xc8], rax
xor eax, eax
test rax, rax
jne 0x1402473db
mov qword [rsp + 0x248], 0
jmp 0x1402473ec
xor eax, eax
add rax, 8
mov rax, qword [rax]
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x290]
add rdx, 0x5c
mov r9d, reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
mov r8, qword [rsp + 0x248]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x140247f2a
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + reloc.mfc90u.dll_AfxOleLockApp]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
jne 0x140247476
mov eax, dword [rsp + 0x28]
and eax, 1
test eax, eax
jne 0x140247476
mov dword [rsp + 0x250], 0
jmp 0x140247481
mov dword [rsp + 0x250], 1
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x290]
cmp dword [rax + reloc.mfc90u.dll_CRecordset::BuildSQL], 0
jge 0x1402474c2
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x290]
call fcn.140248c30
mov edx, eax
mov rax, qword [rsp + 0x290]
mov dword [rax + reloc.mfc90u.dll_CRecordset::BuildSQL], edx
cmp dword [rsp + 0x24], 0
je 0x140247627
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x50], 0
jne 0x140247627
mov dword [rsp + 0x20], 0
jmp 0x1402474f5
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xd8], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0xd8]
jge 0x1402475fe
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x290]
add rax, 0x20
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xf0], 0
jl 0x140247580
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0xf0], rax
jge 0x140247580
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0xf0]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xe0], rax
jmp 0x140247585
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x8c], 0
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [rax + 0xd0]
jmp 0x1402474ea
mov rax, qword [rsp + 0x290]
mov dword [rax + CRecordset::BuildSQL], 0xffffffff
mov rax, qword [rsp + 0x290]
mov dword [rax + reloc.mfc90u.dll_CRecordset::BuildSQL], 0xffffffff
jmp 0x140247dce
mov rax, qword [rsp + 0x290]
add rax, 0x5c
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
mov ecx, dword [rcx + 8]
sub ecx, eax
mov rax, qword [rsp + 0x290]
cmp dword [rax + 0x57c], ecx
jne 0x140247681
mov rcx, qword [rsp + 0x290]
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x60]
cmp dword [rcx + 0x580], eax
je 0x140247dce
mov rax, qword [rsp + 0x290]
add rax, 0x5c
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
mov ecx, dword [rcx + 8]
sub ecx, eax
mov rax, qword [rsp + 0x290]
mov dword [rax + CDaoRecordset::BuildSelectList], ecx
mov rcx, qword [rsp + 0x290]
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x60]
mov dword [rcx + CRecordset::BuildSQL], eax
lea rdi, [rsp + 0x230]
mov rsi, qword [rsp + 0x290]
add rsi, 0x5c
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x38]
lea rsi, [rsp + 0x230]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
add eax, 4
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x3c]
add eax, 3
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x44]
sub eax, 4
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x290]
call fcn.14024ae90
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov rax, qword [rsp + 0x290]
cmp ecx, dword [rax + reloc.mfc90u.dll_CRecordset::BuildSQL]
jg 0x14024784d
mov dword [rsp + 0x20], 0
jmp 0x14024776e
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x108], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x108]
jge 0x140247848
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x290]
add rax, 0x20
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x120], 0
jl 0x1402477f9
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x120], rax
jge 0x1402477f9
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x120]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x110], rax
jmp 0x1402477fe
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov dword [rax + reloc.mfc90u.dll_AfxOleLockApp], 1
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x128], rax
mov ecx, dword [rsp + 0x128]
sub ecx, 1
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x98], ecx
jmp 0x140247763
jmp 0x140247da5
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x598]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jle 0x140247ba5
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0
jmp 0x1402478a0
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x598]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x138]
jg 0x140247b89
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x140], eax
mov edx, dword [rsp + 0x140]
mov rcx, qword [rsp + 0x290]
call fcn.14024acb0
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140247920
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x598]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x148]
jne 0x140247925
jmp 0x140247b89
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x290]
add rax, 0x588
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x160], 0
jl 0x14024798b
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x160], rax
jge 0x14024798b
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x160]
lea rax, [rcx + rax*4]
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
jmp 0x140247990
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jl 0x1402479c8
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x168], rax
movsxd rax, dword [rsp + 0x68]
cmp rax, qword [rsp + 0x168]
jl 0x1402479d5
mov dword [rsp + 0x54], 0
jmp 0x140247b89
movsxd rax, dword [rsp + 0x68]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x290]
add rax, 0x20
mov qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], rax
cmp qword [rsp + 0x180], 0
jl 0x140247a39
mov rax, qword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x180], rax
jge 0x140247a39
mov rcx, qword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x180]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x170], rax
jmp 0x140247a3e
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x598]
mov qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], rax
movsxd rcx, dword [rsp + 0x58]
mov rax, qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary]
sub rax, 1
cmp rcx, rax
jge 0x140247b3d
mov eax, dword [rsp + 0x58]
add eax, 1
cdqe
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x290]
add rax, 0x588
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x1a0], 0
jl 0x140247ae9
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x1a0], rax
jge 0x140247ae9
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x1a0]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x190], rax
jmp 0x140247aee
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x190]
cmp dword [rax], 0xffffffff
jne 0x140247b3d
mov rax, qword [rsp + 0x60]
mov dword [rax + reloc.mfc90u.dll_AfxOleLockApp], 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x48]
mov qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], rax
mov ecx, dword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator]
sub ecx, 1
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x98], ecx
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
jmp 0x140247b84
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 0x98]
mov rax, qword [rsp + 0x1b0]
sub rax, 1
cmp rcx, rax
jge 0x140247b84
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x98]
add ecx, 1
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x98], ecx
jmp 0x140247895
cmp dword [rsp + 0x54], 0
jne 0x140247ba5
mov dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0x290]
call fcn.14024ae90
cmp dword [rsp + 0x50], 0
je 0x140247da5
xor eax, eax
cmp eax, 1
je 0x140247da5
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x1b8], eax
mov edx, dword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x290]
call fcn.14024acb0
test eax, eax
je 0x140247be9
jmp 0x140247da5
mov dword [rsp + 0x78], 0xffffffff
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x20], 0
jmp 0x140247c0e
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x1c0], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x1c0]
jge 0x140247d02
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x290]
add rax, 0x20
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x1d8], 0
jl 0x140247c99
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x1d8], rax
jge 0x140247c99
mov rcx, qword [rsp + 0x1d0]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x1d8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x1c8], rax
jmp 0x140247c9e
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x98]
mov eax, dword [rsp + 0x1e0]
sub eax, ecx
sub eax, 1
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x7c], eax
jl 0x140247cfd
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x6c], eax
jmp 0x140247c03
cmp dword [rsp + 0x78], 0
jge 0x140247d0e
jmp 0x140247da5
movsxd rax, dword [rsp + 0x78]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x290]
add rax, 0x20
mov qword [rsp + 0x1f0], rax
cmp qword [rsp + 0x1f8], 0
jl 0x140247d72
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x1f8], rax
jge 0x140247d72
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x1f8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x1e8], rax
jmp 0x140247d77
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x1e8]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x98]
add ecx, 1
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x98], ecx
jmp 0x140247bb0
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x290]
call qword [rax + SysAllocStringByteLen]
mov dword [rsp + 0x2c], 1
mov rcx, qword [rsp + 0x290]
call fcn.140247f40
cmp dword [rsp + 0x2c], 0
je 0x140247f2a
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], rax
cmp qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], 0
jne 0x140247e13
mov qword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], 0
jmp 0x140247e27
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x40]
mov qword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], rax
cmp qword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], 0
je 0x140247f2a
lea rdi, [rsp + 0x220]
mov rsi, qword [rsp + 0x290]
add rsi, 0x1ac
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x98]
lea rsi, [rsp + 0x220]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x140247ec4
lea rdi, [rsp + 0x210]
mov rsi, qword [rsp + 0x290]
add rsi, 0x3a4
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xa8]
lea rsi, [rsp + 0x210]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140247f2a
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x208], rax
xor eax, eax
test rax, rax
jne 0x140247eed
mov qword [rsp + 0x260], 0
jmp 0x140247efe
xor eax, eax
add rax, 8
mov rax, qword [rax]
mov qword [rsp + 0x260], rax
mov rdx, qword [rsp + 0x290]
add rdx, 0x5c
mov r9d, reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
mov r8, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
add rsp, reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl
pop rdi
pop rsi
ret