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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ae95
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00415900
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edx, 7
mov edi, dword [ebp - 0x18]
cmova eax, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], eax
test edi, edi
je 0x41f017
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp - 0x60]
cmp word [eax + ecx*2], 0x5c
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x60]
je 0x41f011
cmp eax, ecx
je 0x41f017
sub eax, 2
cmp word [eax], 0x5c
jne 0x41f004
sub eax, ecx
sar eax, 1
jmp 0x41f01a
or eax, 0xffffffff
lea ecx, [edi - 1]
cmp eax, ecx
jne 0x41f0a0
cmp edi, ecx
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp edx, 7
push ecx
cmova eax, esi
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0040b6c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x41f088
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f07e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4e7
push ecx
push edx
call fcn.0055241f
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
mov esi, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edi, dword [ebp - 0x18]
push 0
push 0x59b320
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 1
call fcn.00424bb0
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x41f0fe
add eax, 2
mov dword [ebp - 0x30], 0
cmp edi, eax
mov dword [ebp - 0x2c], 0
mov ecx, eax
xorps xmm0, xmm0
cmovb ecx, edi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, esi
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0040b6c0
mov byte [ebp - 4], 3
jmp 0x41f150
push 0
push 0x59b328
lea ecx, [ebp - 0x28]
call fcn.00424bb0
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x41f23d
add eax, 2
mov dword [ebp - 0x30], 0
cmp edi, eax
mov dword [ebp - 0x2c], 0
mov ecx, eax
xorps xmm0, xmm0
cmovb ecx, edi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, esi
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0040b6c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.00410b40
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x41f1a5
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f19b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4e7
push ecx
push edx
call fcn.0055241f
add esp, 8
mov edx, dword [ebp - 0x5c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
add edx, 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, edx
jb 0x41f4e2
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
lea eax, [eax + edx*2]
push eax
call fcn.0040b6c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x41f228
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f21e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4e7
push ecx
push edx
call fcn.0055241f
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov esi, 1
test esi, esi
je 0x41f3f3
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
cmp ecx, 7
cmova esi, eax
mov dword [ebp - 0x5c], esi
cmp edi, 1
jbe 0x41f38a
lea edx, [edi - 1]
lea ecx, [esi + 2]
xor esi, esi
test edx, edx
je 0x41f288
cmp word [ecx], 0x5c
je 0x41f286
cmp edx, 1
je 0x41f288
add ecx, 2
dec edx
cmp word [ecx], 0x5c
jne 0x41f277
mov esi, ecx
test esi, esi
je 0x41f387
sub esi, dword [ebp - 0x5c]
sar esi, 1
cmp esi, 0xffffffff
je 0x41f387
cmp edi, esi
mov dword [ebp - 0x30], 0
mov ecx, esi
mov dword [ebp - 0x2c], 0
cmovb ecx, edi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
xorps xmm0, xmm0
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0040b6c0
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call fcn.00410b40
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x41f328
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f31e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4e7
push ecx
push edx
call fcn.0055241f
add esp, 8
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, esi
jb 0x41f4e2
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
lea eax, [eax + esi*2]
push eax
call fcn.0040b6c0
lea ecx, [ebp - 0x28]
call fcn.0040bf90
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
jmp 0x41f3a5
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push edi
push eax
call fcn.00410b40
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41f3df
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
call fcn.0056292a
mov esi, dword [ebp - 0x60]
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x60], esi
jmp 0x41f3e2
mov esi, dword [ebp - 0x60]
cmp dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x28]
jne 0x41f3f3
mov edi, dword [ebp - 0x18]
jmp 0x41f245
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x41f42f
lea ecx, [ecx*2 + 2]
mov edi, eax
cmp ecx, 0x1000
jb 0x41f425
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
mov dword [ebp - 0x5c], edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x41f4e7
mov eax, edx
push ecx
push eax
call fcn.0055241f
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x41f479
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f46f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4e7
push ecx
push edx
call fcn.0055241f
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x41f4c3
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f4b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4e7
push ecx
push edx
call fcn.0055241f
add esp, 8
mov eax, esi
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.00551e44
mov esp, ebp
pop ebp
ret 0x18
call fcn.00410b30
call fcn.0055bf8b
int3