Function at 0x40e330
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.004131b0
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00404f50
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.004132f0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40e3a4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40e3b6
mov bl, 1
jmp 0x40e3be
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x40e3f2
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e3e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb89
push edx
push ecx
call fcn.004142b0
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 0x40e438
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e42e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb89
push edx
push ecx
call fcn.004142b0
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 0x40e47e
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e474
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb89
push edx
push ecx
call fcn.004142b0
add esp, 8
test bl, bl
je 0x40e5b2
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.004131b0
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404f50
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.004132f0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40e4e9
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x40e526
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e51c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb8e
push edx
push ecx
call fcn.004142b0
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 0x40e56c
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb8e
push edx
push ecx
call fcn.004142b0
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 0x40e5b2
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e5a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb8e
push edx
push ecx
call fcn.004142b0
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.004131b0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412e40
lea ecx, [ebp - 0x60]
call fcn.00404910
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4362b4
call fcn.00412e40
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.00404f50
add esp, 4
lea ecx, [ebp - 0xac]
mov edx, eax
call fcn.004132f0
add esp, 4
lea ecx, [ebp - 0x94]
mov edx, eax
call fcn.004132f0
add esp, 4
lea ecx, [ebp - 0x48]
mov edx, eax
call fcn.004132f0
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 0x40e68e
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40e686
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40e6a5
push 1
push 0x432a08
mov byte [ebp - 0x7c], 0
push dword [ebp - 0x7c]
push 1
call fcn.004137c0
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.00412e40
lea ecx, [ebp - 0xf8]
call fcn.00402b70
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x78]
call fcn.004132f0
mov edx, dword [ebp - 0x1c]
add esp, 0x1c
cmp edx, 0x10
jb 0x40e724
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e71a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e76a
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e7b3
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e805
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e85a
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e8a9
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e89f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e8f5
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e944
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e93a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
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 0x40e990
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb93
push edx
push ecx
call fcn.004142b0
add esp, 8
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push 0x432a00
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.004166bc
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40ea2b
push eax
call fcn.0041674a
add esp, 4
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
call fcn.00412e40
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.004172bc
mov edx, dword [ebp - 0x4c]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x40ea1f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb98
push edx
push ecx
call fcn.004142b0
add esp, 8
cmp edi, 0x4e20
jg 0x40eae2
sub esp, 0x18
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412e40
call fcn.00407950
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
push 0x432a00
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.004166bc
add esp, 0x38
test eax, eax
je 0x40eb10
push eax
call fcn.0041674a
add esp, 4
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
call fcn.00412e40
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call fcn.004172bc
mov edx, dword [ebp - 0x4c]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x40eada
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ead0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eb9d
push edx
push ecx
call fcn.004142b0
add esp, 8
cmp esi, 0x4e20
jle 0x40eb10
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x435b34
call fcn.00412e40
mov ecx, esi
call fcn.00402b70
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00412e40
call fcn.00403ad0
add esp, 0x30
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x40eb40
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eba2
push edx
push ecx
call fcn.004142b0
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 0x40eb82
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eba2
push edx
push ecx
call fcn.004142b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
int3