Function at 0x466e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aea7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x466e7c
mov dword [ebp - 0x28], 1
jmp 0x466e83
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x466e9f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x467139
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x466ed3
mov dword [ebp - 0x30], 1
jmp 0x466eda
mov dword [ebp - 0x30], 0
mov cl, byte [ebp - 0x30]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x466ef6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
movzx eax, word [edx]
test eax, eax
je 0x467139
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x466f2e
mov dword [ebp - 0x38], 1
jmp 0x466f35
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x466f51
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467139
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.00402120
lea ecx, [ebp - 0xa8]
call fcn.00459790
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x74]
call fcn.00402120
lea ecx, [ebp - 0xc0]
call fcn.00459790
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 8
jb 0x466fd0
mov dword [ebp - 0x40], 1
jmp 0x466fd7
mov dword [ebp - 0x40], 0
mov dl, byte [ebp - 0x40]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x466ff3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00465e00
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa8]
call fcn.0040da20
lea ecx, [ebp - 0xd8]
call fcn.00401a00
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x467053
mov dword [ebp - 0x48], 1
jmp 0x46705a
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x467118
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00466d00
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4670b8
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x8c]
je 0x4670b8
xor ecx, ecx
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004596a0
cmp dword [ebp + 0x10], 0
je 0x4670ee
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x90]
je 0x4670ee
xor eax, eax
mov byte [ebp - 0x13], al
movzx ecx, byte [ebp - 0x13]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004596a0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00401a00
mov al, byte [ebp - 0x14]
jmp 0x46713b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00401a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00401a00
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret