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

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
mov qword [r11 - 0x268], 0xfffffffffffffffe
mov rax, qword [0x14003e2f0]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0xd0], rcx
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov qword [r11 - 0x2b8], r13
mov qword [rsp + 0x70], r13
mov qword [r11 - 0x2b0], r13
mov qword [r11 - 0x2d8], r13
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x14001bc3c
mov r8, qword [r8 + 0x58]
lea rdx, [0x140028308]
mov rcx, rdi
call sub.MFC42u.dll_CPtrList::FreeNode
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400231c0
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rdx + 8]
mov rbx, r13
mov qword [rsp + 0x50], rbx
test rcx, rcx
je 0x14001bc6a
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x140034b28]
mov rax, qword [rax]
call qword [0x140025b28]
mov rbx, qword [rsp + 0x50]
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memset
nop
mov rax, qword [rbx]
lea r8, [rsp + 0x40]
mov edx, dword [rsi + 0x2c]
mov rcx, rbx
mov rax, qword [rax + 0x28]
call qword [0x140025b28]
test eax, eax
jns 0x14001bca3
mov ecx, eax
call sub.MFC42u.dll_AfxVerifyLicFile
mov r12d, r13d
mov ebx, r13d
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x80]
mov rax, qword [rax + 0x18]
call qword [0x140025b28]
test eax, eax
jns 0x14001bcce
mov ecx, eax
call sub.MFC42u.dll_AfxVerifyLicFile
mov rcx, qword [r15 + 0x18]
mov esi, 1
test rcx, rcx
je 0x14001bcee
mov rax, qword [rcx]
mov edx, esi
mov rax, qword [rax]
call qword [0x140025b28]
mov qword [r15 + 0x18], r13
mov ecx, 0x68
call fcn.14002202c
mov qword [rsp + 0x90], rax
test rax, rax
je 0x14001bd0f
mov rcx, rax
call fcn.14001fff8
jmp 0x14001bd12
mov rax, r13
mov qword [r15 + 0x18], rax
lea r8, [0x140027dec]
lea rdx, [0x140028308]
mov rcx, rdi
call sub.MFC42u.dll_CPtrList::FreeNode
lea rcx, [rsp + 0x78]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x2c]
lea rdx, str.pattr__typekind__i_pfuncdesc__memid__08.8x
mov ecx, 3
call fcn.140020a74
mov rax, qword [rsp + 0x80]
mov ecx, 4
cmp dword [rax + 0x2c], ecx
je 0x14001bdd8
test byte [rax + 0x3a], 0x40
jne 0x14001bdd8
cmp dword [rax + 0x2c], 2
mov rax, qword [rsp + 0x40]
jne 0x14001bda7
mov r12d, esi
mov ebx, esi
mov r8d, dword [rax]
lea rdx, str._entry__08.8x_
lea rcx, [rsp + 0x78]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x78]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
jmp 0x14001be03
cmp dword [rax + 0x1c], esi
jg 0x14001bdc0
cmp word [rax + 0x50], r13w
jne 0x14001bdc0
or r14, 0xffffffffffffffff
cmp word [rax + 0x26], r14w
je 0x14001bdc4
jmp 0x14001be0c
or r14, 0xffffffffffffffff
lea rdx, [0x14002e648]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov r12d, esi
jmp 0x14001be07
mov r12d, esi
mov ebx, esi
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax]
lea rdx, str._id__08.8x_
lea rcx, [rsp + 0x78]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x78]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
or r14, 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
mov rcx, qword [r15 + 0x18]
mov eax, dword [rax]
mov dword [rcx + 8], eax
mov rdx, qword [rsp + 0x40]
lea r13, [0x14002e64c]
test byte [rdx + 0x1c], sil
je 0x14001be54
test ebx, ebx
je 0x14001be36
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.method
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [r15 + 0x18]
or word [rax + 0xc], si
mov rdx, qword [rsp + 0x40]
test byte [rdx + 0x1c], 2
je 0x14001be8c
test ebx, ebx
je 0x14001be69
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.propget
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [r15 + 0x18]
mov ecx, 3
or word [rax + 0xc], cx
mov rdx, qword [rsp + 0x40]
mov eax, 4
test byte [rdx + 0x1c], al
je 0x14001bec8
test ebx, ebx
je 0x14001bea5
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.propput
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [r15 + 0x18]
mov ecx, 4
or word [rax + 0xc], cx
mov rdx, qword [rsp + 0x40]
mov eax, 8
test byte [rdx + 0x1c], al
je 0x14001bf04
test ebx, ebx
je 0x14001bee1
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.propputref
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [r15 + 0x18]
mov ecx, 8
or word [rax + 0xc], cx
mov rdx, qword [rsp + 0x40]
test byte [rdx + 0x50], sil
je 0x14001bf2f
test ebx, ebx
je 0x14001bf19
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.restricted
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
test byte [rdx + 0x50], 2
je 0x14001bf5a
test ebx, ebx
je 0x14001bf44
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.source
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
mov eax, 4
test byte [rdx + 0x50], al
je 0x14001bf89
test ebx, ebx
je 0x14001bf73
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.bindable
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
mov eax, 8
test byte [rdx + 0x50], al
je 0x14001bfb8
test ebx, ebx
je 0x14001bfa2
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.requestedit
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
test byte [rdx + 0x50], 0x10
je 0x14001bfe3
test ebx, ebx
je 0x14001bfcd
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.displaybind
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
test byte [rdx + 0x50], 0x20
je 0x14001c00e
test ebx, ebx
je 0x14001bff8
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.defaultbind
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
test byte [rdx + 0x50], 0x40
je 0x14001c039
test ebx, ebx
je 0x14001c023
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.hidden
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
cmp word [rdx + 0x26], r14w
jne 0x14001c065
test ebx, ebx
je 0x14001c04f
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
lea rdx, str.vararg
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x5c]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x70]
lea r8, [rsp + 0xa0]
mov edx, dword [rdx]
mov rax, qword [rax + 0x60]
call qword [0x140025b28]
test eax, eax
js 0x14001c1b3
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov r14, qword [rsp + 0x70]
xor eax, eax
test r14, r14
je 0x14001c155
cmp word [r14], ax
je 0x14001c155
test r12d, r12d
jne 0x14001c0e3
lea rdx, [0x14002e648]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov r14, qword [rsp + 0x70]
mov r12d, esi
test ebx, ebx
je 0x14001c0fa
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov r14, qword [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov r8, r14
lea rdx, str.helpstring___s__
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x48]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
mov r8d, dword [rsp + 0x5c]
test r8d, r8d
je 0x14001c1a5
lea rdx, str.__helpcontext__08.8x_
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x48]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
jmp 0x14001c1a5
cmp dword [rsp + 0x5c], eax
jbe 0x14001c1a5
test r12d, r12d
jne 0x14001c16f
lea rdx, [0x14002e648]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
test ebx, ebx
je 0x14001c17e
mov rdx, r13
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov r12d, esi
mov r8d, dword [rsp + 0x5c]
lea rdx, str.helpcontext__08.8x_
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x48]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
or r14, 0xffffffffffffffff
xor r13d, r13d
test r12d, r12d
je 0x14001c1d9
lea rdx, [0x14002e750]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [0x140027dec]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [r15 + 0x18]
mov dword [rax + 0x20], r13d
mov rax, qword [r15 + 0x18]
mov qword [rax + 0x10], r13
mov rax, qword [r15 + 0x18]
mov dword [rax + 0x24], r13d
mov rax, qword [r15 + 0x18]
mov qword [rax + 0x18], r13
mov r8, qword [rsp + 0x40]
add r8, 0x30
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.140020488
nop
mov rdx, rax
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x88]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x14002848c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [rsp + 0x80]
mov ecx, 4
lea r12d, [rcx + 0x3c]
cmp dword [rax + 0x2c], ecx
je 0x14001c2f4
test byte [rax + 0x3a], r12b
jne 0x14001c2f4
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + 0x20]
test edx, edx
je 0x14001c2e5
sub edx, 1
je 0x14001c2d4
sub edx, 1
je 0x14001c2cb
sub edx, 1
je 0x14001c2c2
sub edx, 1
je 0x14001c2b9
sub edx, 1
je 0x14001c2b0
sub edx, 1
je 0x14001c2a7
sub edx, 1
je 0x14001c29e
cmp edx, 1
jne 0x14001c2f4
lea rdx, str._mpwpascal
jmp 0x14001c2db
lea rdx, str._mpwcdecl
jmp 0x14001c2db
lea rdx, str._syscall
jmp 0x14001c2db
lea rdx, str._fpfastcall
jmp 0x14001c2db
lea rdx, str._stdcall
jmp 0x14001c2db
lea rdx, str._macpascal
jmp 0x14001c2db
lea rdx, str._mspascal
jmp 0x14001c2db
lea rdx, str._cdecl
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
jmp 0x14001c2f4
lea rdx, str._fastcall
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov dword [rsp + 0x58], r13d
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, r12d
lea r8, [rsp + 0x110]
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx]
mov rax, qword [rax + 0x38]
call qword [0x140025b28]
test eax, eax
jns 0x14001c332
mov ecx, eax
call sub.MFC42u.dll_AfxVerifyLicFile
mov rax, qword [rsp + 0x40]
movsx ecx, word [rax + 0x24]
add ecx, esi
cmp dword [rsp + 0x58], ecx
jge 0x14001c362
lea rcx, [0x14002e830]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [rsp + 0x58]
mov qword [rsp + rdx*8 + 0x110], rax
add edx, esi
mov dword [rsp + 0x58], edx
mov rdx, qword [rsp + 0x110]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [0x14002e838]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [rsp + 0x40]
cmp word [rax + 0x24], si
jle 0x14001c39b
lea rdx, [0x140027dec]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rax, qword [rsp + 0x40]
cmp r13w, word [rax + 0x24]
je 0x14001c460
mov rcx, qword [r15 + 0x18]
movsx eax, word [rax + 0x24]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x40]
movsx rcx, word [rax + 0x24]
mov ebx, 8
mov eax, ebx
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140022020
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x40]
movsx rcx, word [rax + 0x24]
mov eax, ebx
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140022020
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x40]
movsx rcx, word [rax + 0x24]
lea eax, [rbx - 6]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140022020
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x38], rax
xor r13d, r13d
mov r8d, r13d
mov rax, qword [r15 + 0x18]
cmp dword [rax + 0x60], r13d
jle 0x14001c460
mov edx, r13d
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + 0x28]
mov qword [rdx + rcx], r13
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + 0x30]
mov qword [rdx + rcx], r13
add r8d, esi
add rdx, rbx
mov rax, qword [r15 + 0x18]
cmp r8d, dword [rax + 0x60]
jl 0x14001c438
mov r14d, r13d
mov dword [rsp + 0x60], r14d
mov rax, qword [rsp + 0x40]
movsx ecx, word [rax + 0x24]
cmp r14d, ecx
jge 0x14001ca50
cmp cx, si
jle 0x14001c48e
lea rdx, [0x1400263c0]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
xor r8d, r8d
mov ebx, r8d
movsxd r14, r14d
mov qword [rsp + 0xb0], r14
mov rdx, r14
shl rdx, 5
mov qword [rsp + 0xb8], rdx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
movups xmm0, xmmword [rcx + rdx + 0x10]
movups xmmword [rsp + 0xf8], xmm0
pextrw r12d, xmm0, 4
test r12w, r12w
je 0x14001c4e2
lea rdx, [0x14002e648]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov r13d, esi
test sil, r12b
je 0x14001c4f8
lea rdx, [0x14002e83c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
test r12b, 2
je 0x14001c522
test ebx, ebx
je 0x14001c511
lea rdx, [0x14002e64c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [0x14002e848]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
mov eax, 4
test al, r12b
je 0x14001c550
test ebx, ebx
je 0x14001c53f
lea rdx, [0x14002e64c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, str.lcid
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
mov eax, 8
test al, r12b
je 0x14001c57e
test ebx, ebx
je 0x14001c56d
lea rdx, [0x14002e64c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, str.retval
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
test r12b, 0x10
je 0x14001c5a8
test ebx, ebx
je 0x14001c597
lea rdx, [0x14002e64c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, str.optional
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, esi
test r12b, 0x20
je 0x14001c6e0
mov r14, qword [rsp + 0xf8]
test ebx, ebx
je 0x14001c5cd
lea rdx, [0x14002e64c]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, str.defaultvalue_
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, 8
cmp bx, word [r14 + 8]
jne 0x14001c5f7
lea rdx, [0x14002e8a4]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rcx, [rsp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov r9d, ebx
xor r8d, r8d
lea rdx, [r14 + 8]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
cmp eax, 0x8002000a
je 0x14001c63d
cmp eax, 0x80020005
je 0x14001c63d
mov rdx, qword [rsp + 0xe0]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
jmp 0x14001c6a5
lea rdx, [0x14002e8a8]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
movzx edx, word [r14 + 8]
lea rcx, [rsp + 0x88]
call fcn.140020868
nop
lea rcx, [rsp + 0x88]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rdx, [0x14002e8c4]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
nop
lea rcx, [rsp + 0x88]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov ebx, 8
cmp bx, word [r14 + 8]
jne 0x14001c6bb
lea rdx, [0x14002e8a4]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [0x14002e3f4]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rcx, [rsp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r14, qword [rsp + 0xb0]
test r13d, r13d
je 0x14001c6f4
lea rdx, [0x14002e8c8]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
lea rcx, [rsp + 0x98]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rdx, [0x1400263c0]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPtrList::FreeNode
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x10]
mov rbx, qword [rsp + 0xb8]
add r8, rbx
movzx eax, word [r8 + 8]
mov ecx, 0xfff
and ax, cx
mov rdx, qword [rsp + 0x50]
cmp ax, 0x1c
jne 0x14001c83d
mov r8, qword [r8]
lea rcx, [rsp + 0xc0]
call fcn.140020488
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0xc0]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x14002848c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + r14*8 + 0x118]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_AfxDaoGetEngine
xor eax, eax
movzx ebx, ax
mov rdx, r14
shl rdx, 5
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
mov r8, qword [rdx + rcx]
cmp bx, word [r8 + 0x10]
jae 0x14001c80a
movzx eax, bx
mov r8d, dword [r8 + rax*8 + 0x14]
lea rdx, str.__d_
lea rcx, [rsp + 0x98]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_Ordinal_1284
add bx, si
jmp 0x14001c7bc
lea rdx, [rsp + 0x48]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
mov rcx, r14
shl rcx, 5
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
mov rdx, qword [rcx + rdx]
mov rcx, qword [rsp + 0x50]
call fcn.140020738
movzx ebx, ax
jmp 0x14001c8d3
lea rcx, [rsp + 0x90]
call fcn.140020488
nop
lea r8, [0x14002848c]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call sub.MFC42u.dll_AfxThrowOleException
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0xc8]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x90]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_AfxDaoGetEngine
mov rdx, qword [rsp + r14*8 + 0x118]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [rsp + 0x48]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1284
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
add rdx, rbx
mov rcx, qword [rsp + 0x50]
call fcn.140020738
movzx ebx, ax
mov rax, qword [rsp + 0x40]
movsx ecx, word [rax + 0x24]
sub ecx, esi
cmp dword [rsp + 0x60], ecx
jge 0x14001c931
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov rcx, qword [rcx + 0x28]
mov qword [rcx + r14*8], rax
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov rdx, qword [rcx + 0x30]
mov qword [rdx + r14*8], rax
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + 0x38]
mov word [rcx + r14*2], bx
lea rdx, [0x14002e3f8]
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
jmp 0x14001c9e2
mov eax, 8
lea r13d, [rax - 6]
test al, r12b
je 0x14001c999
test r13b, r12b
je 0x14001c9e4
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x48], rax
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x50], rax
mov rax, qword [r15 + 0x18]
dec dword [rax + 0x60]
mov r8, qword [r15 + 0x18]
mov r8, qword [r8 + 0x48]
lea rdx, str.out_ret__s
lea ecx, [r13 + 1]
call fcn.140020a74
mov rax, qword [r15 + 0x18]
or word [rax + 0xc], r13w
jmp 0x14001ca1d
test r13b, r12b
je 0x14001c9e4
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x48], rax
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov qword [rcx + 0x50], rax
mov rax, qword [r15 + 0x18]
dec dword [rax + 0x60]
mov r8, qword [r15 + 0x18]
mov r8, qword [r8 + 0x48]
lea rdx, str.out_ret__maybe___s
mov ecx, 3
call fcn.140020a74
jmp 0x14001ca1d
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov rcx, qword [rcx + 0x28]
mov qword [rcx + r14*8], rax
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rcx, qword [r15 + 0x18]
mov rdx, qword [rcx + 0x30]
mov qword [rdx + r14*8], rax
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + 0x38]
mov word [rcx + r14*2], bx
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x98]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r14d, dword [rsp + 0x60]
add r14d, esi
xor r13d, r13d
jmp 0x14001c463
lea rdx, str.___r_n
mov rcx, rdi
call sub.MFC42u.dll_Ordinal_1287
mov ebx, r13d
mov r12d, 3
mov r9, qword [r15 + 0x18]
cmp ebx, dword [r9 + 0x60]
jge 0x14001cb08
movsxd r14, ebx
mov r9, qword [r9 + 0x28]
mov r9, qword [r9 + r14*8]
mov r8d, ebx
lea rdx, str.Param_type__i__s
mov ecx, r12d
call fcn.140020a74
mov rax, qword [r15 + 0x18]
mov r9, qword [rax + 0x30]
mov r9, qword [r9 + r14*8]
mov r8d, ebx
lea rdx, str.Param_name__i__s
mov ecx, r12d
call fcn.140020a74
mov rax, qword [r15 + 0x18]
mov rax, qword [rax + 0x38]
movzx edx, word [rax + r14*2]
lea rcx, [rsp + 0x90]
call fcn.140020868
nop
mov rcx, qword [r15 + 0x18]
mov rdx, qword [rcx + 0x38]
movzx r9d, word [rdx + r14*2]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r8d, ebx
lea rdx, str.Param_VARTYPE__i__0x_04x__s
mov ecx, r12d
call fcn.140020a74
nop
lea rcx, [rsp + 0x90]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
add ebx, esi
jmp 0x14001ca68
lea rbx, [rsp + 0x110]
mov eax, 8
lea r12d, [rax + 0x38]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001cb2c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 8
add rbx, rax
sub r12, rsi
jne 0x14001cb19
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14001cb47
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001cb57
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14001cb6a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rax + 0xa0]
call qword [0x140025b28]
nop
lea rcx, [rsp + 0x78]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rbx, qword [r15 + 0x18]
mov rcx, rdi
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov qword [rbx + 0x58], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001cbb8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140025b28]
nop
jmp 0x14001bc19