Function at 0x4525e0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57ac5c
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x290]
test eax, eax
je 0x452636
lea edi, [eax + 0x5488]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x2cc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x452684
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
push ecx
call fcn.00443770
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea ebx, [ebp + 0x2cc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00453410
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov dword [esp + 0x2b4], 0
call sub.MFC42.DLL_CString::CString_5
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b8], 1
call sub.MFC42.DLL_CString::CString_3
push str._feiqCustomFace_face.xml
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x2bc], 2
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.00572d3c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b4], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x2c]
push ecx
push edx
call edi
cmp eax, 0xffffffff
je 0x452777
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
call fcn.0057318c
fld qword [ebp + 0x454]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
jne 0x4528ac
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x454], ecx
mov dword [ebp + 0x458], edx
mov dword [ebp + 0x45c], eax
jmp 0x45284c
lea esi, [ebp + 0x254]
push str.__xml_version_1.0__encoding_gb2312____
mov ecx, esi
call fcn.004ac6f0
push 0
push 0
push str.FACESETTING
mov ecx, esi
call fcn.004afcb0
mov ecx, esi
call fcn.004ad000
push 0
push 0
push str.CUSTOMFACE
mov ecx, esi
call fcn.004afcb0
mov ecx, dword [esi + 0xc]
push str.1000
push str.version
push ecx
mov ecx, esi
call fcn.004aeb30
mov edx, dword [esi + 0xc]
push 0
push str.imagecount
push edx
mov ecx, esi
call fcn.004aeaf0
mov eax, dword [esi + 0xc]
push 1
push str.pagecount
push eax
mov ecx, esi
call fcn.004aeaf0
mov ecx, esi
call fcn.004ad040
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004ac910
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x16c]
push edx
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x45282c
lea ecx, [esp + 0x180]
push ecx
lea ecx, [ebp + 0x454]
call fcn.0057318c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebx
lea edx, [esp + 0x1c]
push str._s_feiqCustomFaceCachePage_d.bmp
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, ebp
call fcn.004528f0
mov eax, dword [ebp + 0x2c0]
xor esi, esi
test eax, eax
jle 0x4528a5
push esi
push ebx
lea eax, [esp + 0x1c]
push str._s_feiqCustomFaceCachePage_d.bmp
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00440560
add esp, 0x14
test al, al
jne 0x45289a
push esi
mov ecx, ebp
call fcn.00452290
mov eax, dword [ebp + 0x2c0]
inc esi
cmp esi, eax
jl 0x452870
mov ecx, ebp
call fcn.00450d30
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2b4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2a8
ret