Function at 0x428500
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43fba4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x864
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x87c], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], eax
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x87c], 2
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x884]
mov byte [esp + 0x87c], 3
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_2
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x428b43
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x74]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x78]
push eax
push edx
push 0
call fcn.00407680
add esp, 0x10
test eax, eax
je 0x428b43
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428b43
mov edi, dword [ebp + 0xd4]
lea edx, [esp + 0x884]
lea esi, [ebp + 0xd0]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0040b0a0
cmp dword [esp + 0x10], edi
jne 0x428b43
push ecx
lea edx, [esp + 0x88c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
mov ecx, 0x44fec0
call fcn.00405320
test eax, eax
je 0x428b43
push 0x5c
lea ecx, [esp + 0x88c]
call sub.MFC42u.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x890]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x88c]
mov byte [esp + 0x880], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x87c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x884]
push eax
mov bl, 5
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x884], bl
call fcn.00429de0
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x884], 6
call fcn.00429c40
mov esi, dword [eax]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x87c], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x87c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x87c], 3
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x888]
lea ecx, [esi + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_2
mov ecx, dword [esp + 0x884]
mov edx, dword [ebp + 0x80]
push ecx
push 0
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x44b7fc
lea ecx, [esp + 0x88c]
call sub.MFC42u.DLL_CString::operator_1
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x87c], 8
je 0x428728
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.004059d0
mov edi, eax
jmp 0x42872a
xor edi, edi
test edi, edi
mov byte [esp + 0x87c], 3
mov dword [esp + 0x20], edi
jne 0x428744
push 0x8007000e
call fcn.0043bfa0
mov esi, dword [esp + 0x888]
mov bl, 9
push 0xc
mov byte [esp + 0x880], bl
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x87c], 0xa
je 0x428778
push esi
mov ecx, eax
call fcn.004059d0
jmp 0x42877a
xor eax, eax
test eax, eax
mov byte [esp + 0x87c], bl
mov dword [esp + 0x14], eax
jne 0x428793
push 0x8007000e
call fcn.0043bfa0
mov byte [esp + 0x87c], 0xb
call sub.MFC42u.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
call fcn.00405960
mov eax, dword [esp + 0x14]
mov byte [esp + 0x87c], 0xe
cmp eax, ebx
mov dword [esp + 0x40], 0x441b38
je 0x428882
mov eax, dword [eax]
cmp eax, ebx
je 0x428882
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x428882
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4287fb
mov eax, dword [eax]
jmp 0x4287fd
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x428819
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.004065b0
jmp 0x428882
lea ecx, [esp + 0x74]
push 0x400
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x428841
mov eax, dword [eax]
jmp 0x428843
xor eax, eax
push eax
lea eax, [esp + 0x78]
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x74]
lea ecx, [esp + 0x10]
push edx
call fcn.004058c0
lea eax, [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x884], 0xf
call fcn.004065b0
lea ecx, [esp + 0x10]
call fcn.00405980
lea ecx, [esp + 0x14]
call fcn.00405980
mov bl, 0x11
test edi, edi
mov byte [esp + 0x87c], bl
je 0x42889f
mov ecx, edi
call fcn.00405a10
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x87c], 0x13
je 0x4288c7
push str.MiniUI.ConfigDefault
mov ecx, eax
call fcn.004059d0
jmp 0x4288c9
xor eax, eax
test eax, eax
mov byte [esp + 0x87c], bl
mov dword [esp + 0x10], eax
jne 0x4288e2
push 0x8007000e
call fcn.0043bfa0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x884], 0x14
call fcn.00407460
mov bl, 0x16
lea ecx, [esp + 0x10]
mov byte [esp + 0x87c], bl
call fcn.00405980
push 0
lea ecx, [esp + 0x34]
call fcn.00406070
test al, al
jne 0x428a51
push 0
lea ecx, [esp + 0x30]
call fcn.00406070
test al, al
jne 0x428a51
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x87c], 0x17
je 0x42895d
push str.SkinName
mov ecx, eax
call fcn.004059d0
jmp 0x42895f
xor eax, eax
test eax, eax
mov byte [esp + 0x87c], bl
mov dword [esp + 0x14], eax
jne 0x42897c
push 0x8007000e
call fcn.0043bfa0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x428a41
mov eax, dword [eax]
test eax, eax
je 0x428a41
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x428a41
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x884], 0x19
call fcn.00405e70
test eax, eax
jne 0x4289ea
push eax
lea ecx, [esp + 0x1c]
call fcn.00439862
lea eax, [esp + 0x64]
mov byte [esp + 0x87c], 0x18
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x428a41
jmp 0x428a3b
cmp word [esp + 0x64], 8
je 0x428a16
push 0
lea ecx, [esp + 0x1c]
call fcn.00439862
lea ecx, [esp + 0x64]
mov byte [esp + 0x87c], 0x18
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x428a41
jmp 0x428a3b
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push edx
call fcn.00439862
lea eax, [esp + 0x64]
mov byte [esp + 0x87c], 0x18
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x428a41
push eax
call fcn.0043bfa0
lea ecx, [esp + 0x14]
mov byte [esp + 0x87c], bl
call fcn.00405980
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x88c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x888], 0x1a
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp + 0x60]
mov byte [esp + 0x884], bl
call fcn.00427310
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x80]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x18b
push eax
call esi
mov edi, dword [esp + 0x58]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x60]
sub ecx, edi
lea eax, [edx + edx + 2]
cmp ecx, eax
jge 0x428afa
mov edx, dword [ebp + 0x80]
push 0
push 0
push 0x18b
push edx
call esi
lea ecx, [eax + eax*2]
push 2
lea edx, [eax + ecx*4]
mov ecx, ebp
lea eax, [edx + edx + 2]
push eax
push 0x7a
push 0
push 0
push 0
call sub.MFC42u.DLL_CWnd::SetWindowPos
mov dword [esp + 0x28], 0x441b3c
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x880], 0x1c
call fcn.00405840
push 0
lea ecx, [esp + 0x30]
call fcn.00405840
lea ecx, [esp + 0x30]
call fcn.00405830
lea ecx, [esp + 0x2c]
call fcn.00405830
lea ecx, [esp + 0x40]
mov byte [esp + 0x87c], 3
call fcn.00406500
lea ecx, [esp + 0x18]
mov byte [esp + 0x87c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x87c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x884]
mov byte [esp + 0x87c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x888]
mov dword [esp + 0x87c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x874]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x870
ret 8