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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2be8
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 + 0x668]
cmp eax, edi
jle 0x419536
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x660]
call sub.MFC42.DLL_CStringArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x674]
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 0x419581
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], 0xffffffff
call fcn.004552be
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.00419970
mov ecx, eax
mov byte [esp + 0x7c], 1
call fcn.00419960
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 0x4197c8
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 0x4197bc
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4197bc
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 0x4197bc
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.00419970
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 0x4197bc
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.00414100
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 0x4197bc
mov eax, dword [esi + 0x668]
lea ecx, [esi + 0x660]
lea edx, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov eax, dword [esi + 0x67c]
lea ecx, [esi + 0x674]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
inc ebp
cmp ebx, edi
jne 0x419654
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esi + 0x668]
cmp eax, edi
mov dword [esp + 0x24], eax
jle 0x419867
lea ebp, [esi + 0x660]
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, ebp
call fcn.00404680
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 0x41984f
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 0x4197e9
jmp 0x419863
lea ecx, [esp + 0x18]
mov dword [esi + 0x688], 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], 0x4bd4f4
mov byte [esp + 0x78], 4
call fcn.0045527c
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.004552be
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