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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0xe
mov dword [ebp - 0x3c], 0
mov ecx, esi
mov dword [ebp - 0x38], 0xf
cmp dword [0x4371b4], ecx
mov eax, 0x4371a4
mov byte [ebp - 0x4c], 0
cmovb ecx, dword [0x4371b4]
cmp dword [0x4371b8], 0x10
push ecx
cmovae eax, dword [0x4371a4]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00413e00
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.00405250
add esp, 4
lea ecx, [ebp - 0x34]
mov edx, eax
call fcn.00413f50
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f03d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40f04f
mov bl, 1
jmp 0x40f057
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x40f08b
mov ecx, dword [ebp - 0x34]
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 0x40f780
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x40f0d1
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f780
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x40f117
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f10d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f780
push edx
push ecx
call fcn.004153be
add esp, 8
test bl, bl
je 0x40f24b
mov ecx, esi
mov dword [ebp - 0x3c], 0
cmp dword [0x4371b4], ecx
mov eax, 0x4371a4
mov dword [ebp - 0x38], 0xf
cmovb ecx, dword [0x4371b4]
cmp dword [0x4371b8], 0x10
push ecx
cmovae eax, dword [0x4371a4]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 0x4c], 0
call fcn.00413e00
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00405250
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, eax
call fcn.00413f50
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f182
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x40f1bf
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f785
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x40f205
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f785
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x40f24b
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f241
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f785
push edx
push ecx
call fcn.004153be
add esp, 8
cmp dword [0x4371b4], esi
lea ecx, [ebp - 0x34]
mov eax, 0x4371a4
mov dword [ebp - 0x24], 0
cmovb esi, dword [0x4371b4]
cmp dword [0x4371b8], 0x10
push esi
cmovae eax, dword [0x4371a4]
push eax
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00413e00
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413aa0
lea ecx, [ebp - 0xe0]
call fcn.00404bb0
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4372c4
call fcn.00413aa0
lea ecx, [ebp - 0xc8]
call fcn.00402bc0
add esp, 0x1c
push eax
lea eax, [ebp - 0x34]
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00405250
add esp, 4
lea ecx, [ebp - 0x98]
mov edx, eax
call fcn.00413f50
add esp, 4
lea ecx, [ebp - 0x80]
mov edx, eax
call fcn.00413f50
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, eax
call fcn.00413f50
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 0x40f327
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40f31f
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x40f33e
push 1
push 0x4339f0
mov byte [ebp - 0x68], 0
push dword [ebp - 0x68]
push 1
call fcn.00414550
mov ecx, eax
movups xmm0, xmmword [ecx]
sub esp, 0x18
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esp
push 0x436b2c
call fcn.00413aa0
lea ecx, [ebp - 0xf8]
call fcn.00402bc0
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
call fcn.00413f50
mov edx, dword [ebp - 0x38]
add esp, 0x1c
cmp edx, 0x10
jb 0x40f3bd
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x40f403
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x40f449
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f43f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
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 0x40f495
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f48b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x40f4ea
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp edx, 0x10
jb 0x40f539
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f52f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x40f585
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f57b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
cmp edx, 0x10
jb 0x40f5da
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f5d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
cmp edx, 0x10
jb 0x40f62f
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f625
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78a
push edx
push ecx
call fcn.004153be
add esp, 8
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x4339e8
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0041768c
add esp, 8
test eax, eax
je 0x40f66f
push eax
call fcn.0041771a
sub esp, 0x14
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00404ae0
add esp, 0x18
cmp eax, 0x4e20
jg 0x40f6d0
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00407f90
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x4339e8
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0041768c
add esp, 0x38
test eax, eax
je 0x40f6fe
push eax
call fcn.0041771a
sub esp, 0x14
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00404ae0
add esp, 0x18
cmp eax, 0x4e20
jle 0x40f6fe
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x436b44
call fcn.00413aa0
mov ecx, esi
call fcn.00402bc0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00403c50
add esp, 0x30
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40f72e
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f724
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78f
push edx
push ecx
call fcn.004153be
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 0x40f770
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f766
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f78f
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
call fcn.004199f4
call fcn.004199f4
call fcn.004199f4
call fcn.004199f4
int3