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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2a48
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x664]
cmp eax, edi
jle 0x4194c6
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x65c]
call sub.MFC42.DLL_CStringArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x670]
call sub.MFC42.DLL_CStringArray::SetSize
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esi + 0x524]
push edi
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], edi
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x419511
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], 0xffffffff
call fcn.004551fe
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::Close
push edi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4d6ed8
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00419900
mov ecx, eax
mov byte [esp + 0x7c], 1
call fcn.004198f0
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x20]
mov ebx, eax
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebp
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 5
call sub.MFC42.DLL_CException::CException
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 6
call sub.MFC42.DLL_CString::CString_5
push edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 7
mov dword [esp + 0x44], 0x4bf5bc
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::operator_1
cmp ebx, edi
mov byte [esp + 0x78], 8
je 0x419758
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x54]
push 0x10
lea ecx, [esp + 0x58]
mov ebx, eax
call dword [edx + 0x40]
cmp eax, edi
je 0x41974c
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41974c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], edi
je 0x41974c
push edi
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00419900
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push str.NewSettings.ini
lea edx, [esp + 0x28]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push 1
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x41974c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push edi
push str.ThemeName
push str.Theme
push eax
mov ecx, esi
call fcn.004140b0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 8], edi
je 0x41974c
mov eax, dword [esi + 0x664]
lea ecx, [esi + 0x65c]
lea edx, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 0x678]
lea ecx, [esi + 0x670]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
inc ebp
cmp ebx, edi
jne 0x4195e4
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esi + 0x664]
cmp eax, edi
mov dword [esp + 0x24], eax
jle 0x4197f7
lea ebp, [esi + 0x65c]
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, ebp
call fcn.00404700
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
mov byte [esp + 0x78], 0xd
mov eax, dword [ecx - 8]
lea ecx, [esi + 0x51c]
push eax
push edx
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4197df
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x419779
jmp 0x4197f3
lea ecx, [esp + 0x18]
mov dword [esi + 0x684], edi
mov byte [esp + 0x78], 8
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], 0x4bf5bc
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0x4bd4f0
mov byte [esp + 0x78], 4
call fcn.004551bc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], 0xffffffff
call fcn.004551fe
mov ecx, dword [esp + 0x70]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret