Function at 0x39ea6c08
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x74
mov eax, 0x39ebf30b
call fcn.39eaecb8
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x5e], bl
je 0x39ea6cc8
push dword [0x39ee9084]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.39e567c2
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x24]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.39e56816
mov byte [ebp - 4], 1
push dword [0x39ee9084]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.39e567c2
mov byte [ebp - 4], 2
push dword [0x39ee90c0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.39e567c2
add esp, 0x30
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x39ea6c7f
mov eax, dword [eax + 4]
jmp 0x39ea6c82
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov byte [ebp - 4], 2
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp - 0x80]
call fcn.39eb4742
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.39eb4742
mov byte [esi + 0x5e], bl
jmp 0x39ea6ccb
xor edi, edi
inc edi
cmp byte [esi + 0x5d], bl
je 0x39ea6d33
push dword [0x39ee9084]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.39e567c2
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.39e56816
add esp, 0x18
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x39ea6d0a
mov eax, dword [eax + 4]
jmp 0x39ea6d0d
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.39eb4742
mov byte [esi + 0x5d], bl
cmp byte [esi + 0x5f], bl
je 0x39ea6d9d
push dword [0x39ee9084]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.39e567c2
mov dword [ebp - 4], 6
push dword [0x39ee90bc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.39e567c2
add esp, 0x18
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 8
jb 0x39ea6d74
mov eax, dword [eax + 4]
jmp 0x39ea6d77
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.39eb4742
mov byte [esi + 0x5f], bl
cmp byte [esi + 0x5c], bl
je 0x39ea6dba
cmp dword [esi + 0x20], 8
jb 0x39ea6dad
mov eax, dword [esi + 0xc]
jmp 0x39ea6db0
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov byte [esi + 0x5c], bl
cmp dword [esi + 0x54], ebx
jbe 0x39ea6e39
lea edi, [esi + 0x40]
cmp dword [edi + 0x18], 8
jb 0x39ea6dcd
mov eax, dword [edi + 4]
jmp 0x39ea6dd0
lea eax, [edi + 4]
push ebx
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
jne 0x39ea6e39
push dword [0x39ee90c0]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.39e567c2
add esp, 0xc
push 8
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
jae 0x39ea6e01
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [edi + 0x18], 8
jb 0x39ea6e13
mov eax, dword [edi + 4]
jmp 0x39ea6e16
lea eax, [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
push dword [0x39ee9094]
mov ecx, edi
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
push dword [0x39ee9094]
lea ecx, [esi + 8]
call fcn.39eb4742
call fcn.39ea6050
call fcn.39eaed4a
ret