Function at 0x100775e0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b26c6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
test byte [0x10103c60], 1
jne 0x10077645
or dword [0x10103c60], 1
mov dword [ebp - 4], 0
mov ecx, 0x10103c44
call fcn.10025750
push 0x100c4030
call fcn.1008e186
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 0xc]
mov al, bl
and al, 1
movzx ecx, al
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10079c70
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.10076640
test al, al
jne 0x10077693
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10079d00
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, ebx
shr edx, 1
test dl, 1
je 0x100776c3
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.10076cd0
mov dword [ebp - 4], 2
jmp 0x100776c3
mov ecx, esi
call fcn.100765c0
shr eax, 4
not al
test al, 1
je 0x10077711
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.100763f0
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.10001df0
test edi, edi
jne 0x100777e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x10077828
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.100763f0
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10001df0
test edi, edi
jne 0x100777e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0x91
jne 0x10077828
cmp byte [ebp + 8], 0
je 0x10077869
push 0xa
lea ecx, [ebp - 0x44]
call fcn.10019d70
mov bl, 7
mov byte [ebp - 4], bl
push 0
push 0
lea edx, [ebp - 0x44]
push edx
push 0x10103c44
mov ecx, esi
call fcn.10076d10
cmp dword [ebp - 0x3c], 0
je 0x100777b4
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x44]
call fcn.10076520
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
push ecx
push 1
lea ecx, [ebp - 0x60]
call fcn.100775e0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x60]
call fcn.10025580
jmp 0x10077783
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.100763f0
mov byte [ebp - 4], 9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.10001df0
test edi, edi
je 0x1007780e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.1001de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10079d00
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.1001de10
mov ebx, dword [ebp + 0xc]
cmp edi, 0x20
je 0x10077832
cmp edi, 5
jne 0x10077860
shr ebx, 1
test bl, 1
je 0x10077860
push 1
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.10077180
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
call fcn.10076fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.10025580
jmp 0x100777e9
cmp edi, 2
je 0x1007766e
push 0
push 0x4ad
push str..FilePath.cpp
push edi
call fcn.100614f0
push str.While_deleting
lea ecx, [ebp + 8]
call fcn.10001a70
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
push ecx
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.1001f480
add esp, 0xc
mov byte [ebp - 4], 0xd
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001f2f0
push str.While_deleting
lea ecx, [ebp + 8]
call fcn.10001a70
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
push ecx
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.1001f480
add esp, 0xc
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
push eax
push 0x4b5
push str..FilePath.cpp
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10066f90
int3