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

Disassembly:
push 0x90
mov eax, 0x4469c3
call fcn.0042bf50
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
push 7
mov dword [ebp - 0x98], esi
pop eax
xor ecx, ecx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], esi
mov dword [ebp - 0x9c], ebx
mov word [ebx], cx
inc ecx
xor edx, edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.00429b13
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
cmp dword [ebp + 0x10], 0xc
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
push edi
jl 0x41a865
call fcn.00429c92
mov edi, str.lxLdr.xlam
jmp 0x41a86f
call fcn.00429c75
mov edi, str.lxLdr.xla
push edi
call fcn.0042c361
pop ecx
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.00408e30
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x90]
je 0x41a9f9
lea eax, [ebp - 0x64]
push eax
call fcn.0040cdd0
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00408db0
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00409e50
mov edi, str.SpreadsheetTools_
cmp dword [ebp - 0x1c], esi
je 0x41a93b
push edi
call fcn.0042c361
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040d360
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a8df
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a8ff
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a8f7
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405780
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a91a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.004132c0
pop ecx
pop ecx
test al, al
je 0x41a93b
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00409cf0
cmp dword [ebx + 0x10], esi
jne 0x41a9f9
lea eax, [ebp - 0x64]
push eax
call fcn.00419a26
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00408db0
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00409e50
push edi
call fcn.0042c361
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040d360
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a987
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x41a9a9
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a9a1
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405780
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a9c4
lea eax, [ebp - 0x2c]
push eax
call edi
cmp eax, 0xffffffff
jne 0x41a9eb
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41a9d8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.004132c0
pop ecx
pop ecx
test al, al
je 0x41a9f9
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00409cf0
lea ecx, [ebp - 0x94]
call fcn.00404020
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.00429b29
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00409e50
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409e50
mov eax, ebx
call fcn.0042bfd3
ret