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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xe
mov dword [ebp - 0x20], 0
mov ecx, esi
mov dword [ebp - 0x1c], 0xf
cmp dword [0x4401e8], ecx
mov eax, 0x4401d8
mov byte [ebp - 0x30], 0
cmovb ecx, dword [0x4401e8]
cmp dword [0x4401ec], 0x10
push ecx
cmovae eax, dword [0x4401d8]
lea ecx, [ebp - 0x30]
push eax
call fcn.00414b30
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.004057f0
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.00414c70
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f61f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40f631
mov bl, 1
jmp 0x40f639
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x40f66d
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f663
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdce
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40f6b3
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdce
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40f6f9
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdce
push edx
push ecx
call fcn.00415fcc
add esp, 8
test bl, bl
je 0x40f82d
mov ecx, esi
mov dword [ebp - 0x20], 0
cmp dword [0x4401e8], ecx
mov eax, 0x4401d8
mov dword [ebp - 0x1c], 0xf
cmovb ecx, dword [0x4401e8]
cmp dword [0x4401ec], 0x10
push ecx
cmovae eax, dword [0x4401d8]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 0x30], 0
call fcn.00414b30
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004057f0
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.00414c70
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f764
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x40f7a1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f797
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd3
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40f7e7
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd3
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40f82d
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f823
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd3
push edx
push ecx
call fcn.00415fcc
add esp, 8
cmp dword [0x4401e8], esi
lea ecx, [ebp - 0x18]
mov eax, 0x4401d8
mov dword [ebp - 8], 0
cmovb esi, dword [0x4401e8]
cmp dword [0x4401ec], 0x10
push esi
cmovae eax, dword [0x4401d8]
push eax
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
call fcn.00414b30
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004147b0
lea ecx, [ebp - 0x60]
call fcn.004051b0
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4402f8
call fcn.004147b0
lea ecx, [ebp - 0xd8]
call fcn.00402fb0
add esp, 0x1c
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004057f0
add esp, 4
lea ecx, [ebp - 0xa8]
mov edx, eax
call fcn.00414c70
add esp, 4
lea ecx, [ebp - 0x90]
mov edx, eax
call fcn.00414c70
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.00414c70
add esp, 4
mov ecx, eax
push 0x43c114
call fcn.004145a0
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x43fb48
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004147b0
lea ecx, [ebp - 0xf0]
call fcn.00402fb0
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x78]
call fcn.00414c70
mov edx, dword [ebp - 0x1c]
add esp, 0x1c
cmp edx, 0x10
jb 0x40f96c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40f9b2
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40f9fb
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x40fa4a
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x40fa9f
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp edx, 0x10
jb 0x40faee
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fae4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40fb3a
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp edx, 0x10
jb 0x40fb89
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x40fbd5
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fdd8
push edx
push ecx
call fcn.00415fcc
add esp, 8
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push 0x43c10c
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.004197f6
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40fc70
push eax
call fcn.00419884
add esp, 4
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
call fcn.004147b0
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.0041a34f
mov edx, dword [ebp - 0x4c]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x40fc64
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fddd
push edx
push ecx
call fcn.00415fcc
add esp, 8
cmp edi, 0x4e20
jg 0x40fd27
sub esp, 0x18
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.004147b0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004147b0
call fcn.00408b60
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push 0x43c10c
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.004197f6
add esp, 0x38
test eax, eax
je 0x40fd55
push eax
call fcn.00419884
add esp, 4
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
call fcn.004147b0
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.0041a34f
mov edx, dword [ebp - 0x4c]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x40fd1f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fde2
push edx
push ecx
call fcn.00415fcc
add esp, 8
cmp esi, 0x4e20
jle 0x40fd55
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x43fb60
call fcn.004147b0
mov ecx, esi
call fcn.00402fb0
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.004147b0
call fcn.00404570
add esp, 0x30
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x40fd85
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fde7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x40fdc7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fdbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fde7
push edx
push ecx
call fcn.00415fcc
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
call fcn.0041bb2d
int3