Function at 0x427f60
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43fa72
push eax
mov eax, 0x547c
mov dword fs:[0], esp
call fcn.00439c20
push ebx
push ebp
push esi
mov dword [esp + 0x20], ecx
push edi
xor ebx, ebx
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5494], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x5494], 1
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x5494], 2
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov byte [esp + 0x5494], 3
call sub.MFC42u.DLL_CString::CString_4
mov ax, word [0x44ffe8]
mov ecx, 0x81
mov word [esp + 0x284], ax
xor eax, eax
lea edi, [esp + 0x286]
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x284]
mov byte [esp + 0x5494], 4
test ecx, ecx
stosw word es:[edi], ax
je 0x4280be
mov edx, str.config
mov word [esp + 0x284], bx
test edx, edx
je 0x4280be
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x148c]
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4280a7
lea eax, [esp + 0x148c]
push 0x800
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x148c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x148c]
push str.config
lea eax, [esp + 0x1490]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x148c]
push 0x104
lea edx, [esp + 0x288]
push ecx
push edx
jmp 0x4280b9
push 0x104
lea eax, [esp + 0x288]
push str.config
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x284]
push ecx
lea ecx, [esp + 0x20]
call fcn.00439862
push 0x44d834
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x42848d
test byte [esp + 0x34], 0x10
je 0x42846e
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x60]
push 0x44c334
push ecx
call esi
add esp, 8
test eax, eax
je 0x42846e
lea edx, [esp + 0x60]
push 0x44d82c
push edx
call esi
add esp, 8
test eax, eax
je 0x42846e
push str.config_
lea ecx, [esp + 0x18]
call fcn.00439862
push str.config_
lea ecx, [esp + 0x14]
call fcn.00439862
push str.config_
lea ecx, [esp + 0x1c]
call fcn.00439862
lea eax, [esp + 0x60]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
lea edx, [esp + 0x60]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42u.DLL_CString::operator_1
push 0x44b7fc
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::operator_1
push 0x44b8f8
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
lea eax, [esp + 0x60]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
push 0x44b8f0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::operator_2
push str._skin.png
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::operator_1
mov edx, dword [esp + 0x10]
cmp edx, ebx
mov esi, edx
je 0x42846e
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0xc8c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc8c]
test eax, eax
je 0x42846e
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x248c]
push edx
rep stosd dword es:[edi], eax
mov word [esp + 0xc90], bx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x428280
lea ecx, [esp + 0x248c]
push 0x800
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x248c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x248c]
push esi
lea ecx, [esp + 0x2490]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x248c]
push 0x400
lea eax, [esp + 0xc90]
push edx
push eax
jmp 0x42828e
push 0x400
lea ecx, [esp + 0xc90]
push esi
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0xc8c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x42846e
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x42846e
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x48c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48c]
test eax, eax
je 0x42846e
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x348c]
push esi
rep stosd dword es:[edi], eax
mov word [esp + 0x490], bx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x428347
lea ecx, [esp + 0x348c]
push 0x800
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x348c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x348c]
push esi
lea ecx, [esp + 0x3490]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x348c]
push 0x400
lea eax, [esp + 0x490]
push edx
push eax
jmp 0x428355
push 0x400
lea ecx, [esp + 0x490]
push esi
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x48c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x42846e
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x42846e
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x148c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x148c]
test eax, eax
je 0x42846e
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x448c]
push esi
rep stosd dword es:[edi], eax
mov word [esp + 0x1490], bx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x42840e
lea ecx, [esp + 0x448c]
push 0x800
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x448c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x448c]
push esi
lea ecx, [esp + 0x4490]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x448c]
push 0x400
lea eax, [esp + 0x1490]
push edx
push eax
jmp 0x42841c
push 0x400
lea ecx, [esp + 0x1490]
push esi
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x148c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x42846e
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x54a0], 5
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x549c], 4
call fcn.00428500
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4280f9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5494], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x5494], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x5494], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5494], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x5494], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x548c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5488
ret