Function at 0x599eb0
Capabilities:
Delete file

Disassembly:
sub esp, 8
push esi
xor esi, esi
cmp dword [0x8f2694], esi
je 0x59a111
push ebp
push edi
push 2
push esi
mov ebp, 1
push ebp
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [0x8fd318], esi
jne 0x59a0a7
mov eax, dword [0x8f2694]
push ebx
push ebp
push eax
call fcn.0057ba7c
cmp dword [0x8f2740], ebp
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x8f273c], ebp
je 0x599f21
mov edi, dword [sym.imp.USER32.dll_ShowCursor]
push ebp
call edi
test eax, eax
jl 0x599f08
mov eax, dword [0x8f2694]
push esi
push eax
push 0x20
push eax
call ebx
mov dword [0x8f2740], ebp
mov eax, dword [0x8fcbe8]
cmp eax, esi
mov edi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
je 0x599f39
push eax
call edi
mov dword [0x8fcbe8], esi
mov eax, dword [0x8fcbec]
cmp eax, esi
je 0x599f58
push eax
call edi
mov ecx, dword [0x8fd140]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x8fcbec], esi
cmp dword [0x8fccf8], esi
je 0x599f71
push 0x8fcbf4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x8fccf8], esi
mov eax, dword [0x8f26b4]
cmp eax, esi
je 0x599f87
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x8f26b4], esi
cmp dword [0x8f816c], esi
je 0x599fc5
cmp dword [0x8f8164], esi
je 0x599fb3
push esi
call fcn.0057cf26
mov edx, dword [0x8f8164]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [0x8f8164], esi
mov dword [0x8f816c], esi
mov dword [0x8f828c], esi
mov dword [0x8fc690], esi
cmp dword [0x8fc694], esi
je 0x59a00e
cmp dword [0x8f26ec], esi
je 0x59a00e
call fcn.0057bbf8
mov eax, dword [0x8fc698]
push esi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x8fc69c]
push ecx
mov dword [0x8fc698], esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x8fc69c], esi
mov dword [0x8fc694], esi
call fcn.0057d30e
cmp dword [0x8f26bc], ebp
jne 0x59a033
mov edx, dword [0x8f26c4]
mov eax, dword [0x8f2694]
push edx
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x8f2700], ebp
jmp 0x59a073
cmp dword [0x8f2704], esi
jne 0x59a050
mov ecx, dword [0x8f2694]
push esi
push esi
push 0x10
push ecx
mov dword [0x8f2704], ebp
call ebx
mov edi, edi
call fcn.0057b270
test eax, eax
jne 0x59a061
cmp dword [0x8f2708], esi
je 0x59a050
mov edx, dword [0x8f2690]
push edx
push 0x8f2f74
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.0057f44c
cmp dword [0x8f2d44], esi
pop ebx
je 0x59a0a0
push 0x8f2910
call fcn.0057b568
mov eax, dword [0x8f2d4c]
push esi
push eax
call fcn.0057d20a
add esp, 0xc
mov dword [0x8f2d4c], esi
call fcn.0057a95b
jmp 0x59a0ad
mov dword [0x8f2700], ebp
cmp dword [0x8f26a8], esi
je 0x59a0db
cmp dword [0x8f26b0], esi
jne 0x59a0ce
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
cmp dword [0x8f26b0], esi
je 0x59a0c3
mov ecx, dword [0x8f26a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov eax, dword [0x8fcd08]
cmp eax, esi
pop edi
pop ebp
je 0x59a10b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x8fcd08], esi
mov dword [0x8f2694], esi
xor eax, eax
pop esi
add esp, 8
ret