Function at 0x40e480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ce23
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4c20f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x40e4c3
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40e695
mov ecx, dword [ebp + 0x18]
mov eax, accept
sub eax, ecx
cmp eax, 5
jb 0x40ea3a
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x94]
push eax
push 5
push str.move
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x64]
call fcn.00408460
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x80]
mov eax, edx
mov ecx, dword [ebp - 0x84]
sub eax, ecx
cmp eax, 1
jb 0x40e548
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x94]
jmp 0x40e563
push 1
push 0x4bb1bc
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x94]
push dword [ebp - 0x5c]
push 1
call fcn.00407fc0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00405aa0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x40e5fd
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e5f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea3f
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x40e646
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e63c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea3f
push edx
push ecx
call fcn.00471ddf
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0047cf91
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 0x10
jb 0x40e68e
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea44
push edx
push ecx
call fcn.00471ddf
add esp, 8
xor esi, esi
jmp 0x40e9ed
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00405b60
lea ecx, [ebp - 0x40]
call fcn.00409600
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.00405b60
lea ecx, [ebp - 0x28]
call fcn.00409600
add esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
lea esi, [ebp - 0x40]
cmovae eax, edi
cmovae ecx, edi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x30]
add eax, ecx
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x60], eax
cmovae esi, edi
cmp esi, eax
je 0x40e70f
mov edi, dword [ebp - 0x5c]
sub edi, esi
movsx eax, byte [esi]
push eax
call fcn.0047cdf4
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x60]
jne 0x40e6f7
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae eax, ecx
lea esi, [ebp - 0x28]
cmovae edx, ecx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
cmovae esi, ecx
cmp esi, dword [ebp - 0x5c]
je 0x40e75b
sub edx, esi
mov edi, edx
nop dword [eax]
movsx eax, byte [esi]
push eax
call fcn.0047cdf4
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x5c]
jne 0x40e740
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp eax, 0x10
lea eax, [ebp - 0x40]
cmovae ecx, esi
cmp dword [ebp - 0x2c], 0x10
push ecx
push dword [ebp - 0x30]
cmovae eax, edi
push eax
call fcn.00413110
add esp, 0x10
test al, al
jne 0x40e956
mov ecx, dword [ebp - 0x64]
mov eax, accept
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 8
jb 0x40ea49
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x40e7a9
mov eax, dword [ecx]
push edx
push eax
push 8
push str.move__Y
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x94]
call fcn.00408460
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x80]
mov eax, edx
mov ecx, dword [ebp - 0x84]
sub eax, ecx
cmp eax, 1
jb 0x40e7fe
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x94]
jmp 0x40e819
push 1
push 0x4bb1bc
mov byte [ebp - 0x64], 0
lea ecx, [ebp - 0x94]
push dword [ebp - 0x64]
push 1
call fcn.00407fc0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x7c]
call fcn.00405aa0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x40e8b6
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea4e
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x40e8ff
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea4e
push edx
push ecx
call fcn.00471ddf
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0047cf91
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 0x10
jb 0x40e947
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e93d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea53
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x5c], 0
jmp 0x40e95d
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40e993
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40e986
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea58
push ecx
push esi
call fcn.00471ddf
mov edi, dword [ebp - 0x40]
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x40e9d8
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40e9ce
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea58
push ecx
push edi
call fcn.00471ddf
add esp, 8
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40ea1d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea58
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b4b
mov esp, ebp
pop ebp
ret
call fcn.004019d0
call fcn.0047caa2
call fcn.0047caa2
call fcn.004019d0
call fcn.0047caa2
call fcn.0047caa2
call fcn.0047caa2
int3