Function at 0x39e9fc56
Capabilities:
Delete file

Disassembly:
push 0x42c
mov eax, 0x39ebdd1c
call fcn.39eaecb8
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x414], 0
mov esi, ecx
lea ecx, [ebp - 0x40c]
call fcn.39ea6f11
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.39ea5238
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
mov byte [ebp - 4], 2
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x41c]
call fcn.39eb4742
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x40d], 1
call fcn.39e3c0a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.39e3c0a7
mov byte [ebp - 4], 5
test edi, edi
jne 0x39e9fd68
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x40d], 0
call fcn.39e9f9e8
mov bl, byte [ebp - 0x40d]
mov ecx, esi
mov byte [esi + 0xd], bl
call fcn.39e9e983
lea ecx, [esi + 0x14]
call fcn.39ea3562
mov byte [ebp - 4], 4
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.39eb4742
mov byte [ebp - 4], 3
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.39eb4742
mov byte [ebp - 4], 2
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.39ea6e57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call fcn.39ea6ee4
mov al, bl
call fcn.39eaed4a
ret 0xc
cmp byte [esi + 0x44], 0
je 0x39e9fcd9
mov ecx, esi
call fcn.39e9ebc8
push 0x39e0c024
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
mov ecx, esi
call fcn.39e9f74b
test al, al
jne 0x39e9fda7
push 0x39e0bfb0
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
jmp 0x39e9fcd9
push dword [ebp + 0xc]
mov ecx, edi
call fcn.39ea3d43
push dword [ebp + 0xc]
mov ecx, edi
call fcn.39ea4690
test al, al
jne 0x39e9fe0a
mov ecx, dword [esi + 0x40]
call fcn.39ea2127
and dword [esi + 0x40], 0
cmp dword [ebx + 0x18], 8
lea edi, [ebx + 4]
jb 0x39e9fdd8
mov eax, dword [edi]
jmp 0x39e9fdda
mov eax, edi
push 0
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
jne 0x39e9fce9
cmp dword [ebp + 0xc], 1
jne 0x39e9fce9
cmp dword [ebx + 0x18], 8
jb 0x39e9fdfe
mov edi, dword [edi]
push edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x39e9fce9
cmp dword [ebp + 0xc], 2
je 0x39e9fe1d
cmp dword [esi + 4], 3
mov byte [ebp - 0x418], 1
jne 0x39e9fe24
mov byte [ebp - 0x418], 0
push dword [ebp - 0x418]
lea eax, [ebp - 0x40c]
push eax
mov ecx, edi
call fcn.39ea42d2
test al, al
jne 0x39e9fe46
push 0x39e0bf58
jmp 0x39e9fd98
push 0x39e0bf08
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
lea ebx, [esi + 0x14]
mov ecx, ebx
call fcn.39ea3514
cmp dword [ebp + 0xc], 2
je 0x39e9fe9f
push 0x39e0bec4
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
lea eax, [ebp - 0x40c]
push eax
mov ecx, edi
call fcn.39ea4bff
test al, al
jne 0x39e9fe90
push 0x39e0be50
jmp 0x39e9fd98
push 0x39e0be00
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
mov ecx, ebx
call fcn.39ea3514
push 0x39e0bdb8
push dword [esi + 0x40]
call fcn.39eb4742
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
jne 0x39e9ff4a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x39e9fecb
lea eax, [ebp - 0x28]
xor edi, edi
push edi
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
je 0x39e9ff0c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.39ea2499
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
mov byte [ebp - 4], 5
push edi
push 1
lea ecx, [ebp - 0x438]
call fcn.39eb4742
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x39e9ff18
lea eax, [ebp - 0x28]
push eax
push 0x39e0bd70
push dword [esi + 0x40]
call fcn.39eb4742
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40c]
call fcn.39ea85b0
test al, al
jne 0x39e9fff0
push 0x39e0bd18
jmp 0x39e9fd98
cmp dword [esi + 4], 3
lea ecx, [ebp - 0x40c]
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.39ea816d
test al, al
jne 0x39e9ff72
push 0x39e0bcb8
jmp 0x39e9fd98
push 0x39e0bc68
push dword [esi + 0x40]
call fcn.39eb4742
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x39e9ff8d
lea eax, [ebp - 0x28]
push eax
push 0x39e0bc28
push dword [esi + 0x40]
call fcn.39eb4742
add esp, 0xc
cmp dword [ebp + 0xc], 1
jne 0x39e9fff0
push dword [0x39ee914c]
lea ecx, [ebp - 0x438]
call fcn.39eb4742
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x438]
push eax
mov dword [ebp - 0x414], 1
call fcn.39ea1a80
test al, al
je 0x39e9ffec
push dword [0x39ee90a0]
lea ecx, [ebp - 0x64]
call fcn.39eb4742
test eax, eax
je 0x39e9fff0
mov bl, 1
jmp 0x39e9fff2
xor bl, bl
mov dword [ebp - 4], 5
test byte [ebp - 0x414], 1
je 0x39ea0018
and dword [ebp - 0x414], 0xfffffffe
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.39eb4742
test bl, bl
je 0x39ea003e
push 0x39e0bbd0
push dword [esi + 0x40]
call fcn.39eb4742
push 0x39e0bb70
push dword [esi + 0x40]
call fcn.39eb4742
add esp, 0x10
jmp 0x39e9fce9
cmp byte [esi + 0xc], 0
je 0x39ea004e
push 0x39e0bb28
jmp 0x39e9fd98
push dword [0x39ee9148]
lea ecx, [ebp - 0x438]
call fcn.39eb4742
mov byte [ebp - 4], 8
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.39ea1a80
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.39eb4742
test bl, bl
je 0x39ea009f
push 0x39e0ba90
jmp 0x39e9fd98
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x39ea00ab
lea eax, [ebp - 0x44]
push eax
push 0x39e0ba5c
push dword [esi + 0x40]
call fcn.39eb4742
push 0x39e0ba18
push dword [esi + 0x40]
call fcn.39eb4742
add esp, 0x14
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xc4]
call fcn.39eb4742
test al, al
jne 0x39ea00e6
push 0x39e0b9b0
jmp 0x39e9fd98
push 0x39e0b960
push dword [esi + 0x40]
call fcn.39eb4742
push 0x39e0b928
push dword [esi + 0x40]
call fcn.39eb4742
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.39ea5ee3
test al, al
jne 0x39ea0120
push 0x39e0b8e8
jmp 0x39e9fd98
push 0x39e0b8a8
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.39ea6c08
push 0x39e0bb70
push dword [esi + 0x40]
call fcn.39eb4742
pop ecx
pop ecx
jmp 0x39e9fce9