Function at 0x40ed00
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.00413cf0
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00405140
add esp, 4
lea ecx, [ebp - 0x68]
mov edx, eax
call fcn.00413e40
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40ed81
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ed93
mov bl, 1
jmp 0x40ed9b
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40edcf
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40edc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d4
push edx
push ecx
call fcn.0041535e
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 0x40ee1b
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d4
push edx
push ecx
call fcn.0041535e
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 0x40ee6a
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d4
push edx
push ecx
call fcn.0041535e
add esp, 8
test bl, bl
je 0x40efb0
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.00413cf0
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00405140
add esp, 4
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.00413e40
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40eed8
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x40ef1b
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d9
push edx
push ecx
call fcn.0041535e
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 0x40ef6a
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d9
push edx
push ecx
call fcn.0041535e
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 0x40efb0
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40efa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d9
push edx
push ecx
call fcn.0041535e
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.00413cf0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413990
lea ecx, [ebp - 0xb0]
call fcn.00404aa0
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push str.YA
call fcn.00413990
lea ecx, [ebp - 0x114]
call fcn.004029f0
add esp, 0x1c
push eax
lea eax, [ebp - 0x68]
push eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00405140
add esp, 4
lea ecx, [ebp - 0xe4]
mov edx, eax
call fcn.00413e40
add esp, 4
lea ecx, [ebp - 0xcc]
mov edx, eax
call fcn.00413e40
add esp, 4
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.00413e40
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 0x40f092
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40f08a
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40f0af
push 1
push 0x42eee0
mov byte [ebp - 0xb4], 0
push dword [ebp - 0xb4]
push 1
call fcn.00414630
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 str.0GBl
call fcn.00413990
lea ecx, [ebp - 0x38]
call fcn.004029f0
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x1c]
call fcn.00413e40
mov edx, dword [ebp - 0x6c]
add esp, 0x1c
cmp edx, 0x10
jb 0x40f12b
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f121
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f177
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f16d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f1cc
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f221
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f276
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f26c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f2c5
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f311
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f307
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f366
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f35c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
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 0x40f3b5
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.0041535e
add esp, 8
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x42eed8
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0041763c
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40f460
push eax
call fcn.004176ca
add esp, 4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00413990
cmp dword [ebp - 0x9c], 0x10
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call fcn.0041823c
mov edx, dword [ebp - 0x9c]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40f454
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f44a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5e3
push edx
push ecx
call fcn.0041535e
add esp, 8
cmp edi, 0x4e20
jg 0x40f523
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413990
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413990
call fcn.00407d40
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x42eed8
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0041763c
add esp, 0x38
test eax, eax
je 0x40f551
push eax
call fcn.004176ca
add esp, 4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00413990
cmp dword [ebp - 0x9c], 0x10
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call fcn.0041823c
mov edx, dword [ebp - 0x9c]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40f51b
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5e8
push edx
push ecx
call fcn.0041535e
add esp, 8
cmp esi, 0x4e20
jle 0x40f551
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push str.UWJi4k
call fcn.00413990
mov ecx, esi
call fcn.004029f0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413990
call fcn.004039a0
add esp, 0x30
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40f581
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5ed
push edx
push ecx
call fcn.0041535e
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 0x40f5c3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f5b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5ed
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
call fcn.004187ac
call fcn.004187ac
call fcn.004187ac
call fcn.004187ac
call fcn.004187ac
int3