Function at 0x4947f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e9326
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0xa4]
push ebp
call fcn.00494350
push eax
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
mov ecx, ebx
mov esi, eax
call fcn.00494b30
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov byte [esp + 0x9c], 1
lea edx, [esp + 0x2c]
xor ecx, ecx
call fcn.004868d0
test al, al
je 0x494a89
cmp dword [esp + 0x3c], 0
je 0x494a89
mov edx, 0x4ffe8c
lea ecx, [esp + 0x2c]
call fcn.00495580
cmp dword [esp + 0x3c], 0
je 0x4948e3
push 0x5c
push 1
lea ecx, [esp + 0x34]
call fcn.00495ac0
push 0xe
push 0x4ffdb4
lea ecx, [esp + 0x34]
call fcn.004794f0
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
mov esi, dword [esp + 0x10]
cmovae eax, dword [esp + 0x2c]
push eax
push esi
call fcn.00494480
lea edx, [esp + 0x44]
xor ecx, ecx
call fcn.004868d0
test al, al
je 0x494a8d
cmp dword [esp + 0x54], 0
je 0x494a8d
mov edx, 0x4ffe8c
lea ecx, [esp + 0x44]
call fcn.00495580
cmp dword [esp + 0x54], 0
je 0x49494c
push 0x5c
push 1
lea ecx, [esp + 0x4c]
call fcn.00495ac0
push 0x4ffd94
lea ecx, [esp + 0x48]
call fcn.004794b0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0x9c], 4
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0x9c], 5
lea edx, [esp + 0x2c]
push 0
lea ecx, [esp + 0x18]
call fcn.00497e80
add esp, 4
mov byte [esp + 0x9c], 6
lea ecx, [esp + 0x5c]
push eax
call fcn.00492050
mov byte [esp + 0x9c], 5
lea ecx, [esp + 0x14]
call fcn.004029c0
push 0
lea edx, [esp + 0x48]
lea ecx, [esp + 0x18]
call fcn.00497e80
add esp, 4
mov byte [esp + 0x9c], 7
lea ecx, [esp + 0x74]
push eax
call fcn.00492050
mov byte [esp + 0x9c], 5
lea ecx, [esp + 0x14]
call fcn.004029c0
cmp dword [esp + 0x88], 0x10
lea ecx, [esp + 0x74]
lea eax, [esp + 0x5c]
cmovae ecx, dword [esp + 0x74]
cmp dword [esp + 0x70], 0x10
push ecx
cmovae eax, dword [esp + 0x60]
push eax
call fcn.00494720
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x9c], 4
lea ecx, [esp + 0x74]
call fcn.004029c0
mov byte [esp + 0x9c], 1
lea ecx, [esp + 0x5c]
call fcn.004029c0
jmp 0x494a8d
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x9c], 0
cmp dword [esp + 0x58], 8
jb 0x494aaf
push dword [esp + 0x44]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x494ae4
push dword [esp + 0x2c]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x90
ret 4