Function at 0x469969
Capabilities:
Check if file exists

Disassembly:
push 0x154
mov eax, 0x4a2de3
call fcn.0049cbc1
mov esi, ecx
mov eax, dword [esi + 0x368]
push 0xa
pop ecx
cmp eax, ecx
mov dword [ebp - 0x13c], esi
ja case.default.0x46998d
jmp dword [eax*4 + 0x469ee1]
and dword [ebx + 4], 0
jmp case.default.0x46998d
mov dword [ebx + 4], 1
jmp case.default.0x46998d
mov dword [ebx + 4], 2
jmp case.default.0x46998d
mov dword [ebx + 4], 3
jmp case.default.0x46998d
mov dword [ebx + 4], 4
jmp case.default.0x46998d
mov dword [ebx + 4], 5
jmp case.default.0x46998d
mov dword [ebx + 4], 8
jmp case.default.0x46998d
mov dword [ebx + 4], 9
jmp case.default.0x46998d
mov dword [ebx + 4], ecx
jmp case.default.0x46998d
mov dword [ebx + 4], 0xb
jmp case.default.0x46998d
mov dword [ebx + 4], 0xc
mov eax, dword [esi + 0x4bc]
mov dword [ebx + 0x24], eax
movzx eax, byte [esi + 0x4e0]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x160]
push eax
mov eax, esi
call fcn.004389b1
cmp dword [eax + 0x18], 8
jb 0x469a1a
mov eax, dword [eax + 4]
jmp 0x469a1d
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
inc eax
lea ecx, [ebp - 0x160]
mov dword [ebx + 0xc], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esi + 0x354], 0
je 0x469a48
mov dword [ebx + 4], 6
mov edi, dword [ebx + 4]
cmp edi, 1
jne 0x469a77
fld qword [esi + 0x398]
call fcn.0049c9f0
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x388]
mov dword [ebx + 0x1c], eax
fld qword [esi + 0x390]
call fcn.0049c9f0
mov dword [ebx + 0x14], eax
jmp 0x469a9b
cmp edi, 8
jne 0x469a84
mov eax, dword [esi + 0x370]
jmp 0x469a98
fld qword [esi + 0x3b0]
call fcn.0049c9f0
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x3a0]
mov dword [ebx + 0x1c], eax
cmp edi, 5
je 0x469aae
cmp edi, 0xb
je 0x469aae
cmp edi, 0xc
jne 0x469ed8
mov edx, esi
call fcn.0046989d
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x410]
test eax, eax
je 0x469ad4
lea ecx, [ebx + 0x28]
push ecx
lea ecx, [ebx + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.0046a2e7
jmp 0x469af6
cmp dword [esi + 0x3fc], 0
lea eax, [ebx + 0x28]
push eax
lea ecx, [ebx + 0x20]
push esi
lea edx, [esi + 0x3e8]
jne 0x469af1
lea edx, [esi + 0x47c]
call fcn.0046a3d7
cmp dword [ebx + 0x3c], 0
jne 0x469b07
lea eax, [ebx + 0x28]
push eax
mov ecx, esi
call fcn.0046a213
lea edi, [esi + 0x44c]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [ebp - 0x134], eax
jbe 0x469b27
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], eax
mov edi, dword [esi + 0x454]
add esi, 0x44c
cmp dword [esi + 4], edi
jbe 0x469b4a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], edi
lea edi, [ebp - 0x144]
lea esi, [ebp - 0x138]
call fcn.00465ad6
test al, al
je 0x469c36
lea eax, [ebp - 0xa0]
push eax
call fcn.0044f7ee
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x7c], eax
call fcn.0042eb01
push eax
lea ecx, [ebp - 0x40]
call dword [0x4aa370]
mov dword [ebp - 0x98], 0xa
call fcn.0042eb01
cmp dword [eax + 0x54], edi
je 0x469bcf
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0042eb01
push dword [eax + 0x54]
mov ecx, dword [ebp - 0x13c]
call fcn.0046a2e7
jmp 0x469bfe
call fcn.0042eb01
add eax, 0x2c
cmp dword [eax + 0x14], edi
je 0x469bfe
lea eax, [ebp - 0x78]
push eax
lea esi, [ebp - 0x138]
call fcn.0042eb01
push dword [ebp - 0x13c]
mov edx, eax
add edx, 0x2c
lea ecx, [ebp - 0x80]
call fcn.0046a3d7
lea eax, [ebp - 0xa0]
push eax
lea esi, [ebx + 0x80]
call fcn.0046a5e1
lea esi, [ebp - 0x138]
call fcn.00439cf6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
call fcn.00452ed9
mov esi, dword [ebp - 0x13c]
jmp 0x469b33
mov esi, dword [ebp - 0x13c]
mov edi, dword [esi + 0x460]
add esi, 0x45c
cmp edi, dword [esi + 8]
jbe 0x469c53
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], edi
mov esi, dword [ebp - 0x13c]
mov edi, dword [esi + 0x464]
add esi, 0x45c
cmp dword [esi + 4], edi
jbe 0x469c7c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], edi
lea edi, [ebp - 0x144]
lea esi, [ebp - 0x138]
call fcn.00465ad6
test al, al
je 0x469d79
lea eax, [ebp - 0xa0]
push eax
call fcn.0044f7ee
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x7c], eax
call fcn.0042eb01
push eax
lea ecx, [ebp - 0x40]
call dword [0x4aa370]
xor edi, edi
mov dword [ebp - 0x98], edi
call fcn.0042eb01
cmp dword [eax + 0x54], edi
je 0x469d01
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0042eb01
push dword [eax + 0x54]
mov ecx, dword [ebp - 0x13c]
call fcn.0046a2e7
jmp 0x469d30
call fcn.0042eb01
add eax, 0x2c
cmp dword [eax + 0x14], edi
je 0x469d30
lea eax, [ebp - 0x78]
push eax
lea esi, [ebp - 0x138]
call fcn.0042eb01
push dword [ebp - 0x13c]
mov edx, eax
add edx, 0x2c
lea ecx, [ebp - 0x80]
call fcn.0046a3d7
cmp dword [ebp - 0x64], edi
jne 0x469d47
cmp dword [ebx + 0x3c], edi
je 0x469d47
lea eax, [ebx + 0x28]
push eax
lea ecx, [ebp - 0x78]
call dword [0x4aa370]
lea eax, [ebp - 0xa0]
push eax
lea esi, [ebx + 0x80]
call fcn.0046a5e1
lea esi, [ebp - 0x138]
call fcn.00439cf6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
call fcn.00452ed9
jmp 0x469c5f
mov esi, dword [ebp - 0x13c]
mov edi, dword [esi + 0x470]
add esi, 0x46c
cmp edi, dword [esi + 8]
jbe 0x469d96
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], edi
mov esi, dword [ebp - 0x13c]
mov edi, dword [esi + 0x474]
add esi, 0x46c
cmp dword [esi + 4], edi
jbe 0x469dbf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], edi
lea edi, [ebp - 0x144]
lea esi, [ebp - 0x138]
call fcn.00465ad6
test al, al
je 0x469ed8
lea eax, [ebp - 0x130]
push eax
call fcn.0044f7ee
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x120], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x10c], eax
call fcn.0042eb01
push eax
lea ecx, [ebp - 0xd0]
call dword [0x4aa370]
mov dword [ebp - 0x128], 5
call fcn.0042eb01
xor edi, edi
cmp dword [eax + 0x54], edi
je 0x469e54
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0042eb01
push dword [eax + 0x54]
mov ecx, dword [ebp - 0x13c]
call fcn.0046a2e7
jmp 0x469e89
call fcn.0042eb01
add eax, 0x2c
cmp dword [eax + 0x14], edi
je 0x469e89
lea eax, [ebp - 0x108]
push eax
lea esi, [ebp - 0x138]
call fcn.0042eb01
push dword [ebp - 0x13c]
mov edx, eax
add edx, 0x2c
lea ecx, [ebp - 0x110]
call fcn.0046a3d7
cmp dword [ebp - 0xf4], edi
jne 0x469ea6
cmp dword [ebx + 0x3c], edi
je 0x469ea6
lea eax, [ebx + 0x28]
push eax
lea ecx, [ebp - 0x108]
call dword [0x4aa370]
lea eax, [ebp - 0x130]
push eax
lea esi, [ebx + 0x80]
call fcn.0046a5e1
lea esi, [ebp - 0x138]
call fcn.00439cf6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x130]
push eax
call fcn.00452ed9
jmp 0x469da2
call fcn.0049cc44
ret