Function at 0x54e410
Capabilities:
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x54e418
push ebx
push esi
push edi
mov ebx, dword [0x55a294]
xor eax, eax
push ebp
push 0x54e7e5
push dword fs:[eax]
mov dword fs:[eax], esp
nop
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.004bc9e8
mov eax, dword [ebp - 0x20]
mov edx, 0x54e800
call fcn.00411864
test eax, eax
jne 0x54e45b
mov byte [ebp - 0x11], 1
jmp 0x54e481
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.004bc9e8
mov eax, dword [ebp - 0x24]
mov edx, 0x54e818
call fcn.00411864
test eax, eax
jne 0x54e7bd
mov byte [ebp - 0x11], 0
mov eax, dword [ebx]
mov edx, 0x54e830
call fcn.004b9200
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
call fcn.0052fab0
push 0x54e83c
push 0
push 0
call fcn.0040c61c
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
je 0x54e4e9
mov eax, dword [ebx]
call fcn.004b96c8
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x54e4c9
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x54e7b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.004bc9e8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 4]
mov edx, 0x54e878
call fcn.004bba7c
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.004bc9e8
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 0x54e890
call fcn.004bba7c
mov eax, dword [ebp - 8]
call fcn.004bc280
test al, al
je 0x54e74d
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f2e40
mov eax, dword [0x55a1d8]
test byte [eax + 0x4c], 1
setne al
call fcn.004bea70
mov edx, dword [0x55a2a4]
mov edx, dword [edx + 0x274]
mov eax, dword [ebx]
call fcn.004b9200
xor eax, eax
push ebp
push 0x54e746
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0052cddc
push 2
push 0
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4f107c]
call fcn.004f1660
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x54e72c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x54e706
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004f195c
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x54e5d0
sub esi, 4
mov esi, dword [esi]
cmp esi, 4
jle 0x54e5e1
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5b
sete bl
jmp 0x54e5e3
xor ebx, ebx
test bl, bl
je 0x54e706
mov eax, dword [ebp - 0xc]
cmp word [eax + 6], 0x5d
jne 0x54e706
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00407fa0
mov eax, dword [ebp - 0xc]
cmp word [eax + 4], 0x71
je 0x54e62d
cmp byte [ebp - 0x11], 0
je 0x54e629
mov eax, dword [0x55a0ec]
cmp byte [eax], 0
je 0x54e62d
xor eax, eax
jmp 0x54e62f
mov al, 1
mov byte [ebp - 0x12], al
xor eax, eax
push ebp
push 0x54e6a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 2]
sub ax, 0x53
je 0x54e672
dec ax
je 0x54e68f
sub ax, 0x1f
je 0x54e65f
dec ax
je 0x54e685
jmp 0x54e699
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.004fa9b0
jmp 0x54e699
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
xor eax, eax
call fcn.004fa9b0
jmp 0x54e699
mov eax, dword [ebp - 0x10]
call fcn.004f8ff0
jmp 0x54e699
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.004fb110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54e706
mov eax, dword [ebp - 0x1c]
call fcn.004f1948
test al, al
je 0x54e5b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e733
mov eax, dword [ebp - 0x1c]
call fcn.00405320
ret
mov eax, dword [ebp - 8]
call fcn.00407854
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
push ebp
push 0x54e786
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0054e370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54e790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e7bd
cmp dword [ebp - 0x18], 0
je 0x54e7b5
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e7ec
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.004077c0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004077c0
ret