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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0xe
mov dword [ebp - 0x70], 0
mov ecx, esi
mov dword [ebp - 0x6c], 0xf
cmp dword [0x43219c], ecx
mov eax, 0x43218c
push edi
cmovb ecx, dword [0x43219c]
cmp dword [0x4321a0], 0x10
push ecx
cmovae eax, dword [0x43218c]
lea ecx, [ebp - 0x80]
push eax
mov byte [ebp - 0x80], 0
call fcn.00413e60
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00404ff0
add esp, 4
lea ecx, [ebp - 0x68]
mov edx, eax
call fcn.00413fb0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40eef1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ef03
mov bl, 1
jmp 0x40ef0b
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40ef3f
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f744
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x40ef8b
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f744
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x40efda
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40efd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f744
push edx
push ecx
call fcn.0041541e
add esp, 8
test bl, bl
je 0x40f120
mov ecx, esi
mov dword [ebp - 0x70], 0
cmp dword [0x43219c], ecx
mov eax, 0x43218c
mov dword [ebp - 0x6c], 0xf
cmovb ecx, dword [0x43219c]
cmp dword [0x4321a0], 0x10
push ecx
cmovae eax, dword [0x43218c]
lea ecx, [ebp - 0x80]
push eax
mov byte [ebp - 0x80], 0
call fcn.00413e60
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00404ff0
add esp, 4
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.00413fb0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f048
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x40f08b
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f081
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f749
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x40f0da
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f749
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x40f120
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f749
push edx
push ecx
call fcn.0041541e
add esp, 8
cmp dword [0x43219c], esi
lea ecx, [ebp - 0x68]
mov eax, 0x43218c
mov dword [ebp - 0x58], 0
cmovb esi, dword [0x43219c]
cmp dword [0x4321a0], 0x10
push esi
cmovae eax, dword [0x43218c]
push eax
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00413e60
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413b00
lea ecx, [ebp - 0xb0]
call fcn.00404950
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x432294
call fcn.00413b00
lea ecx, [ebp - 0x114]
call fcn.00402ac0
add esp, 0x1c
push eax
lea eax, [ebp - 0x68]
push eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00404ff0
add esp, 4
lea ecx, [ebp - 0xe4]
mov edx, eax
call fcn.00413fb0
add esp, 4
lea ecx, [ebp - 0xcc]
mov edx, eax
call fcn.00413fb0
add esp, 4
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.00413fb0
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 0x40f202
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40f1fa
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40f21f
push 1
push 0x42eedc
mov byte [ebp - 0xb4], 0
push dword [ebp - 0xb4]
push 1
call fcn.004145b0
mov ecx, eax
movups xmm0, xmmword [ecx]
sub esp, 0x18
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esp
push 0x431b14
call fcn.00413b00
lea ecx, [ebp - 0x38]
call fcn.00402ac0
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x1c]
call fcn.00413fb0
mov edx, dword [ebp - 0x6c]
add esp, 0x1c
cmp edx, 0x10
jb 0x40f29b
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x40f2e7
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x40f33c
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp edx, 0x10
jb 0x40f391
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f387
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
cmp edx, 0x10
jb 0x40f3e6
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
cmp edx, 0x10
jb 0x40f435
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f42b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x40f481
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
cmp edx, 0x10
jb 0x40f4d6
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp edx, 0x10
jb 0x40f525
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f51b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74e
push edx
push ecx
call fcn.0041541e
add esp, 8
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x42eed4
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.004176fc
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40f5d0
push eax
call fcn.0041778a
add esp, 4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00413b00
cmp dword [ebp - 0x9c], 0x10
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call fcn.004182fc
mov edx, dword [ebp - 0x9c]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40f5c4
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f5ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f753
push edx
push ecx
call fcn.0041541e
add esp, 8
cmp edi, 0x4e20
jg 0x40f693
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413b00
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413b00
call fcn.00407c40
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x42eed4
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.004176fc
add esp, 0x38
test eax, eax
je 0x40f6c1
push eax
call fcn.0041778a
add esp, 4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00413b00
cmp dword [ebp - 0x9c], 0x10
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call fcn.004182fc
mov edx, dword [ebp - 0x9c]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40f68b
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f681
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f758
push edx
push ecx
call fcn.0041541e
add esp, 8
cmp esi, 0x4e20
jle 0x40f6c1
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x431b2c
call fcn.00413b00
mov ecx, esi
call fcn.00402ac0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413b00
call fcn.00403a70
add esp, 0x30
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40f6f1
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f75d
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x40f733
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f75d
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
int3