Function at 0x5cd3f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x719d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push 0x3c
push dword [edi + 4]
call ebx
push 0x3e
push dword [edi + 4]
call ebx
push dword [edi + 4]
call sub.WTSAPI32.dll_WTSUnRegisterSessionNotification
push 0
call fcn.00682580
push 1
call fcn.00682580
lea eax, [ebp - 0x18]
push eax
call fcn.005b68c0
add esp, 0xc
push str.GOM_toast.exe
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00428810
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
test esi, esi
je 0x5cd513
mov ecx, edi
call fcn.005f7e60
xor ebx, ebx
xor esi, esi
test ebx, ebx
jne 0x5cd50d
lea eax, [ebp - 0x14]
push eax
call fcn.005b68c0
add esp, 4
push str.GOM_toast.exe
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ebx, eax
call fcn.00428810
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
test ebx, ebx
jne 0x5cd507
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x5cd4a6
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
call fcn.00528570
mov eax, dword [0x7fa9c8]
test eax, eax
jne 0x5cd550
push 0x40
call fcn.00428650
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x5cd542
mov ecx, eax
call fcn.00544800
jmp 0x5cd544
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x7fa9c8], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00629bf0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 5
cmp eax, 1
je 0x5cd579
cmp eax, 2
jne 0x5cd5a8
mov eax, dword [0x7f7a5c]
cmp eax, dword [ebp - 0x28]
jge 0x5cd5a8
cmp dword [0x7f7a78], 0
jne 0x5cd5a8
push dword [ebp - 0x24]
mov ecx, 0x7f71e0
call fcn.0058bbf0
cmp al, 1
jne 0x5cd5a8
push 0
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, edi
call fcn.005e9a50
mov ecx, dword [0x7fa9c8]
test ecx, ecx
je 0x5cd5c2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x7fa9c8], 0
mov ecx, dword [0x7fa9f0]
test ecx, ecx
je 0x5cd5dc
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x7fa9f0], 0
mov ecx, 0x7f71e0
call fcn.0058d790
lea ecx, [ebp - 0xd]
call fcn.00424cb0
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 6
call fcn.0069d640
push 8
push dword [edi + 4]
call ebx
push 7
push dword [edi + 4]
call ebx
push 9
push dword [edi + 4]
call ebx
push 0xc
push dword [edi + 4]
call ebx
push 0xd
push dword [edi + 4]
call ebx
push 0xe
push dword [edi + 4]
call ebx
push 0xf
push dword [edi + 4]
call ebx
push 0x10
push dword [edi + 4]
call ebx
push 0x11
push dword [edi + 4]
call ebx
push 0x13
push dword [edi + 4]
call ebx
push 0x14
push dword [edi + 4]
call ebx
push 0x15
push dword [edi + 4]
call ebx
push 0x16
push dword [edi + 4]
call ebx
push 0x17
push dword [edi + 4]
call ebx
push 0x12
push dword [edi + 4]
call ebx
lea ecx, [edi + 0x14f8]
call fcn.00529980
push 0
mov ecx, edi
call fcn.005e1270
mov eax, dword [edi + 0xaf8]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x5cd69c
push eax
call esi
test eax, eax
je 0x5cd69c
push dword [edi + 0xaf8]
call ebx
mov eax, dword [edi + 0xb24]
test eax, eax
je 0x5cd6b5
push eax
call esi
test eax, eax
je 0x5cd6b5
push dword [edi + 0xb24]
call ebx
mov eax, dword [edi + 0xb54]
test eax, eax
je 0x5cd6ce
push eax
call esi
test eax, eax
je 0x5cd6ce
push dword [edi + 0xb54]
call ebx
mov eax, dword [edi + 0x14c4]
test eax, eax
je 0x5cd6e7
push eax
call esi
test eax, eax
je 0x5cd6e7
push dword [edi + 0x14c4]
call ebx
lea esi, [edi + 0x17c8]
push 0
push esi
call fcn.00549410
add esp, 8
test al, al
je 0x5cd725
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5cd712
mov eax, dword [esi]
push dword [eax + 4]
call ebx
mov ecx, dword [esi]
mov dword [esi], 0
test ecx, ecx
je 0x5cd725
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, edi
call fcn.005fbb90
mov ecx, edi
call fcn.005d9be0
push 0
push 0
push 1
mov ecx, edi
mov dword [edi + 0x1590], 1
call fcn.005f7a50
mov ecx, edi
call fcn.005c6210
push str.mzout_wave.dll
push 0x7f72b8
call fcn.004291f0
test al, al
je 0x5cd76b
mov ecx, edi
call fcn.005dbfa0
push 1
push dword [edi + 4]
call fcn.005b9930
add esp, 8
mov ecx, edi
call fcn.00602f40
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov ecx, edi
call fcn.006096d0
cmp dword [edi + 0x188c], 0
je 0x5cd7fd
push SysReAllocStringLen
push 0x74218c
lea eax, [ebp - 0x20]
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
push str.vst.ini
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
call fcn.00428bd0
mov ecx, dword [edi + 0x188c]
push eax
mov byte [ebp - 4], 8
call fcn.00534ab0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00428810
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00428810
mov ecx, dword [edi + 0x188c]
call fcn.0052ff10
mov eax, dword [edi + 0x146c]
test eax, eax
je 0x5cd818
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [edi + 0x146c], 0
mov eax, dword [edi + 0x15a0]
test eax, eax
je 0x5cd833
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [edi + 0x15a0], 0
mov ecx, dword [edi + 0x15a4]
test ecx, ecx
je 0x5cd84d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x15a4], 0
mov ecx, dword [edi + 0x15a8]
test ecx, ecx
je 0x5cd86c
call fcn.006a3680
mov ecx, dword [edi + 0x15a8]
test ecx, ecx
je 0x5cd86c
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x15ac]
test ecx, ecx
je 0x5cd886
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x15ac], 0
mov ecx, dword [edi + 0x15bc]
test ecx, ecx
je 0x5cd8af
call fcn.0069e350
mov esi, dword [edi + 0x15bc]
test esi, esi
je 0x5cd8af
mov ecx, esi
call fcn.0069e340
push esi
call fcn.00428680
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [0x7ff2a8]
test ecx, ecx
je 0x5cd8d1
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x7ff2a8], 0
mov esi, dword [0x7fed84]
xor eax, eax
test esi, esi
je 0x5cd901
cmp dword [esi], eax
je 0x5cd901
mov ebx, dword [sym.imp.ole32.dll_CoRevokeClassObject]
test eax, eax
jne 0x5cd90b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5cd8f5
push eax
call ebx
add esi, 0x24
cmp dword [esi], 0
jne 0x5cd8e7
test eax, eax
jne 0x5cd90b
push 0x7e8a30
call fcn.005c5b70
mov ecx, edi
call fcn.005c64f0
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 5
call fcn.00423940
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10