Function at 0x1007d290
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c37e8
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x102832a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x434], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.100f6b46
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
call fcn.10007250
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x420]
call fcn.10006220
mov byte [ebp - 4], 4
push 0x1020398c
push eax
call fcn.100064f0
add esp, 8
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.100072b0
test bl, bl
je 0x1007d349
push 0x1020398c
lea ecx, [ebp - 0x420]
call fcn.100060e0
push 0x10203990
lea ecx, [ebp - 0x420]
call fcn.100060e0
push 0
mov edx, dword [ebp - 0x420]
push edx
lea ecx, [ebp - 0x454]
call fcn.100f6c00
mov esi, eax
mov dword [ebp - 0x438], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1007d380
lea ecx, [ebp - 0x454]
test esi, esi
je 0x1007d4b0
call fcn.100f6802
mov esi, eax
mov dword [ebp - 0x438], esi
lea ecx, [ebp - 0x454]
call fcn.100f6ae1
test eax, eax
jne 0x1007d380
push 0x10
lea ecx, [ebp - 0x454]
mov eax, dword [ebp - 0x454]
mov edx, dword [eax + 0x38]
call edx
lea ecx, [ebp - 0x454]
test eax, eax
je 0x1007d41f
lea eax, [ebp - 0x428]
push eax
call fcn.100f6dae
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x420]
call fcn.10007070
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.100072b0
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
lea edx, [ebp - 0x420]
push edx
call fcn.10007250
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x434]
call fcn.1007d290
jmp 0x1007d380
lea eax, [ebp - 0x42c]
push eax
call fcn.100f6dae
mov byte [ebp - 4], 7
mov eax, dword [eax]
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.100072b0
test bl, 1
je 0x1007d47d
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x454]
call fcn.100f6dae
mov byte [ebp - 4], 8
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x43c]
call fcn.100072b0
lea edx, [ebp - 0x430]
push edx
lea ecx, [ebp - 0x454]
call fcn.100f6dae
mov byte [ebp - 4], 9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x430]
call fcn.100072b0
jmp 0x1007d380
call fcn.100f671c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1007d4c9
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
call fcn.100072b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.100f6b6c
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007d514
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1010583a
mov esp, ebp
pop ebp
ret 4