Function at 0x43b5e0
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x10], 0
push 0x4c45f9
lea ecx, [ebp - 8]
call fcn.0040bb60
push 0x4c45fa
lea ecx, [ebp - 0xc]
call fcn.0040bb60
mov eax, dword [0x8353e0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x830f34]
cmp eax, dword [edx + 4]
jle 0x43b662
push 0x830f34
call fcn.004899b8
add esp, 4
cmp dword [0x830f34], 0xffffffff
jne 0x43b662
push 0x4c483c
mov ecx, 0x830f30
call fcn.0043ba40
push 0x4be3e0
call fcn.00489f0f
add esp, 4
push 0x830f34
call fcn.0048996e
add esp, 4
lea ecx, [ebp + 8]
call fcn.0040bc40
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
jmp 0x43b683
push 0x830f30
lea ecx, [ebp - 8]
call fcn.0043bd20
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x20]
jge 0x43b87b
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x830f30
call fcn.0040bc50
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp + 8]
call fcn.0043c0e0
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
call fcn.0043bd20
lea ecx, [ebp - 8]
call fcn.0040bc50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x43b710
cmp dword [ebp - 0x24], 0x35
jne 0x43b6e7
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b676
push 0x4c45fb
lea edx, [ebp - 0xc]
push edx
call fcn.0043bb40
add esp, 8
movzx eax, al
test eax, eax
je 0x43b70b
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040bab0
jmp 0x43b7a4
mov edx, dword [ebp - 0x18]
and edx, 0x400
je 0x43b797
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 8]
push eax
call fcn.0040bc10
call fcn.0043b8a0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x14
je 0x43b741
cmp dword [ebp - 0x1c], 0x17
jne 0x43b788
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x43b772
lea ecx, [ebp - 8]
call fcn.0040bc50
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x43b770
mov dword [ebp - 0x10], 0xc
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b87b
jmp 0x43b786
mov dword [ebp - 0x10], 0x12
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b87b
jmp 0x43b795
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b676
jmp 0x43b7a4
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b676
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 8]
call fcn.0040bc50
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x43b86e
push 0x4c45f8
lea eax, [ebp - 0xc]
push eax
call fcn.0043bb70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43b85d
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0043bc50
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0043bc50
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.0040bab0
lea ecx, [ebp - 0x28]
call fcn.0040bb10
lea ecx, [ebp - 0x2c]
call fcn.0040bb10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 3
lea ecx, [ebp - 0xc]
call fcn.0040bc50
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov edx, 0x414
mov word [ebp - 0x44], dx
mov dword [ebp - 0x42], 0
mov dword [ebp - 0x3e], 0
mov dword [ebp - 0x3a], 0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [ebp - 0x10], 0xb
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b87b
lea ecx, [ebp - 4]
call fcn.0040bb10
jmp 0x43b676
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0xc]
call fcn.0040bb10
lea ecx, [ebp - 8]
call fcn.0040bb10
lea ecx, [ebp + 8]
call fcn.0040bb10
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret