Function at 0x101e1100
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251ee6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x1037c990]
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 [0x103b6e38], 1
jne 0x101e1165
or dword [0x103b6e38], 1
mov dword [ebp - 4], 0
mov ecx, 0x103b6e1c
call fcn.10056ab0
push 0x102a9000
call fcn.1022edce
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.101f5ff0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.101dc6d0
test al, al
jne 0x101e11b3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.101f6080
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 0x101e11e3
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.101dd850
mov dword [ebp - 4], 2
jmp 0x101e11e3
mov ecx, esi
call fcn.101dc650
shr eax, 4
not al
test al, 1
je 0x101e1231
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.101dc200
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.10004720
test edi, edi
jne 0x101e1309
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x101e1348
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.101dc200
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.10004720
test edi, edi
jne 0x101e1309
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0x91
jne 0x101e1348
cmp byte [ebp + 8], 0
je 0x101e1389
push 0xa
lea ecx, [ebp - 0x44]
call fcn.1005ec40
mov bl, 7
mov byte [ebp - 4], bl
push 0
push 0
lea edx, [ebp - 0x44]
push edx
push 0x103b6e1c
mov ecx, esi
call fcn.101ddfb0
cmp dword [ebp - 0x3c], 0
je 0x101e12d4
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x44]
call fcn.100d90c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
push ecx
push 1
lea ecx, [ebp - 0x60]
call fcn.101e1100
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x60]
call fcn.10056b10
jmp 0x101e12a3
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.101dc200
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.10004720
test edi, edi
je 0x101e132e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10091d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.101f6080
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.10091d30
mov ebx, dword [ebp + 0xc]
cmp edi, 0x20
je 0x101e1352
cmp edi, 5
jne 0x101e1380
shr ebx, 1
test bl, 1
je 0x101e1380
push 1
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.101df020
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
call fcn.101de8b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.10056b10
jmp 0x101e1309
cmp edi, 2
je 0x101e118e
push 0
push 0x4ad
push str..FilePath.cpp
push edi
call fcn.10054b00
push str.While_deleting
lea ecx, [ebp + 8]
call fcn.100044a0
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.100549c0
add esp, 0xc
mov byte [ebp - 4], 0xd
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.101d3e00
push str.While_deleting
lea ecx, [ebp + 8]
call fcn.100044a0
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.100549c0
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.100942f0
int3