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

Disassembly:
push 0xffffffffffffffff
push 0x571013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x94], 2
mov dword [esp + 0x34], 0x5d2a60
call dword [eax + 4]
mov eax, dword [0x5cb0cc]
mov bl, 3
cmp eax, edi
mov byte [esp + 0x94], bl
jne 0x535f0c
cmp dword [0x5cb0c8], edi
jne 0x535f0c
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x94], 4
je 0x535ede
mov ecx, eax
call fcn.0045e9d0
jmp 0x535ee0
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [esp + 0x94], bl
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x94], 2
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x535fe1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x535fe1
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov edx, dword [eax]
push ecx
push 0x5b7820
push eax
call dword [edx]
cmp esi, edi
je 0x535f68
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
mov bl, 5
push edx
mov ecx, dword [eax]
push eax
mov byte [esp + 0x9c], bl
call dword [ecx + 0x34]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
mov byte [esp + 0x94], 2
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x9c]
push edi
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x24]
mov eax, 1
push str.Skin.zip
push ecx
mov dword [esp + 0x68], 0xffff0003
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x6c], 0x27
call fcn.0044c570
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 7
xor esi, esi
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [esp + 0x20]
push edi
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, edi
je 0x536266
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
push 0x10
lea ecx, [esp + 0x44]
call dword [eax + 0x40]
cmp eax, edi
jne 0x53625b
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x53625b
mov edx, dword [esp + 0x40]
push 2
lea ecx, [esp + 0x44]
call dword [edx + 0x40]
cmp eax, edi
jne 0x53625b
lea eax, [esp + 0x10]
inc esi
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], esi
call sub.MFC42.DLL_CFileFind::GetFileName
lea ecx, [esp + 0x28]
push 4
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 9
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x5bafa4
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x536246
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 9
call sub.MFC42.DLL_CString::CString
push 0x208
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], eax
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, edi
mov byte [esp + 0x98], 0xb
je 0x5361ba
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 4]
mov byte [esp + 0x98], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [esp + 0x98], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x98], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x98], 0xf
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], vtable.CBitmap.0
mov edi, esi
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x9c], 9
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
mov ebx, dword [esp + 0x20]
push eax
push edi
mov ecx, ebx
mov byte [esp + 0xa0], 0x10
call fcn.005364a0
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x98], 9
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x5c]
neg esi
sbb esi, esi
push ecx
push 0
and esi, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1100
push edx
mov dword [esp + 0x98], esi
call edi
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x536244
mov edx, ebx
push esi
push 9
push 0x110b
mov eax, dword [edx + 0x20]
push eax
call edi
xor edi, edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 8
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x38], edi
jne 0x53605b
pop ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 7
call fcn.0054fcca
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov byte [esp + 0x94], 0
cmp eax, edi
je 0x5362af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], 0xffffffff
cmp eax, edi
je 0x5362c8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 4