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

Disassembly:
push 0xffffffffffffffff
push 0x51ec12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov eax, dword [esp + 0xb0]
xor edi, edi
push eax
mov dword [esp + 0xac], edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xa8], 1
cmp dword [ecx - 8], edi
je 0x41c5ac
mov dword [esp + 0x5c], str..aib
mov dword [esp + 0x60], str..ais
mov dword [esp + 0x64], str..doc
mov dword [esp + 0x68], str..docx
mov dword [esp + 0x6c], str..ppt
mov dword [esp + 0x70], str..pptx
mov dword [esp + 0x74], str..xls
mov dword [esp + 0x78], str..xlsx
mov dword [esp + 0x7c], str..wps
mov dword [esp + 0x80], str..psd
mov dword [esp + 0x84], 0x561870
mov dword [esp + 0x88], str..cdr
mov dword [esp + 0x8c], str..dwg
mov dword [esp + 0x90], str..max
mov dword [esp + 0x94], str..fla
lea ebp, [ebx + 0xa0]
lea esi, [esp + 0x5c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.00485950
mov ecx, dword [ebx + 0xa4]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x41c5f1
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x41c6bc
inc edi
add esi, 4
cmp edi, 0xf
jb 0x41c56b
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4
xor edi, edi
xor esi, esi
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x41c646
mov edx, dword [eax + 0x1c]
sub edx, ecx
sar edx, 2
cmp esi, edx
jae 0x41c646
mov eax, ecx
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004c73e6
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x41c636
mov edi, 1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
inc esi
jmp 0x41c5f5
test edi, edi
jne 0x41c8e8
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str..aib
push ecx
call esi
add esp, 8
test eax, eax
je 0x41c687
mov edx, dword [esp + 0x10]
push str..ais
push edx
call esi
add esp, 8
test eax, eax
je 0x41c687
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], 2
jmp 0x41c692
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x28], 1
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x24]
inc ebx
mov dword [eax + 0x24], ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0x14]
lea edx, [esp + 0xb0]
push edx
push 1
push eax
call fcn.004198b0
jmp 0x41c8e8
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0x1f]
xor ebx, ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xb0]
mov edi, 1
push ecx
push edi
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 2
mov dword [esp + 0x40], edi
call fcn.004198b0
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str..aib
push edx
call esi
add esp, 8
test eax, eax
je 0x41c733
mov eax, dword [esp + 0x10]
push str..ais
push eax
call esi
add esp, 8
mov dword [esp + 0x38], 2
test eax, eax
jne 0x41c737
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0041de30
add esp, 0xc
mov esi, eax
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 3
call fcn.004c73e6
add esi, 4
lea edx, [esp + 0x40]
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 4
mov dword [esp + 0x1c], edx
call fcn.004c73e6
lea eax, [esi + 4]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0xac], 5
call fcn.0041e120
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x54], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x58], edx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x98]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.0041ced0
lea edx, [esp + 0x40]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
cmp esi, eax
mov byte [esp + 0xa8], 8
mov edi, eax
je 0x41c7fd
push ebx
mov ecx, esi
call fcn.0041ab00
add esi, 4
cmp esi, edi
jne 0x41c7ea
mov esi, dword [esp + 0x48]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0xa8], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 3
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x60]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
cmp esi, edi
mov byte [esp + 0xa8], 0xa
je 0x41c863
push ebx
mov ecx, esi
call fcn.0041ab00
add esi, 4
cmp esi, edi
jne 0x41c850
mov esi, dword [esp + 0x68]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0xa8], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa8], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0xa8], 0xb
mov edi, eax
je 0x41c8c2
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x41c8b0
mov esi, dword [esp + 0x28]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xa8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x41c5d6