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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, 0xe
mov dword [ebp - 0x20], 0
mov ecx, esi
mov dword [ebp - 0x1c], 0xf
cmp dword [0x4361a4], ecx
mov eax, 0x436194
push edi
cmovb ecx, dword [0x4361a4]
cmp dword [0x4361a8], 0x10
push ecx
cmovae eax, dword [0x436194]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 0x30], 0
call fcn.00412fd0
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00404f40
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.00413110
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40e2d4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40e2e6
mov bl, 1
jmp 0x40e2ee
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x40e322
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e318
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eab9
push edx
push ecx
call fcn.00414180
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 0x40e368
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e35e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eab9
push edx
push ecx
call fcn.00414180
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 0x40e3ae
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e3a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eab9
push edx
push ecx
call fcn.00414180
add esp, 8
test bl, bl
je 0x40e4e2
mov ecx, esi
mov dword [ebp - 0x20], 0
cmp dword [0x4361a4], ecx
mov eax, 0x436194
mov dword [ebp - 0x1c], 0xf
cmovb ecx, dword [0x4361a4]
cmp dword [0x4361a8], 0x10
push ecx
cmovae eax, dword [0x436194]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 0x30], 0
call fcn.00412fd0
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404f40
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.00413110
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40e419
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x40e456
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e44c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eabe
push edx
push ecx
call fcn.00414180
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 0x40e49c
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e492
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eabe
push edx
push ecx
call fcn.00414180
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 0x40e4e2
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e4d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eabe
push edx
push ecx
call fcn.00414180
add esp, 8
cmp dword [0x4361a4], esi
lea ecx, [ebp - 0x18]
mov eax, 0x436194
mov dword [ebp - 8], 0
cmovb esi, dword [0x4361a4]
cmp dword [0x4361a8], 0x10
push esi
cmovae eax, dword [0x436194]
push eax
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
call fcn.00412fd0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412c60
lea ecx, [ebp - 0x60]
call fcn.00404900
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4362b4
call fcn.00412c60
lea ecx, [ebp - 0xdc]
call fcn.00402b70
add esp, 0x1c
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00404f40
add esp, 4
lea ecx, [ebp - 0xac]
mov edx, eax
call fcn.00413110
add esp, 4
lea ecx, [ebp - 0x94]
mov edx, eax
call fcn.00413110
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.00413110
mov ecx, eax
add esp, 4
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x40e5be
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40e5b6
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40e5d5
push 1
push 0x432a10
mov byte [ebp - 0x7c], 0
push dword [ebp - 0x7c]
push 1
call fcn.00413690
mov ecx, eax
movups xmm0, xmmword [ecx]
sub esp, 0x18
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esp
push 0x435b1c
call fcn.00412c60
lea ecx, [ebp - 0xf8]
call fcn.00402b70
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x78]
call fcn.00413110
mov edx, dword [ebp - 0x1c]
add esp, 0x1c
cmp edx, 0x10
jb 0x40e654
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e64a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
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 0x40e69a
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e690
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40e6e3
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e6d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp edx, 0x10
jb 0x40e735
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e72b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp edx, 0x10
jb 0x40e78a
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
cmp edx, 0x10
jb 0x40e7d9
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40e825
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e81b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
cmp edx, 0x10
jb 0x40e874
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e86a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x40e8c0
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac3
push edx
push ecx
call fcn.00414180
add esp, 8
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push 0x432a08
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.0041658c
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40e95b
push eax
call fcn.0041661a
add esp, 4
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
call fcn.00412c60
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.0041718c
mov edx, dword [ebp - 0x4c]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x40e94f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e945
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eac8
push edx
push ecx
call fcn.00414180
add esp, 8
cmp edi, 0x4e20
jg 0x40ea12
sub esp, 0x18
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00412c60
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412c60
call fcn.004078f0
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push 0x432a08
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.0041658c
add esp, 0x38
test eax, eax
je 0x40ea40
push eax
call fcn.0041661a
add esp, 4
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
call fcn.00412c60
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.0041718c
mov edx, dword [ebp - 0x4c]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x40ea0a
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eacd
push edx
push ecx
call fcn.00414180
add esp, 8
cmp esi, 0x4e20
jle 0x40ea40
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x435b34
call fcn.00412c60
mov ecx, esi
call fcn.00402b70
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00412c60
call fcn.00403ac0
add esp, 0x30
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x40ea70
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ead2
push edx
push ecx
call fcn.00414180
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 0x40eab2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eaa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ead2
push edx
push ecx
call fcn.00414180
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004188f4
call fcn.004188f4
call fcn.004188f4
call fcn.004188f4
call fcn.004188f4
call fcn.004188f4
int3