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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x525dbb
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
xor esi, esi
cmp edi, esi
jne 0x46c94e
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], esi
call sub.MFC42.DLL_CString::CString_3
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], esi
call sub.MFC42.DLL_CString::operator_3
push 0x5c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
lea eax, [esp + 0x2c]
push edi
push esi
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Mid
inc edi
lea ecx, [esp + 0x28]
push edi
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::Mid_1
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 3
call fcn.0046da60
lea edx, [esp + 0x88]
push edx
push 0x565c28
push 0x17
push esi
push 0x565c18
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x46cf2a
mov eax, dword [esp + 0x88]
push eax
call dword [sym.imp.ole32.dll_OleRun]
mov edi, eax
cmp edi, esi
jl 0x46ca05
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x14]
push edx
push 0x565c08
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [esp + 0x88]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp edi, esi
jl 0x46cf2a
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
push edx
mov word [esp + 0x4c], si
call fcn.00432170
lea eax, [esp + 0x68]
mov byte [esp + 0x80], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x46ca5a
push eax
call fcn.004c7dcc
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 5
cmp eax, esi
jne 0x46ca74
push 0x80004003
call fcn.004c7dcc
lea eax, [esp + 0x68]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0046d030
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x84], 7
call ebx
cmp eax, esi
jge 0x46caa6
push eax
call fcn.004c7dcc
cmp dword [esp + 0x24], esi
je 0x46cf1a
mov edi, dword [esp + 0x28]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x88], eax
cmp eax, esi
mov byte [esp + 0x80], 8
je 0x46cadb
push edi
mov ecx, eax
call fcn.0040d500
jmp 0x46cadd
xor eax, eax
cmp eax, esi
mov byte [esp + 0x80], 7
mov dword [esp + 0x34], eax
jne 0x46caf7
push 0x8007000e
call fcn.004c7dcc
mov eax, dword [esp + 0x34]
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
mov dword [ecx], eax
call fcn.0046da40
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 9
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046da20
mov ecx, eax
call fcn.0046cf80
cmp dword [esp + 0x20], esi
je 0x46cea4
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 0xd
call fcn.0046da60
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, esi
jne 0x46cb66
push 0x80004003
call fcn.004c7dcc
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x58]
test eax, eax
jl 0x46cec6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
cmp eax, esi
jne 0x46cb93
push 0x80004003
call fcn.004c7dcc
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [edx + 0x1c]
test eax, eax
jl 0x46cef8
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, esi
jle 0x46cdef
jmp 0x46cbc3
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x88], esi
lea ecx, [esp + 0x88]
call fcn.0046da60
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], esi
mov word [esp + 0x58], 3
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 0x11
test eax, eax
jne 0x46cc1c
push 0x80004003
call fcn.004c7dcc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x88]
mov edx, dword [eax]
push ecx
sub esp, 0x10
mov ecx, esp
push eax
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
call dword [edx + 0x28]
lea edx, [esp + 0x58]
mov byte [esp + 0x80], 0x10
test eax, eax
push edx
setl bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
jne 0x46cd93
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x46cc76
push 0x80004003
call fcn.004c7dcc
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x46cda6
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
call fcn.004c7548
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x46ccfe
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x565bec
push ecx
call esi
add esp, 8
test eax, eax
je 0x46ccd2
mov edx, dword [esp + 0x30]
push 0x565bd4
push edx
call esi
add esp, 8
test eax, eax
jne 0x46cd58
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x46ccee
push 0x80004003
call fcn.004c7dcc
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x46cdb4
jmp 0x46cd50
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x565bbc
push edx
call esi
add esp, 8
test eax, eax
je 0x46cd2a
mov eax, dword [esp + 0x30]
push 0x565ba4
push eax
call esi
add esp, 8
test eax, eax
jne 0x46cd58
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x46cd46
push 0x80004003
call fcn.004c7dcc
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x46cdc9
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 0xf
test eax, eax
je 0x46cd71
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x46cbc1
jmp 0x46cded
lea ecx, [esp + 0x88]
call fcn.0046da60
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x46cde7
lea ecx, [esp + 0x88]
call fcn.0046da60
jmp 0x46cde2
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 0xf
test eax, eax
je 0x46cde2
jmp 0x46cddc
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 0xf
test eax, eax
je 0x46cde2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0xd
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 0xc
cmp eax, esi
je 0x46ce16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 9
cmp eax, esi
je 0x46ce33
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x80], 7
cmp eax, esi
je 0x46ce64
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x46ce60
cmp edi, esi
je 0x46ce60
push 1
mov ecx, edi
call fcn.00429ee0
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 4
cmp eax, esi
je 0x46ce7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x46cf33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46cf33
lea ecx, [esp + 0x20]
call fcn.0046da60
lea ecx, [esp + 0x34]
call fcn.0040d4b0
lea ecx, [esp + 0x24]
call fcn.0046da60
lea eax, [esp + 0x48]
push eax
jmp 0x46cf28
lea ecx, [esp + 0x10]
call fcn.0046da60
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x20]
call fcn.0046da60
lea ecx, [esp + 0x34]
call fcn.0040d4b0
lea ecx, [esp + 0x24]
call fcn.0046da60
lea ecx, [esp + 0x48]
push ecx
jmp 0x46cf28
lea ecx, [esp + 0x10]
call fcn.0046da60
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x20]
call fcn.0046da60
lea ecx, [esp + 0x34]
call fcn.0040d4b0
lea ecx, [esp + 0x24]
call fcn.0046da60
lea edx, [esp + 0x48]
push edx
call ebx
lea ecx, [esp + 0x14]
call fcn.0046da60
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret