Function at 0x464610
Capabilities:
Check if file exists

Disassembly:
push 0xfc
mov eax, 0x5e10d1
call fcn.00593b07
mov edi, ecx
cmp dword [edi + 0x78c], 0
mov ebx, dword [ebp + 8]
je 0x4648ce
lea esi, [edi + 0x77c]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x464641
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4648ce
xor eax, eax
mov dword [ebp - method.CxAutoArray_unsigned_char_.virtual_0], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0xec], eax
jb 0x464679
mov esi, dword [esi]
lea eax, [ebp - 0xec]
mov ecx, esi
push eax
lea edx, [ebp - 0x104]
call fcn.0041e238
pop ecx
test eax, eax
je 0x4648c3
cmp dword [ebp - 0xec], 0
je 0x4648c3
push dword [ebp - 0xec]
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x104]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040464f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00464489
push 0
lea ecx, [ebp - 0xfc]
call fcn.00404ba6
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.00401c84
lea ecx, [ebp - 0x78]
call fcn.00406b04
push 1
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00401d1d
test al, al
je 0x46489d
lea ecx, [ebp - 0xfc]
call fcn.00405673
test al, al
jne 0x46489d
call fcn.004056d7
test al, al
je 0x46489d
lea esi, [edi + 0x734]
push 0x63cf00
mov ecx, esi
call fcn.0041084d
test al, al
jne 0x464773
push str.experience
mov ecx, esi
call fcn.0041084d
test al, al
jne 0x464773
push 0
lea ecx, [ebp - 0x20]
call fcn.00404c03
mov byte [ebp - 4], 6
jmp 0x464781
push 1
lea ecx, [ebp - 0x20]
call fcn.00404c03
mov byte [ebp - 4], 5
lea eax, [ebp - 0x20]
push eax
push str.is_preview
lea ecx, [ebp - 0xfc]
call fcn.00405401
mov ecx, eax
call fcn.00404e62
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00404dbc
and dword [ebp - 0xec], 0
lea ecx, [ebp - 0x28]
mov esi, str.auto_play_sound
push esi
call fcn.004045aa
lea edx, [ebp - 0xec]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.004cefc8
lea ecx, [ebp - 0x28]
call fcn.00404812
push dword [ebp - 0xec]
lea ecx, [ebp - 0x20]
call fcn.00404c03
mov eax, ecx
mov byte [ebp - 4], 8
push eax
push esi
lea ecx, [ebp - 0xfc]
call fcn.00405401
mov ecx, eax
call fcn.00404e62
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00404dbc
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.00406b1f
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
lea eax, [ebp - 0x58]
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [ebp - 0x28]
call fcn.00430ab2
add esp, 0x18
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x46484f
mov eax, dword [eax]
push eax
push 0x6d7
push str.WorkerWnd::OnReadConfig
push str.__s__d__OnReadConfig__s
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040b67e
test ebx, ebx
je 0x464882
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.00404698
push 0x10
lea edx, [edi + 0x70c]
mov ecx, 0xfbf
call fcn.0045eeed
pop ecx
lea ecx, [ebp - 0x58]
call fcn.00404812
lea ecx, [ebp - 0x78]
call fcn.004065e4
lea ecx, [ebp - 0xe8]
call fcn.00402bc3
lea ecx, [ebp - 0xfc]
call fcn.00404dbc
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0x108]
call fcn.0041e3bd
call fcn.00593ab1
ret 4