Function at 0x459f96
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x4aba24
call fcn.0043cb10
sub esp, 0x254
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x14]
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x15c]
push eax
push 0
push dword [edi + 0x30]
call fcn.00479fd1
add esp, 0xc
test eax, eax
jne 0x45a353
mov eax, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x18], eax
call fcn.0049ceb4
push 3
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push dword [edi + 0x30]
call fcn.0047a03e
add esp, 0x18
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x14]
push eax
call fcn.00450939
lea eax, [ebp - 0x10]
xor esi, esi
push 4
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0045de10
push str..bmp
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a08f
push str..tga
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a08f
push str..cur
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a08f
push str..ani
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a08f
push str..ico
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a08f
push str..png
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
jne 0x45a304
push str..cur
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a0e1
push str..ani
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a0e1
push str..ico
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a0e1
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0048d147
add esp, 0xc
mov dword [ebp - 0x24], eax
jmp 0x45a1dd
lea eax, [ebp - 0x260]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0043cc00
mov ebx, eax
push 2
push esi
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x30], ebx
push dword [edi + 0x30]
call fcn.0047a03e
push 0x18
call fcn.0049ceb4
add esp, 0x20
mov dword [ebp - 0x24], eax
cmp eax, esi
mov byte [ebp - 4], 2
je 0x45a138
mov ecx, eax
call fcn.00468a61
mov esi, eax
push str..cur
mov dword [ebp - 0x24], esi
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a177
push str..ani
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
je 0x45a177
push 0x2050
push 0x10
push 0x10
push 1
push ebx
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
jmp 0x45a17e
push ebx
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x45a192
cmp eax, ebx
je 0x45a192
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x30]
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..ani
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
jne 0x45a1ba
mov dword [esi + 8], 3
jmp 0x45a1dd
push str..cur
push dword [ebp - 0x10]
call fcn.0043e260
pop ecx
test eax, eax
pop ecx
jne 0x45a1d6
mov dword [esi + 8], 2
jmp 0x45a1dd
mov dword [esi + 8], 1
cmp dword [ebp - 0x24], 0
je 0x45a337
mov eax, dword [0x4e448c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
push str.Pictures
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00450b3d
mov esi, dword [ebp - 0x14]
push 1
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00450e92
push eax
push esi
call fcn.00476017
add esp, 0xc
lea ecx, [ebp - 0x1c]
push 0xffffffffffffffff
call fcn.00450ef9
mov esi, 0x4e55a8
mov eax, esi
test eax, eax
je 0x45a23b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00454f02
mov ecx, dword [0x4eabcc]
lea eax, [ebp - 0x1c]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00476785
push 0x41c
mov ebx, eax
call fcn.0049ceb4
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x45a27d
mov ecx, eax
call fcn.00459e77
mov esi, eax
jmp 0x45a27f
xor esi, esi
lea eax, [esi + 0x214]
push str.OpenSkin
push eax
mov byte [ebp - 4], 4
call fcn.0043cbf0
push dword [ebp - 0x14]
lea eax, [esi + 0x318]
push eax
call fcn.0043cbf0
push dword [ebp - 0x14]
lea eax, [esi + 0x107]
push eax
call fcn.0043cbf0
push dword [ebp - 0x18]
call fcn.0049ceb4
push dword [ebp - 0x18]
mov dword [esi + 0x20c], eax
push dword [ebp - 0x2c]
push eax
call fcn.0043d460
mov eax, dword [ebp - 0x18]
add esp, 0x28
mov dword [esi + 0x210], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], ebx
mov dword [esi + 0x208], eax
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004508ff
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004508ff
push dword [ebp - 0x2c]
call fcn.0049cedd
inc dword [ebp - 0x20]
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp - 0x10]
call fcn.004508ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004508ff
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x20]
jmp 0x459fbd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004508ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004508ff
xor eax, eax
jmp 0x45a356
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret