Function at 0x14023c550
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 0x14023c57e
jmp 0x14023d1ca
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x50], 0
je 0x14023c59a
mov rcx, qword [rsp + 0x290]
call fcn.14023ddf0
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x290]
call fcn.14023dcd0
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x14023c5d3
jmp 0x14023d1ca
mov rax, qword [rsp + 0x290]
cmp dword [rax + 0x18], 0
je 0x14023c6bd
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 0x14023c633
mov qword [rsp + 0x240], 0
jmp 0x14023c647
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x240], rax
cmp qword [rsp + 0x240], 0
je 0x14023c6b8
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xc8], rax
xor eax, eax
test rax, rax
jne 0x14023c67b
mov qword [rsp + 0x248], 0
jmp 0x14023c68c
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 0x14023d1ca
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 + 0x4ac]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
jne 0x14023c716
mov eax, dword [rsp + 0x28]
and eax, 1
test eax, eax
jne 0x14023c716
mov dword [rsp + 0x250], 0
jmp 0x14023c721
mov dword [rsp + 0x250], 1
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x290]
cmp dword [rax + 0x59c], 0
jge 0x14023c762
mov rdx, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov rcx, qword [rsp + 0x290]
call fcn.14023ded0
mov edx, eax
mov rax, qword [rsp + 0x290]
mov dword [rax + 0x59c], edx
cmp dword [rsp + 0x24], 0
je 0x14023c8c7
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x50], 0
jne 0x14023c8c7
mov dword [rsp + 0x20], 0
jmp 0x14023c795
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 0x14023c89e
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 0x14023c820
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0xf0], rax
jge 0x14023c820
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 0x14023c825
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 + 0xa8]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [rax + 0xd8]
jmp 0x14023c78a
mov rax, qword [rsp + 0x290]
mov dword [rax + CStatusBar::CalcInsideRect], 0xffffffff
mov rax, qword [rsp + 0x290]
mov dword [rax + 0x59c], 0xffffffff
jmp 0x14023d06e
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 + 0x594], ecx
jne 0x14023c921
mov rcx, qword [rsp + 0x290]
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x60]
cmp dword [rcx + 0x598], eax
je 0x14023d06e
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 + CStatusBar::CalcInsideRect], ecx
mov rcx, qword [rsp + 0x290]
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x60]
mov dword [rcx + CStatusBar::CalcInsideRect], 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.1402402e0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov rax, qword [rsp + 0x290]
cmp ecx, dword [rax + 0x59c]
jg 0x14023caed
mov dword [rsp + 0x20], 0
jmp 0x14023ca0e
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 0x14023cae8
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 0x14023ca99
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x120], rax
jge 0x14023ca99
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 0x14023ca9e
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 + AfxOleUnlockControl], 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 0x14023ca03
jmp 0x14023d045
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x5b0]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jle 0x14023ce45
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0
jmp 0x14023cb40
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x5b0]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x138]
jg 0x14023ce29
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.140240100
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x14023cbc0
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x5b0]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x148]
jne 0x14023cbc5
jmp 0x14023ce29
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x290]
add rax, 0x5a0
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x160], 0
jl 0x14023cc2b
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x160], rax
jge 0x14023cc2b
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 0x14023cc30
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 0x14023cc68
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 0x14023cc75
mov dword [rsp + 0x54], 0
jmp 0x14023ce29
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 0x14023ccd9
mov rax, qword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x180], rax
jge 0x14023ccd9
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 0x14023ccde
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 + 0x5b0]
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 0x14023cddd
mov eax, dword [rsp + 0x58]
add eax, 1
cdqe
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x290]
add rax, 0x5a0
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x1a0], 0
jl 0x14023cd89
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x1a0], rax
jge 0x14023cd89
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 0x14023cd8e
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x190]
cmp dword [rax], 0xffffffff
jne 0x14023cddd
mov rax, qword [rsp + 0x60]
mov dword [rax + AfxOleUnlockControl], 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 0x14023ce24
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 0x14023ce24
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x98]
add ecx, 1
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x98], ecx
jmp 0x14023cb35
cmp dword [rsp + 0x54], 0
jne 0x14023ce45
mov dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0x290]
call fcn.1402402e0
cmp dword [rsp + 0x50], 0
je 0x14023d045
xor eax, eax
cmp eax, 1
je 0x14023d045
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.140240100
test eax, eax
je 0x14023ce89
jmp 0x14023d045
mov dword [rsp + 0x78], 0xffffffff
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x20], 0
jmp 0x14023ceae
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 0x14023cfa2
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 0x14023cf39
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x1d8], rax
jge 0x14023cf39
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 0x14023cf3e
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 0x14023cf9d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x6c], eax
jmp 0x14023cea3
cmp dword [rsp + 0x78], 0
jge 0x14023cfae
jmp 0x14023d045
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 0x14023d012
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x1f8], rax
jge 0x14023d012
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 0x14023d017
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 0x14023ce50
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.14023d1e0
cmp dword [rsp + 0x2c], 0
je 0x14023d1ca
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 0x14023d0b3
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 0x14023d0c7
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 0x14023d1ca
lea rdi, [rsp + 0x220]
mov rsi, qword [rsp + 0x290]
add rsi, 0x1b4
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 0x14023d164
lea rdi, [rsp + 0x210]
mov rsi, qword [rsp + 0x290]
add rsi, 0x3b4
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 0x14023d1ca
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x208], rax
xor eax, eax
test rax, rax
jne 0x14023d18d
mov qword [rsp + 0x260], 0
jmp 0x14023d19e
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