Function at 0x469500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ee5ba
push eax
mov eax, 0xf410
mov dword fs:[0], esp
call fcn.004e0dc0
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.004e04de
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.004e04de
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str.DT_MEDIAFILE
push ecx
mov byte [ebp - 4], 1
call edi
add esp, 8
test eax, eax
jne 0x469b3e
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp + 0x10], ebx
mov edx, dword [0x53d480]
mov ecx, 0x53d480
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], 0x53d480
call dword [edx + 4]
mov eax, dword [0x537160]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x4695f0
cmp dword [0x53715c], ebx
jne 0x4695f0
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x40], eax
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4695c6
mov ecx, eax
call fcn.00431f10
jmp 0x4695c8
xor eax, eax
mov dword [0x53715c], eax
mov eax, dword [0x528890]
push eax
push 0x4031c0
mov ecx, 0x53bea0
mov byte [ebp - 4], 5
call fcn.00402190
mov dword [0x537160], 1
mov edx, dword [0x53d480]
mov edi, dword [0x53715c]
mov ecx, 0x53d480
mov byte [ebp - 4], 4
call dword [edx + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push edi
call dword [eax + 8]
test eax, eax
jl 0x469b02
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x469b02
push 0x5298d8
lea edx, [ebp - 0x3c]
push eax
push edx
call fcn.004030d0
mov eax, dword [ebp - 0x28]
push 0x52b5d0
lea ecx, [ebp + 0x10]
push eax
push ecx
call fcn.004030d0
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov edx, dword [eax]
mov byte [ebp - 4], 7
call dword [edx + 0x10]
test eax, eax
jl 0x469af8
mov dword [ebp + 0xc], ebx
mov edx, dword [0x53d440]
mov ecx, 0x53d440
mov byte [ebp - 4], 8
mov dword [ebp - 0x40], 0x53d440
call dword [edx + 4]
mov eax, dword [0x53716c]
mov byte [ebp - 4], 9
cmp eax, ebx
jne 0x4696df
cmp dword [0x537168], ebx
jne 0x4696df
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x5c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x4696b5
push ebx
mov ecx, eax
call fcn.00404a60
jmp 0x4696b7
xor eax, eax
mov dword [0x537168], eax
mov eax, dword [0x528b70]
push eax
push 0x404a30
mov ecx, 0x53bea0
mov byte [ebp - 4], 9
call fcn.00402190
mov dword [0x53716c], 1
mov edx, dword [0x53d440]
mov edi, dword [0x537168]
mov ecx, 0x53d440
mov byte [ebp - 4], 8
call dword [edx + 8]
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push edi
call dword [eax + 0x74]
mov eax, dword [ebp + 0xc]
mov edx, 0x537100
test edx, edx
jne 0x469716
cmp eax, ebx
je 0x469773
jmp 0x4697d3
cmp eax, ebx
je 0x4697d3
mov eax, 0x537100
test eax, eax
jne 0x46972b
xor edi, edi
jmp 0x46975c
push 0x537100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004e0dc0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push 0x537100
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp + 0xc]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
sete al
test al, al
je 0x4697d3
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x187]
mov byte [ebp - 0x188], 0
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
stosw word es:[edi], ax
push edx
push 5
push ebx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4697d3
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4697d3
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x188]
push 0xffffffffffffffff
push eax
call fcn.004048e0
add esp, 8
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
push ecx
push edx
push eax
push 0xa120e
push ebx
push ebx
push 1
lea ecx, [ebp - 0xf41c]
call fcn.004253e0
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x469808
mov ecx, dword [eax]
lea edx, [ebp - 0x60]
push edx
push eax
call dword [ecx + 0x24]
lea ecx, [ebp - 0xf41c]
call fcn.004254d0
cmp eax, 1
jne 0x469adf
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
cmp esi, ebx
mov byte [ebp - 4], 0xc
je 0x469853
mov ecx, esi
call fcn.0042b250
mov ecx, 0x53c1e8
mov byte [ebp - 4], 0xd
mov dword [esi], vtable.ATL::CComObject_class_CKMPArray_.0
call fcn.004b14d0
mov dword [ebp - 0x14], esi
jmp 0x469858
mov dword [ebp - 0x14], ebx
mov esi, ebx
lea ecx, [ebp - 0xf41c]
mov byte [ebp - 4], 0xb
call fcn.00425660
mov edi, dword [0x5371bc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x469894
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [ecx + 0x90]
cmp dword [ebp - 0x5c], ebx
je 0x469894
cmp edi, ebx
je 0x469894
mov ecx, edi
call fcn.00449030
cmp dword [ebp - 0x24], ebx
je 0x469a59
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xf41c]
push eax
call fcn.00425670
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x40], edi
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
mov word [ebp - 0x70], bx
call fcn.00443cd0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 8]
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
push edx
push eax
call fcn.0046bde0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x60], ebx
je 0x469a45
mov cl, byte [ebp + 0x17]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x38], cl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x10
call fcn.004c5ee0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x84]
push edx
push edi
mov byte [ebp - 4], 0x11
call fcn.004c5f50
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x4699f8
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jle 0x4699f8
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x469951
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov eax, dword [ecx + eax + 4]
test eax, eax
je 0x469964
mov esi, eax
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 0x12
je 0x469985
push esi
mov ecx, eax
call fcn.00410ea0
mov esi, eax
jmp 0x469987
xor esi, esi
test esi, esi
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1c], esi
jne 0x46999c
push 0x8007000e
call fcn.004e1090
test esi, esi
mov byte [ebp - 4], 0x13
je 0x4699a8
mov eax, dword [esi]
jmp 0x4699aa
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], 0
call fcn.00443cd0
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 8]
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x14
push edx
push eax
call fcn.0046bde0
lea eax, [ebp - 0x58]
push eax
call edi
test esi, esi
mov byte [ebp - 4], 0x11
je 0x4699e2
mov ecx, esi
call fcn.00410ee0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
add ecx, 0x10
dec eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x18], eax
jne 0x46994e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x10
call fcn.004c5f20
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp esi, edi
mov byte [ebp - 4], 0xe
je 0x469a2b
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.0043a720
add esi, 0x10
cmp esi, edi
jne 0x469a17
mov esi, dword [ebp - 0x34]
jmp 0x469a2d
xor ebx, ebx
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push edi
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x24], ebx
jne 0x46989d
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi]
push edx
push 0x52fe10
push esi
call dword [ecx]
lea ecx, [ebp - 0xf41c]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004d7640
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x44]
push ecx
call esi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x469a9b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x469aac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x469abd
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
jmp 0x46a129
lea ecx, [ebp - 0xf41c]
mov byte [ebp - 4], 8
call fcn.004d7640
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x469b13
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x469b24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x46a109
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x46a109
mov eax, dword [ebp - 0x10]
push str.DT_EQFILE
push eax
call edi
add esp, 8
test eax, eax
jne 0x469e05
push esi
lea ecx, [ebp + 0xc]
call fcn.004e04de
mov ecx, dword [ebp + 0xc]
push str.save
push ecx
mov byte [ebp - 4], 0x15
call edi
mov edx, dword [ebp - 0x14]
add esp, 8
test eax, eax
push ebx
push edx
push 0x5291c0
jne 0x469cba
push 0xa000e
push ebx
push 0x5291b8
push ebx
lea ecx, [ebp - 0xf41c]
call fcn.004253e0
lea ecx, [ebp - 0xf41c]
mov byte [ebp - 4], 0x16
call fcn.004254d0
cmp eax, 1
jne 0x469cab
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
cmp esi, ebx
mov byte [ebp - 4], 0x17
je 0x469be4
mov ecx, esi
call fcn.0042b250
mov ecx, 0x53c1e8
mov byte [ebp - 4], 0x18
mov dword [esi], vtable.ATL::CComObject_class_CKMPArray_.0
call fcn.004b14d0
jmp 0x469be6
xor esi, esi
lea ecx, [ebp - 0xf41c]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0x16
call fcn.00425660
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x469c5e
lea edi, [esi + 8]
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0xf41c]
push eax
call fcn.00425670
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
mov word [ebp - 0x58], bx
call fcn.00443cd0
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x58]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.0046bde0
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
mov byte [ebp - 4], 0x16
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 0x10], ebx
jne 0x469c02
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi]
push ecx
push 0x52fe10
push esi
call dword [eax]
lea ecx, [ebp - 0xf41c]
mov esi, eax
mov byte [ebp - 4], 0x15
call fcn.004d7640
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x46a129
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xf41c]
jmp 0x469def
push 0xa120e
push ebx
push 0x5291b8
push 1
lea ecx, [ebp - 0xf41c]
call fcn.004253e0
lea ecx, [ebp - 0xf41c]
mov byte [ebp - 4], 0x1b
call fcn.004254d0
cmp eax, 1
jne 0x469de5
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
cmp esi, ebx
mov byte [ebp - 4], 0x1c
je 0x469d1e
mov ecx, esi
call fcn.0042b250
mov ecx, 0x53c1e8
mov byte [ebp - 4], 0x1d
mov dword [esi], vtable.ATL::CComObject_class_CKMPArray_.0
call fcn.004b14d0
jmp 0x469d20
xor esi, esi
lea ecx, [ebp - 0xf41c]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0x1b
call fcn.00425660
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x469d98
lea edi, [esi + 8]
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0xf41c]
push eax
call fcn.00425670
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1e
mov word [ebp - 0x58], bx
call fcn.00443cd0
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x58]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1f
call fcn.0046bde0
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
mov byte [ebp - 4], 0x1b
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 0x10], ebx
jne 0x469d3c
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi]
push ecx
push 0x52fe10
push esi
call dword [eax]
lea ecx, [ebp - 0xf41c]
mov esi, eax
mov byte [ebp - 4], 0x15
call fcn.004d7640
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x46a129
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xf41c]
call fcn.004d7640
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x46a109
mov edx, dword [ebp - 0x10]
push str.DT_FILE
push edx
call edi
add esp, 8
test eax, eax
jne 0x469f68
mov eax, dword [ebp - 0x14]
push ebx
push eax
push ebx
push 0xa120e
push ebx
push ebx
push 1
lea ecx, [ebp - 0xf41c]
call fcn.004253e0
lea ecx, [ebp - 0xf41c]
mov byte [ebp - 4], 0x20
call fcn.004254d0
cmp eax, 1
jne 0x469f54
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp + 0x10], esi
cmp esi, ebx
mov byte [ebp - 4], 0x21
je 0x469e81
mov ecx, esi
call fcn.0042b250
mov ecx, 0x53c1e8
mov byte [ebp - 4], 0x22
mov dword [esi], vtable.ATL::CComObject_class_CKMPArray_.0
call fcn.004b14d0
jmp 0x469e83
xor esi, esi
lea ecx, [ebp - 0xf41c]
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 0x20
call fcn.00425660
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x469f13
lea ebx, [esi + 8]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xf41c]
call fcn.00425670
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x1c], edi
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x23
mov word [ebp - 0x58], 0
call fcn.00443cd0
mov esi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
mov byte [ebp - 4], 0x24
lea edx, [esi + 1]
push edx
call fcn.0042b590
mov eax, dword [ebx + 4]
shl esi, 4
add esi, eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0046b960
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edi
mov byte [ebp - 4], 0x20
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x469e9f
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
push eax
push 0x52fe10
push esi
call dword [edx]
lea ecx, [ebp - 0xf41c]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.004d7640
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x46a129
lea ecx, [ebp - 0xf41c]
mov byte [ebp - 4], 1
call fcn.004d7640
jmp 0x46a109
mov ecx, dword [ebp - 0x10]
push str.DT_FOLDER
push ecx
call edi
add esp, 8
test eax, eax
jne 0x46a109
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c0]
call fcn.00425ce0
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0x25
call fcn.00425e70
cmp eax, 1
jne 0x46a0fa
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x3c0]
push edx
call fcn.00425ef0
mov eax, dword [eax]
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
dec esi
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
cmp edi, ebx
je 0x469fe6
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], edi
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x26
call sub.MFC42.DLL_CString::CString
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
cmp esi, ebx
mov byte [ebp - 4], 0x27
je 0x46a02c
mov ecx, esi
call fcn.0042b250
mov ecx, 0x53c1e8
mov byte [ebp - 4], 0x28
mov dword [esi], vtable.ATL::CComObject_class_CKMPArray_.0
call fcn.004b14d0
mov dword [ebp + 0xc], esi
jmp 0x46a02f
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x38]
mov word [ebp - 0x38], bx
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x46a044
mov dword [ebp - 0x30], eax
push edi
mov word [ebp - 0x38], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x46a069
cmp edi, ebx
je 0x46a069
mov word [ebp - 0x38], 0xa
mov dword [ebp - 0x30], 0x8007000e
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov byte [ebp - 4], 0x29
mov esi, dword [edx + 0x10]
lea ecx, [edx + 8]
lea eax, [esi + 1]
push eax
call fcn.0042b590
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x38]
shl esi, 4
lea eax, [ecx + 8]
push edx
add esi, dword [eax + 4]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x46a0a4
mov word [esi], 0xa
mov dword [esi + 8], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x26
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push edx
push 0x52fe10
mov ecx, dword [eax]
push eax
call dword [ecx]
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 1
call fcn.00425de0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x46a129
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 1
call fcn.00425de0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xf428]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10