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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4943a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b8670]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4b8670]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, 0xf
xor edi, edi
mov eax, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41acb0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00407390
mov dword [esp + 0x58], edi
push edi
push 0x4ab6a4
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
call fcn.00407390
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
mov edx, dword [esp + 0x14]
jb 0x41ae8a
cmp edx, edi
mov esi, edx
je 0x41ad26
cmp ecx, 0x10
mov eax, edx
jae 0x41ad0d
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x41ad26
cmp ecx, 0x10
mov eax, edx
jae 0x41ad1c
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp esi, eax
jbe 0x41ad33
call fcn.0043a8ee
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ebx, esi
cmp ecx, 0x10
mov eax, edx
jae 0x41ad40
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
lea esi, [eax + edi]
test esi, esi
je 0x41ad6b
cmp ecx, 0x10
mov eax, edx
jae 0x41ad56
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x41ad6b
cmp ecx, 0x10
mov eax, edx
jae 0x41ad65
lea eax, [esp + 0x14]
add eax, edi
cmp esi, eax
jbe 0x41ad78
call fcn.0043a8ee
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp ebx, esi
je 0x41aed2
lea eax, [esp + 0x10]
cmp eax, 0xfffffffe
mov esi, 0x10
je 0x41adaf
cmp ecx, esi
mov eax, edx
jae 0x41ad98
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp ebx, eax
jb 0x41adaf
call fcn.0043a8ee
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx], 0x5c
je 0x41ade3
lea eax, [esp + 0x10]
cmp eax, 0xfffffffe
je 0x41adde
cmp ecx, esi
mov eax, edx
jae 0x41adc7
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp ebx, eax
jb 0x41adde
call fcn.0043a8ee
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx], 0x2f
jne 0x41ae20
cmp dword [esp + 0x44], esi
mov eax, dword [esp + 0x30]
jae 0x41adf1
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41ae18
cmp dword [esp + 0x44], esi
mov eax, dword [esp + 0x30]
jae 0x41ae0b
lea eax, [esp + 0x30]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41ae93
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
cmp eax, 0xfffffffe
je 0x41ae42
cmp ecx, esi
mov eax, edx
jae 0x41ae33
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp ebx, eax
jb 0x41ae42
call fcn.0043a8ee
movzx edx, byte [ebx]
push edx
lea edi, [esp + 0x30]
call fcn.0040c8c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
cmp eax, 0xfffffffe
je 0x41ae82
cmp ecx, 0x10
mov eax, edx
jae 0x41ae6b
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x24]
add eax, esi
cmp ebx, eax
jb 0x41ae82
call fcn.0043a8ee
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
add ebx, 1
jmp 0x41ad35
lea esi, [esp + 0x14]
jmp 0x41ad02
cmp dword [esp + 0x44], esi
jb 0x41aea6
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041cd43
add esp, 4
cmp dword [esp + 0x28], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x41aece
mov edx, dword [esp + 0x14]
push edx
call fcn.0041cd43
add esp, 4
xor al, al
jmp 0x41af13
cmp dword [esp + 0x44], 0x10
jb 0x41aeee
mov eax, dword [esp + 0x30]
push eax
call fcn.0041cd43
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add esp, 4
cmp ecx, 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x41af11
push edx
call fcn.0041cd43
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043a513
mov esp, ebp
pop ebp
ret