Function at 0x43a990
Capabilities:
Delete directory
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
mov esi, 7
lea eax, [esp + 0x50]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
call fcn.00401610
push 0x10
lea ecx, [esp + 0x48]
mov dword [esp + 0x32c], edi
call fcn.0043b600
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
push 4
mov byte [esp + 0x32c], 1
call fcn.004e7d83
add esp, 4
cmp eax, edi
je 0x43aa64
mov ebx, eax
mov dword [eax], 0xffffffff
mov dword [esp + 0x20], ebx
jmp 0x43aa6a
mov dword [esp + 0x20], edi
mov ebx, edi
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x44]
push 0x51bcd8
push eax
lea esi, [esp + 0x30]
mov byte [esp + 0x330], 2
call fcn.00407690
add esp, 8
push eax
lea ecx, [esp + 0x80]
mov esi, ebx
mov byte [esp + 0x32c], 3
call fcn.00451cf0
mov byte [esp + 0x328], 2
cmp dword [esp + 0x40], 8
mov bl, al
jb 0x43aac1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e7d7e
add esp, 4
test bl, bl
je 0x43acd5
lea esi, [esp + 0x7c]
call fcn.00453840
test al, al
jne 0x43ab4a
mov eax, dword [esp + 0x9c]
and eax, 0x10
xor ecx, ecx
lea edx, [esp + 0xa4]
or eax, ecx
push edx
lea eax, [esp + 0x48]
lea edi, [esp + 0x2c]
push eax
je 0x43ab17
call fcn.004226f0
push eax
mov byte [esp + 0x334], 4
call fcn.0043a990
add esp, 0xc
mov byte [esp + 0x328], 2
jmp 0x43ab2c
call fcn.004226f0
add esp, 8
lea edi, [esp + 0x28]
call fcn.0043a940
movzx eax, al
cdq
cmp dword [esp + 0x40], 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jb 0x43ab48
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e7d7e
add esp, 4
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43ab62
call fcn.004e7d7e
add esp, 4
lea ebx, [ebx]
xor edi, edi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
lea edx, [esp + 0xc4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
je 0x43acd9
lea edi, [esp + 0x7c]
lea ecx, [esp + 0xc4]
call fcn.00451d70
mov edx, dword [esp + 0x9c]
mov eax, edx
xor ecx, ecx
and eax, 0x10
or eax, ecx
lea esi, [ecx + 8]
je 0x43ac12
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x43ac12
cmp dword [esp + 0xbc], esi
mov eax, dword [esp + 0xa8]
jae 0x43abcb
lea eax, [esp + 0xa8]
cmp word [eax], 0x2e
jne 0x43ac12
cmp ecx, 1
je 0x43ab60
jae 0x43abeb
call fcn.004e89bf
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x9c]
cmp dword [esp + 0xbc], esi
mov eax, dword [esp + 0xa8]
jae 0x43ac02
lea eax, [esp + 0xa8]
cmp word [eax + 2], 0x2e
jne 0x43ac12
cmp ecx, 2
je 0x43ab60
and edx, 0x10
mov eax, edx
xor ecx, ecx
or eax, ecx
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x44]
push ecx
lea edi, [esp + 0x2c]
push edx
je 0x43ac68
call fcn.004226f0
push eax
mov byte [esp + 0x334], 5
call fcn.0043a990
add esp, 0xc
add dword [esp + 0x14], eax
mov byte [esp + 0x328], 2
adc dword [esp + 0x18], edx
cmp dword [esp + 0x40], esi
jb 0x43ab60
mov eax, dword [esp + 0x2c]
push eax
jmp 0x43ab52
call fcn.004226f0
mov eax, dword [esp + 0x34]
add esp, 8
cmp dword [esp + 0x40], esi
jae 0x43ac7e
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x2c]
and eax, 0xfffffffe
cmp dword [esp + 0x40], esi
jae 0x43ac96
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x40], esi
mov eax, dword [esp + 0x2c]
jae 0x43acac
lea eax, [esp + 0x2c]
push eax
call ebx
cmp eax, 1
sete al
movzx eax, al
cdq
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
cmp dword [esp + 0x40], esi
jb 0x43ab60
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x43ab52
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43acf1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x43acf1
mov dword [esi], 0xffffffff
push 0x20
lea ecx, [esp + 0x48]
call fcn.0043b600
add esp, 4
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
lea ecx, [esp + 0x60]
mov byte [esp + 0x328], 6
call fcn.00449d10
test al, al
je 0x43ad9d
push 0x20
lea ecx, [esp + 0x64]
call fcn.0043b600
mov eax, dword [esp + 0x4c]
add esp, 4
cmp dword [esp + 0x5c], 8
jae 0x43ad42
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x58]
push edx
push eax
mov eax, dword [esp + 0x7c]
push edi
lea ecx, [esp + 0x6c]
call fcn.00407940
test eax, eax
jne 0x43ad9d
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x2c]
call fcn.0043bad0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x43ad7a
mov eax, dword [eax + 4]
jmp 0x43ad7d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [esp + 0x40], esi
jb 0x43ad97
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004e7d7e
add esp, 4
mov esi, dword [esp + 0x20]
xor edi, edi
mov eax, dword [esp + 0x48]
mov ebx, 8
cmp dword [esp + 0x5c], ebx
jae 0x43adb0
lea eax, [esp + 0x48]
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
jae 0x43adc7
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x43addd
add ebx, 1
adc dword [esp + 0x18], edi
cmp dword [esp + 0x78], 8
jb 0x43adf1
mov edx, dword [esp + 0x64]
push edx
call fcn.004e7d7e
add esp, 4
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43ae1a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x43ae1a
mov dword [esi], 0xffffffff
push esi
call fcn.004e7d7e
mov esi, 8
add esp, 4
cmp dword [esp + 0xbc], esi
jb 0x43ae41
mov eax, dword [esp + 0xa8]
push eax
call fcn.004e7d7e
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
jb 0x43ae6e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004e7d7e
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, ebx
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret