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

Disassembly:
push 0xffffffffffffffff
push 0x447045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x461e50]
push ebx
push ebp
push esi
mov dword [esp + 0x94], eax
push edi
lea eax, [esp + 0x60]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call dword [sym.imp.dmcommon.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CUtil::getExePath_void_]
add esp, 4
mov dword [esp + 0xa4], edi
mov esi, dword [esp + 0xb0]
cmp esi, 1
jne 0x4213a9
push str.Theme.pth
jmp 0x4213ba
cmp esi, 2
jne 0x4213b5
push str.ThemePicture.jpg
jmp 0x4213ba
push str.Skin.pkg
lea ecx, [esp + 0x64]
call dword [0x44e6d8]
mov ecx, dword [esp + 0xb4]
push 0x44ec9e
call dword [0x44e718]
lea ecx, [esp + 0x40]
call sub.MFC71.DLL_CFileFind::CFileFind
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x42141a
lea eax, [esp + 0x64]
push edi
push eax
lea ecx, [esp + 0x48]
call sub.MFC71.DLL_CFileFind::FindFile
cmp eax, edi
je 0x4217e2
mov ebp, dword [esp + 0xac]
lea ecx, [esp + 0x40]
call sub.MFC71.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x40]
push 0x10
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], eax
call dword [edx + 0x40]
test eax, eax
jne 0x42170d
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
call sub.MFC71.DLL_CFileFind::GetFileName
mov byte [esp + 0xa4], 4
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x44]
call sub.MFC71.DLL_CFileFind::GetFilePath
mov byte [esp + 0xa4], 5
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call sub.MFC71.DLL_CFileFind::GetCreationTime
lea ecx, [esp + 0x7c]
call dword [0x44e71c]
mov byte [esp + 0xa4], 6
cmp esi, 1
jne 0x42153c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.0041d9f0
add esp, 0xc
test al, al
je 0x421524
lea edx, [esp + 0x7c]
push ebp
push edx
call dword [0x44e704]
add esp, 8
test al, al
jne 0x42171c
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x4216fb
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4216fb
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [esp + 0xa4], 7
push 1
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
mov byte [esp + 0xa4], 8
mov esi, dword [esp + 0x14]
or esi, 1
push 0x450f80
mov ecx, eax
mov dword [esp + 0x18], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4215c0
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
mov dword [esp + 0xa4], 9
or esi, 2
push 0x451688
mov ecx, eax
mov dword [esp + 0x18], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4215c0
xor bl, bl
jmp 0x4215c2
mov bl, 1
mov dword [esp + 0xa4], 8
test byte [esp + 0x14], 2
je 0x4215e9
mov eax, dword [esp + 0x14]
and eax, 0xfffffffd
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0xa4], 7
test byte [esp + 0x14], 1
je 0x421610
mov eax, dword [esp + 0x14]
and eax, 0xfffffffe
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x421654
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
mov byte [esp + 0xa4], 0xa
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x5c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42167e
push 0x2f
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
mov esi, eax
cmp esi, 0xffffffff
je 0x42174c
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
mov byte [esp + 0xa4], 0xb
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x80]
call dword [0x44e718]
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x7c]
push ebp
push eax
call dword [0x44e704]
add esp, 8
test al, al
jne 0x4217be
mov byte [esp + 0xa4], 6
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0xb0]
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x7c]
call dword [0x44e720]
cmp dword [esp + 0x2c], edi
jne 0x421434
jmp 0x4217e2
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0xb4]
push eax
call dword [0x44e718]
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x4217d0
mov edx, dword [ecx]
push 1
call dword [edx + 0x14]
jmp 0x4217d0
mov byte [esp + 0xa4], 6
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x7c]
call dword [0x44e720]
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x40]
call fcn.00443b60
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x60]
call dword [0x44e720]
mov al, 1
jmp 0x42183a
mov byte [esp + 0xa4], 6
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x7c]
call dword [0x44e720]
mov eax, dword [esp + 0xb4]
cmp dword [eax + 0x14], edi
ja 0x421770
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x40]
call fcn.00443b60
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x60]
call dword [0x44e720]
xor al, al
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8c]
pop ebx
call fcn.00443e74
add esp, 0x98
ret 0xc