Function at 0x419670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a10a7
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x16c], ecx
xor ebx, ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
xor ecx, ecx
mov word [ebp - 0x44], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040bd60
mov byte [ebp - 4], 1
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], ebx
xor eax, eax
mov word [ebp - 0x74], ax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.0040bd60
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
xor eax, eax
mov word [ebp - 0x5c], ax
push 0xffffffffffffffff
push eax
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x5c]
call fcn.0040bd60
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041e610
mov ecx, eax
call fcn.0044f0c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], ebx
jne 0x41998b
lea eax, [ebp - 0xd4]
push eax
call fcn.0041e610
mov ecx, eax
call fcn.0044e840
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4197a5
cmp dword [ebp - 0x18], 8
jb 0x419788
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 4
cmp dword [ebp - 0xc0], 8
jb 0x4197c0
push dword [ebp - 0xd4]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], 0
xor eax, eax
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x104]
call fcn.00421140
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
push ecx
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.00403c70
add esp, 8
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x419842
cmp dword [ebp - 0x18], 8
jb 0x419825
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 6
cmp dword [ebp - 0xd8], 8
jb 0x41985d
push dword [ebp - 0xec]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], 0
xor eax, eax
mov word [ebp - 0xec], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xf0], 8
jb 0x419895
push dword [ebp - 0x104]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
xor eax, eax
mov word [ebp - 0x104], ax
cmp dword [ebp - 0x1c], eax
je 0x4198e3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x4198e3
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0041dab0
jmp 0x419f28
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x4198f8
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x419921
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 8
jb 0x41994a
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x30], 8
jb 0x419972
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
jmp 0x419fd2
call fcn.00451080
test eax, eax
je 0x419a72
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x164]
call fcn.00421140
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x134]
call fcn.00403c70
add esp, 8
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4199fd
cmp dword [ebp - 0x18], 8
jb 0x4199e0
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 8
cmp dword [ebp - 0x120], 8
jb 0x419a18
push dword [ebp - 0x134]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
xor eax, eax
mov word [ebp - 0x134], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x150], 8
jb 0x419a50
push dword [ebp - 0x164]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x150], 7
mov dword [ebp - 0x154], 0
xor eax, eax
mov word [ebp - 0x164], ax
jmp 0x4198b2
call fcn.0041e610
push 0
push 0x4b33dc
lea ecx, [eax + 0xd8]
call fcn.0040c0d0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov byte [ebp - 4], 0xa
push 0
push 1
lea edx, [ebp - 0x178]
lea ecx, [ebp - 0x2c]
call fcn.004460f0
add esp, 8
xor esi, esi
mov dword [ebp - 0x180], esi
mov ecx, dword [ebp - 0x174]
sub ecx, dword [ebp - 0x178]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jge 0x419bc6
cmp eax, esi
ja 0x419afb
push str.invalid_vector_T__subscript
call fcn.0047920d
lea eax, [esi + esi*2]
mov ecx, dword [ebp - 0x178]
lea ecx, [ecx + eax*8]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.004034a0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.004034a0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov word [ebp - 0x8c], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040bd60
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x7c], 0
je 0x419b91
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, 1
jne 0x419b91
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.0041dab0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x78], 8
jb 0x419ba9
push dword [ebp - 0x8c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
inc esi
jmp 0x419ac2
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jne 0x419c24
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x4198e3
push dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x174]
call fcn.004044c0
push dword [ebp - 0x178]
call fcn.0047cf40
add esp, 0xc
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
jmp 0x4198e3
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea eax, [esi - 1]
mov dword [ebp - 0x16c], eax
cmp esi, eax
ja 0x419c4e
push str.invalid_vector_T__subscript
call fcn.0047920d
lea eax, [eax + eax*2]
mov ecx, dword [edi]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
xor ecx, ecx
mov word [ebp - 0xa4], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040bd60
mov byte [ebp - 4], 0xc
cmp esi, 1
jle 0x419cff
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x11c]
call fcn.0042d370
mov esi, eax
mov byte [ebp - 4], 0xd
or ebx, 1
mov dword [ebp - 0x17c], ebx
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x14c]
call fcn.0042d370
mov dword [ebp - 4], 0xe
or ebx, 2
mov dword [ebp - 0x17c], ebx
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x419ce8
mov esi, dword [esi]
push ecx
push 0
push esi
mov ecx, eax
call fcn.004036e0
cmp eax, 0xffffffff
mov byte [ebp - 0x165], 1
jne 0x419d06
mov byte [ebp - 0x165], 0
mov dword [ebp - 4], 0xd
test bl, 2
je 0x419d4f
and ebx, 0xfffffffd
mov dword [ebp - 0x17c], ebx
cmp dword [ebp - 0x138], 8
jb 0x419d32
push dword [ebp - 0x14c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x13c], 0
xor eax, eax
mov word [ebp - 0x14c], ax
mov dword [ebp - 4], 0xc
test bl, 1
je 0x419d98
and ebx, 0xfffffffe
mov dword [ebp - 0x17c], ebx
cmp dword [ebp - 0x108], 8
jb 0x419d7b
push dword [ebp - 0x11c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x108], 7
mov dword [ebp - 0x10c], 0
xor eax, eax
mov word [ebp - 0x11c], ax
cmp byte [ebp - 0x165], 0
je 0x419ea4
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [ebp - 0x16c]
cmp eax, ecx
ja 0x419dd1
push str.invalid_vector_T__subscript
call fcn.0047920d
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
xor ecx, ecx
mov word [ebp - 0xbc], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040bd60
mov byte [ebp - 4], 0xf
mov esi, dword [edi + 4]
cmp dword [edi], esi
je 0x419e54
add esi, 0xffffffe8
cmp dword [esi + 0x14], 8
jb 0x419e35
push dword [esi]
call fcn.0047cf40
add esp, 4
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x419e4b
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
add dword [edi + 4], 0xffffffe8
lea eax, [ebp - 0xbc]
push eax
push ecx
push dword [edi]
lea eax, [ebp - 0x16c]
push eax
mov ecx, edi
call fcn.0041f6d0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xa8], 8
jb 0x419e87
push dword [ebp - 0xbc]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
xor eax, eax
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x90], 8
jb 0x419ebf
push dword [ebp - 0xa4]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
xor eax, eax
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x419f28
push dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x174]
call fcn.004044c0
push dword [ebp - 0x178]
call fcn.0047cf40
add esp, 0xc
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x419f3d
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x419f66
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 8
jb 0x419f8f
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x30], 8
jb 0x419fb7
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret 0x10