Function at 0x43e340
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov eax, 0x473640
mov ebp, esp
push edi
mov edi, 0xffffffff
push esi
push ebx
sub esp, 0xbc
mov dword [ebp - 0x8c], eax
mov eax, 0x4b5810
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
mov dword [ebp - 0x80], 0x43ea10
mov dword [ebp - 0x7c], esp
call fcn.0047f180
mov dword [ebp - 0xa0], edi
mov edx, dword [ebp + 8]
add edx, 0x24
mov dword [ebp - 0xa8], edx
mov dword [esp], edx
call fcn.004420e0
test al, al
je 0x43e810
lea eax, [ebp - 0x28]
mov esi, 0xd
mov dword [esp], eax
call fcn.00412340
mov dword [ebp - 0xa0], esi
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00442660
sub esp, 4
lea eax, [ebp - 0x48]
mov ebx, 0xc
mov dword [esp + 4], 0x43e301
mov dword [esp], eax
mov dword [ebp - 0xa0], ebx
call fcn.00456350
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov ecx, 0xb
mov dword [esp], eax
mov dword [ebp - 0xa0], ecx
mov dword [esp + 4], edx
call fcn.00450c30
lea eax, [ebp - 0x48]
mov edx, 0xc
mov dword [esp], eax
mov dword [ebp - 0xa0], edx
call fcn.00456470
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x43e625
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0xc
mov dword [esp + 4], edx
mov dword [ebp - 0xa0], eax
call fcn.0043cdb0
mov dword [esp + 4], 0x43e311
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00456350
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x68]
mov dword [esp + 8], edx
lea edx, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, 0xa
mov dword [esp], edx
mov dword [ebp - 0xa0], eax
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, 9
mov dword [esp], edx
mov dword [ebp - 0xa0], eax
call fcn.00433740
lea eax, [ebp - 0x58]
sub esp, 4
mov dword [esp], eax
mov eax, 0xa
mov dword [ebp - 0xa0], eax
call fcn.00456470
lea eax, [ebp - 0x68]
mov edi, 0xc
mov dword [esp], eax
mov dword [ebp - 0xa0], edi
call fcn.00456470
lea eax, [ebp - 0x48]
mov esi, 8
mov dword [esp], eax
mov dword [ebp - 0xa0], esi
call fcn.00457590
mov dword [esp], eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0xb0], eax
sub esp, 4
cmp eax, 0xffffffff
je 0x43e50e
test al, 0x10
je 0x43e8f8
mov dword [esp + 4], 0x43e313
lea edx, [ebp - 0x68]
mov ebx, 8
mov dword [esp], edx
mov dword [ebp - 0xa0], ebx
call fcn.00456350
lea eax, [ebp - 0x68]
mov ecx, 7
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xa0], ecx
call fcn.004579f0
lea eax, [ebp - 0x68]
mov edx, 8
mov dword [esp], eax
mov dword [ebp - 0xa0], edx
call fcn.00456470
lea edx, [ebp - 0x48]
mov dword [esp], edx
call fcn.00457590
mov dword [esp], eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0xb0], eax
sub esp, 4
cmp eax, 0xffffffff
je 0x43e588
test al, 0x10
je 0x43e872
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x68]
mov dword [esp], edx
add eax, 0x24
mov dword [esp + 4], eax
mov eax, 8
mov dword [ebp - 0xa0], eax
call fcn.00442690
mov eax, dword [ebp - 0x68]
sub esp, 4
inc dword [eax]
mov eax, dword [ebp - 0x38]
mov edx, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x43e5e5
mov dword [esp], edx
mov eax, 6
mov dword [ebp - 0xa0], eax
call fcn.00456230
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 8
mov dword [ebp - 0xa0], eax
call fcn.00456470
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xc
mov dword [ebp - 0xa0], eax
call fcn.00456470
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43e437
mov eax, dword [ebp + 8]
add eax, 0x24
mov dword [esp], eax
mov eax, 0xc
mov dword [ebp - 0xa0], eax
call fcn.004428c0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00412550
xor edi, edi
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xc
mov dword [ebp - 0xa0], eax
call fcn.004124f0
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x43e797
mov dword [esp + 4], 0x43e311
lea edx, [ebp - 0x48]
mov esi, 0xc
mov dword [esp], edx
mov dword [ebp - 0xa0], esi
call fcn.00456350
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0x48]
mov ebx, 5
mov dword [esp + 4], edx
mov dword [ebp - 0xa0], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00457c10
sub esp, 4
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x68]
mov dword [esp + 4], edx
mov ecx, 4
mov dword [esp], eax
mov dword [ebp - 0xa0], ecx
call fcn.00433740
lea eax, [ebp - 0x58]
sub esp, 4
mov dword [esp], eax
mov eax, 5
mov dword [ebp - 0xa0], eax
call fcn.00456470
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xc
mov dword [ebp - 0xa0], eax
call fcn.00456470
lea edx, [ebp - 0x68]
mov eax, 3
mov dword [esp], edx
mov dword [ebp - 0xa0], eax
call fcn.00457590
mov dword [esp], eax
call sub.KERNEL32.DLL_RemoveDirectoryA
sub esp, 4
test eax, eax
je 0x43e77c
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x43e318
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
lea edx, [ebp - 0x68]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 0xc
mov dword [ebp - 0xa0], eax
call fcn.00456470
jmp 0x43e651
mov dword [esp + 4], 0x43e31f
lea edx, [ebp - 0x68]
mov dword [esp], edx
call fcn.00456350
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, 2
mov dword [ebp - 0xa0], eax
call fcn.00450c30
lea eax, [ebp - 0x68]
mov esi, 0xc
mov dword [esp], eax
mov dword [ebp - 0xa0], esi
call fcn.00456470
lea eax, [ebp - 0x38]
mov ecx, 0xd
mov dword [esp], eax
mov dword [ebp - 0xa0], ecx
call fcn.00456470
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0xa0], eax
call fcn.004123c0
lea esi, [esi]
mov eax, 0xffffffff
lea edx, [ebp - 0x78]
mov dword [ebp - 0xa0], eax
mov dword [esp], edx
call fcn.00441f20
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x24
mov dword [esp], eax
mov eax, 1
mov dword [ebp - 0xa0], eax
call fcn.00442040
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0xa0], eax
call fcn.00442000
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.0047f230
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x43e330
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00457590
and dword [ebp - 0xb0], 0xfffffffe
mov dword [esp], eax
mov edx, dword [ebp - 0xb0]
mov dword [esp + 4], edx
call sub.KERNEL32.DLL_SetFileAttributesA
sub esp, 8
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00457590
mov dword [esp], eax
call sub.KERNEL32.DLL_DeleteFileA
sub esp, 4
jmp 0x43e588
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x43e330
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00457590
and dword [ebp - 0xb0], 0xfffffffe
mov dword [esp], eax
mov edx, dword [ebp - 0xb0]
mov dword [esp + 4], edx
call sub.KERNEL32.DLL_SetFileAttributesA
sub esp, 8
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00457590
mov dword [esp], eax
call sub.KERNEL32.DLL_DeleteFileA
sub esp, 4
jmp 0x43e50e