Function at 0x5e67a0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x74f415
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
cmp eax, 1
jne 0x5e67f0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x5e69e4
mov dword [esi], 0
call fcn.005e0840
mov dword [esi + 4], eax
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp eax, 3
je 0x5e68ea
cmp eax, 0xb
je 0x5e68ea
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00486a30
movups xmm0, xmmword [str.boost::filesystem::remove]
mov dword [ebp - 0x1c], 0x19
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x7a8b08]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x7a8b10]
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x5e686e
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete byte [ebp + 0xf]
test eax, eax
je 0x5e6896
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x5e68b3
mov dword [esi], 0
call fcn.005e0840
mov dword [esi + 4], eax
jmp 0x5e68b3
mov edi, dword [ebp + 0x10]
call fcn.005e0840
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x5e6a08
mov dword [edi], eax
mov dword [edi + 4], esi
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x5e69de
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e69d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e6a34
jmp 0x5e69d4
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push 0x20
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00486a30
movups xmm0, xmmword [str.boost::filesystem::remove]
mov dword [ebp - 0x34], 0x19
mov dword [ebp - 0x30], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x7a8b08]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x7a8b10]
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x5e6956
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
sete byte [ebp + 0xf]
test eax, eax
je 0x5e697e
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x5e69ae
mov dword [esi], 0
call fcn.005e0840
mov dword [esi + 4], eax
jmp 0x5e69ae
mov edi, dword [ebp + 0x10]
call fcn.005e0840
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x5e69a9
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004e94f0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x44]
push dword [ebp + 8]
jmp 0x5e6a1d
mov dword [edi], eax
mov dword [edi + 4], esi
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x5e69de
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e69d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e6a39
push edx
push ecx
call fcn.00516d60
add esp, 8
cmp byte [ebp + 0xf], 0
je 0x5e69f6
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004e94f0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
call fcn.005e45d0
push 0x840464
lea eax, [ebp - 0x78]
push eax
call fcn.00704803
call fcn.0070f5b4
call fcn.0070f5b4
int3