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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5c08
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x63ae80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0x18]
push 0x5c
lea eax, [ebp + 8]
dec esi
call fcn.0040c7b4
lea edi, [ebx + 0x10]
cmp esi, eax
jne 0x4731ba
push esi
push ebx
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0x48]
call fcn.0040c80d
mov esi, eax
lea ecx, [ebp + 8]
cmp ecx, esi
je 0x4731a6
cmp dword [ebp + 0x1c], edi
jb 0x473161
mov edx, dword [ebp + 8]
push edx
call fcn.004a4d8a
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [esi + 0x14], edi
jae 0x473187
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.005a6f70
add esp, 0xc
jmp 0x47318e
mov ecx, dword [esi]
mov dword [ebp + 8], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp + 0x18], edx
mov eax, dword [esi + 0x14]
mov dword [ebp + 0x1c], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], edi
jb 0x4731ba
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004a4d8a
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x4731c5
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4731e9
cmp dword [ebp + 0x1c], edi
jb 0x4731e2
mov edx, dword [ebp + 8]
push edx
call fcn.004a4d8a
add esp, 4
mov al, 1
jmp 0x4732b9
push 0x5c
lea eax, [ebp + 8]
call fcn.0040c7b4
push eax
push ebx
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.0040c80d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 2
push ebx
lea edx, [ebp - 0x2c]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.004021d1
call fcn.004730f0
add esp, 0x1c
cmp al, bl
je 0x47328c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
cmp dword [ebp + 0x1c], edi
jae 0x47324a
lea eax, [ebp + 8]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
sete byte [ebp - 0x49]
cmp dword [ebp - 0x18], edi
jb 0x47326d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a4d8a
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], edi
jb 0x473287
mov eax, dword [ebp + 8]
push eax
call fcn.004a4d8a
add esp, 4
mov al, byte [ebp - 0x49]
jmp 0x4732b9
cmp dword [ebp - 0x18], edi
jb 0x47329d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004a4d8a
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], edi
jb 0x4732b7
mov edx, dword [ebp + 8]
push edx
call fcn.004a4d8a
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret