Function at 0x13a5c963
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 1
mov eax, dword [0x13a6e004]
mov ebx, 0x13a6e004
cmp eax, ebx
je 0x13a5c9ae
test dword [eax + 0x1c], 0x200
je 0x13a5c9ae
cmp byte [eax + 0x19], 4
jb 0x13a5c9ae
push 0x13a01620
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58cc1
mov eax, dword [0x13a6e004]
mov esi, dword [ebp + 0x1c]
test esi, esi
jne 0x13a5c9e9
cmp eax, ebx
je 0x13a5c9e1
test dword [eax + 0x1c], 0x200
je 0x13a5c9e1
cmp byte [eax + 0x19], 2
jb 0x13a5c9e1
push 0x57
push 0x13a01910
push 0x13a01620
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
push 0x57
pop eax
jmp 0x13a5cbc5
and dword [esi], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.13a5b49b
mov dword [ebp + 0x1c], eax
test eax, eax
je 0x13a5ca0f
cmp eax, 0x2d02
jne 0x13a5ca4b
and dword [ebp - 8], 0
push esi
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.13a5c176
xor ecx, ecx
mov dword [ebp + 0x1c], eax
cmp eax, ecx
je 0x13a5cab2
cmp eax, 0x2d03
jne 0x13a5ca7f
mov dword [ebp + 0x1c], ecx
cmp dword [ebp - 8], ecx
jne 0x13a5cab2
mov dword [ebp + 0x1c], 0x2d04
jmp 0x13a5cafd
mov eax, dword [0x13a6e004]
cmp eax, ebx
je 0x13a5cafd
test dword [eax + 0x1c], 0x200
je 0x13a5cafd
cmp byte [eax + 0x19], 2
jb 0x13a5cafd
push 0
push 0x13a018e4
push 0x13a01620
push 0x35
jmp 0x13a5caa5
mov eax, dword [0x13a6e004]
cmp eax, ebx
je 0x13a5cafd
test dword [eax + 0x1c], 0x200
je 0x13a5cafd
cmp byte [eax + 0x19], 2
jb 0x13a5cafd
push 0
push 0x13a018bc
push 0x13a01620
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
jmp 0x13a5cafd
mov eax, dword [esi]
cmp eax, ecx
jne 0x13a5cadc
cmp dword [ebp - 4], ecx
je 0x13a5cbc2
push dword [ebp - 4]
call fcn.13a6240e
mov dword [esi], eax
test eax, eax
jne 0x13a5cbc2
mov dword [ebp + 0x1c], 0x2cfd
jmp 0x13a5cafd
mov edi, dword [ebp - 4]
cmp edi, ecx
je 0x13a5cbc2
push edi
push eax
call fcn.13a6725c
test eax, eax
jne 0x13a5cb87
mov dword [ebp + 0x1c], 0x2cfb
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x13a5cb44
push dword [ebp - 4]
call edi
test eax, eax
jne 0x13a5cb3c
mov eax, dword [0x13a6e004]
cmp eax, ebx
je 0x13a5cb3c
test dword [eax + 0x1c], 0x200
je 0x13a5cb3c
cmp byte [eax + 0x19], 5
jb 0x13a5cb3c
push 0x13a01620
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58cc1
push dword [ebp - 4]
call fcn.13a639b4
mov eax, dword [esi]
test eax, eax
je 0x13a5cbc2
push eax
call edi
test eax, eax
jne 0x13a5cb7b
mov eax, dword [0x13a6e004]
cmp eax, ebx
je 0x13a5cb7b
test dword [eax + 0x1c], 0x200
je 0x13a5cb7b
cmp byte [eax + 0x19], 5
jb 0x13a5cb7b
push 0x13a01620
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58cc1
push dword [esi]
call fcn.13a639b4
and dword [esi], 0
jmp 0x13a5cbc2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x13a5cbbc
mov eax, dword [0x13a6e004]
cmp eax, ebx
je 0x13a5cbbc
test dword [eax + 0x1c], 0x200
je 0x13a5cbbc
cmp byte [eax + 0x19], 5
jb 0x13a5cbbc
push 0x13a01620
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58cc1
push edi
call fcn.13a639b4
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x18