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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x442500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.0040b7a0
add esp, 8
mov esi, eax
push 1
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x435998
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00401760
push 0
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040d660
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x40a48f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a485
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x40a4c7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a4bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x64]
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
dec esi
add esi, edx
js 0x40a5f4
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop dword [eax + eax]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x435998
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00401760
push esi
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040a290
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x40a567
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a55d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call edi
cmp eax, 0xffffffff
je 0x40a581
shr eax, 4
test al, 1
jne 0x40a5c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40a5b5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a5ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
sub esi, 1
jns 0x40a4f0
jmp 0x40a5f4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40a5f4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a5ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x64]
inc esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jge 0x40a7d2
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x435998
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00401760
push esi
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040a290
add esp, 0x14
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x40a68b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a681
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
mov edx, 0x435366
mov dword [ebp - 0x30], 0
cmova eax, dword [ebp - 0x58]
xorps xmm0, xmm0
test eax, eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmovne edx, eax
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a6c0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401760
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408420
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x40a6ef
mov eax, dword [eax]
push eax
call fcn.0041ed7f
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 7
jbe 0x40a732
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a728
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x40a77e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a774
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x40a7b2
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a7a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7f5
push ecx
push edx
call fcn.00412e0f
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x64]
inc esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jl 0x40a614
lea ecx, [ebp - 0x64]
call fcn.004063d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e1d
mov esp, ebp
pop ebp
ret
call fcn.00417a0f
int3