Function at 0x450660
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5836f8
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x6c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
shl esi, 4
add esi, eax
push edi
js 0x45096a
cmp esi, 0x60
jge 0x45096a
mov eax, dword [0x5f9f88]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], ebx
lea edi, [esi + 1]
lea ebp, [ecx + 0x2b4]
push edi
push ebp
lea eax, [esp + 0x1c]
push str._s_feiqCustomFace_d.gif
push eax
mov byte [esp + 0x7c], 1
call fcn.00563eb4
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ebp
push str._s_feiqCustomFace_d.bmp
push ecx
call fcn.00563eb4
mov edx, dword [esp + 0x24]
push edx
call fcn.0043ea50
add esp, 0x14
test al, al
jne 0x4507ca
call fcn.00578d59
mov eax, dword [eax + 4]
add esi, 0x1c3
and esi, 0xffff
push 0x5ebe90
mov eax, dword [eax + 0x68]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x45094c
call fcn.00578d59
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
call fcn.00578d59
mov eax, dword [eax + 4]
push esi
mov edx, dword [eax + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x45094c
lea ecx, [esp + 0x24]
call fcn.0056c8a0
mov eax, dword [esp + 0x14]
push ebx
push 0x9002
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.0056c9b2
test eax, eax
je 0x450786
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
jne 0x450799
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
call fcn.0056c8f5
jmp 0x45094c
mov edx, dword [esp + 0x24]
push ebx
push ebx
lea ecx, [esp + 0x2c]
call dword [edx + 0x28]
mov eax, dword [esp + 0x24]
push edi
push esi
lea ecx, [esp + 0x2c]
call dword [eax + 0x38]
lea ecx, [esp + 0x24]
call fcn.0056cbcd
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
call fcn.0056c8f5
lea ecx, [esp + 0x44]
call fcn.004cdb40
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x6c], 3
push ecx
lea ecx, [esp + 0x48]
call fcn.004cdbd0
sub esp, 0x10
xor eax, eax
mov edi, esp
xor ecx, ecx
mov edx, 0x14
push ecx
mov dword [edi], eax
mov esi, edx
mov dword [esp + 0x2c], esp
mov dword [edi + 4], ecx
mov ecx, esp
mov dword [edi + 8], edx
lea edx, [esp + 0x24]
push edx
mov dword [edi + 0xc], esi
call fcn.00568481
lea ecx, [esp + 0x58]
call fcn.004cdf50
call fcn.00578d59
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 8]
push 0x2010
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
lea ecx, [esp + 0x44]
mov esi, eax
mov byte [esp + 0x6c], 1
call fcn.004cdb60
cmp esi, ebx
je 0x45094c
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x597d4c
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 4
call fcn.0056fb13
lea ecx, [esp + 0x34]
call fcn.0056eed4
mov edi, dword [esp + 0x74]
mov byte [esp + 0x6c], 5
cmp edi, ebx
jne 0x450884
xor eax, eax
jmp 0x450887
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x38]
call fcn.0056ef8b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, ecx
push eax
push edx
call fcn.0056f0cc
mov ebp, dword [esp + 0x38]
mov esi, eax
lea eax, [esp + 0x34]
push 0xcc0020
neg eax
sbb eax, eax
push ebx
and eax, ebp
push ebx
push eax
mov eax, dword [esp + 0x88]
push 0x14
push 0x14
lea eax, [eax + eax*4]
mov edx, dword [edi + 4]
lea eax, [eax + eax*4 + 2]
push eax
mov eax, dword [esp + 0x98]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4 + 2]
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, ebx
jne 0x4508fd
xor esi, esi
jmp 0x450900
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x38]
push esi
push eax
call fcn.0056f0cc
lea ecx, [esp + 0x1c]
call fcn.0056fb40
lea ecx, [esp + 0x34]
call fcn.0056eff3
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 4
call fcn.0056f009
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 6
call fcn.0056fb6a
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], bl
call fcn.0056870c
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0xc