Function at 0x53e940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406f78
xor eax, eax
push ebp
push 0x53eb6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x53e998
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53e998
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406368
test eax, eax
je 0x53e9a1
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x21
je 0x53e9aa
mov al, 1
jmp 0x53e9cf
mov eax, dword [ebp - 4]
test eax, eax
je 0x53e9c7
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53e9c7
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406368
cmp word [eax + 0x3c], 0x54
setne al
test al, al
jne 0x53eb2f
lea eax, [ebp - 0x1c]
push eax
mov ecx, 2
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004076e0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 0x53eb8c
call fcn.00407474
or edx, 0xffffffff
mov eax, dword [ebp - 8]
call fcn.00411ad4
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.005192b4
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 4]
test eax, eax
je 0x53ea39
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53ea39
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406368
test eax, eax
je 0x53ea42
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x21
jne 0x53ea60
call fcn.00414b44
fsub qword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x20]
fcompp
wait
fnstsw ax
sahf
setb al
jmp 0x53ea62
xor eax, eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x53eb2f
mov edx, dword [0x55ffd0]
mov edx, dword [edx + 0x86c]
mov eax, dword [0x55ffd0]
mov eax, dword [eax + 0x868]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.005481e0
lea eax, [ebp - 0x24]
call fcn.00537a24
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.0040701c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x40]
mov eax, 0x53eb9c
call fcn.005184a0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x44]
mov eax, 0x53ebb8
call fcn.005184a0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x48]
mov eax, 0x53ebf0
call fcn.005184a0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, 0x53ec1c
call fcn.00412f68
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 0x53eccc
call fcn.00534ae8
mov edx, dword [ebp - 0x4c]
mov ecx, 0x40
mov eax, dword [ebp - 8]
call fcn.0051aa8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53eb76
lea eax, [ebp - 0x4c]
call fcn.00406f80
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004061a0
lea eax, [ebp - 0x24]
call fcn.00406f80
lea eax, [ebp - 0x1c]
call fcn.00406f80
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f88
ret