Function at 0x409cd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5f45
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4ce428], 0
jne 0x409d13
push 0xb
push str.1.4.39.8019
mov ecx, 0x4ce418
call fcn.0040a9e0
push 0x4ce418
lea ecx, [ebp - 0x70]
call fcn.0040acf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0xb
mov dword [ebp - 0x58], 0
push str.1.4.39.8019
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0040a9e0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00406100
lea ecx, [ebp - 0x40]
call fcn.00405b40
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00412ce0
test eax, eax
je 0x409e14
cmp dword [ebp - 0x60], 0
je 0x409dd9
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 0x10
cmovae ecx, dword [ebp - 0x70]
call fcn.0041bb40
test eax, eax
je 0x409dd9
call fcn.00408ed0
sub esp, 8
call fcn.00407af0
mov esi, eax
jmp 0x409e16
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x409dfd
sub esp, 8
call fcn.00407af0
mov esi, eax
jmp 0x409e16
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
jne 0x409e14
call fcn.00407f50
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x409e50
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f40
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x409e9e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f40
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x409ee2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409ed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f40
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x409f24
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409f1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f40
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
int3