Function at 0x468380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x505996
mov eax, dword fs:[0]
push eax
mov eax, 0x1308
call fcn.004ced80
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x1300], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x131c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x132c]
mov edi, ecx
lea ecx, [esp + 0x5fc]
mov dword [esp + 0x1c], eax
mov ebx, edx
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x5fc]
mov dword [esp + 0x1324], 0
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.sgim_picidx.v2.bin
lea ecx, [esp + 0x3c4]
call fcn.00431ac0
cmp byte [esp + 0x4c8], 0
lea eax, [esp + 0x3b8]
jne 0x468426
mov eax, dword [esp + 0x3b4]
mov ebp, 0x2e
lea ecx, [esp + 0x3ac]
cmp word [eax + 4], bp
jne 0x468446
lea esi, [esp + 0x5fc]
call fcn.00432c10
jmp 0x468453
push ecx
lea ecx, [esp + 0x600]
call fcn.004320b0
cmp byte [esp + 0x4c8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x468483
mov eax, dword [esp + 0x3b4]
lea edx, [esp + 0x3b8]
cmp eax, edx
je 0x468483
push eax
call fcn.004c31b0
add esp, 4
lea ecx, [esp + 0x4d4]
mov dword [esp + 0x1324], 1
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x4d4]
mov byte [esp + 0x1324], 2
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.sgim_piccell.v2.bin
lea ecx, [esp + 0x3c4]
call fcn.00431ac0
cmp byte [esp + 0x4c8], 0
lea eax, [esp + 0x3b8]
jne 0x4684e3
mov eax, dword [esp + 0x3b4]
cmp word [eax + 4], bp
jne 0x4684fe
lea ecx, [esp + 0x3ac]
lea esi, [esp + 0x4d4]
call fcn.00432c10
jmp 0x468512
lea eax, [esp + 0x3ac]
push eax
lea ecx, [esp + 0x4d8]
call fcn.004320b0
cmp byte [esp + 0x4c8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x468542
mov eax, dword [esp + 0x3b4]
lea ecx, [esp + 0x3b8]
cmp eax, ecx
je 0x468542
push eax
call fcn.004c31b0
add esp, 4
mov byte [esp + 0x1324], 3
cmp byte [esp + 0x718], 0
lea eax, [esp + 0x608]
jne 0x468562
mov eax, dword [esp + 0x604]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add eax, 4
push eax
call ebp
cmp eax, 0xffffffff
je 0x4685ac
shr eax, 4
not al
and al, 1
je 0x4685ac
cmp byte [esp + 0x5f0], 0
lea eax, [esp + 0x4e0]
jne 0x468594
mov eax, dword [esp + 0x4dc]
add eax, 4
push eax
call ebp
cmp eax, 0xffffffff
je 0x4685ac
shr eax, 4
not al
and al, 1
jne 0x468d2a
lea ecx, [esp + 0x724]
call fcn.004349d0
mov eax, ebx
lea edx, [esp + 0x724]
mov byte [esp + 0x1324], 4
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.sgim_picidx.v2.bin
lea ecx, [esp + 0x64]
call fcn.00431ac0
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x4685f8
mov eax, dword [esp + 0x54]
cmp word [eax + 4], 0x2e
jne 0x468611
lea ecx, [esp + 0x4c]
lea esi, [esp + 0x724]
call fcn.00432c10
jmp 0x468622
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x728]
call fcn.004320b0
cmp byte [esp + 0x168], 0
mov dword [esp + 0x4c], vtable.t_str.0
jne 0x468649
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x468649
push eax
call fcn.004c31b0
add esp, 4
mov esi, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x600]
push edx
push esi
lea ecx, [esp + 0x730]
mov byte [esp + 0x1330], 5
call fcn.00432ee0
test al, al
jne 0x46871f
mov ecx, esi
call fcn.00433db0
push 0x523664
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x840], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x724], esi
jne 0x4686c0
mov eax, dword [esp + 0x72c]
lea ecx, [esp + 0x730]
cmp eax, ecx
je 0x4686c0
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x5f0], 0
mov dword [esp + 0x4d4], esi
jne 0x4686ec
mov eax, dword [esp + 0x4dc]
lea edx, [esp + 0x4e0]
cmp eax, edx
je 0x4686ec
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], esi
jne 0x468718
mov eax, dword [esp + 0x604]
lea ecx, [esp + 0x608]
cmp eax, ecx
je 0x468718
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x468d89
lea ecx, [esp + 0x3ac]
call fcn.004349d0
mov eax, ebx
lea edx, [esp + 0x3ac]
mov byte [esp + 0x1324], 6
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.sgim_piccell.v2.bin
lea ecx, [esp + 0x64]
call fcn.00431ac0
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x46876b
mov eax, dword [esp + 0x54]
cmp word [eax + 4], 0x2e
jne 0x468784
lea ecx, [esp + 0x4c]
lea esi, [esp + 0x3ac]
call fcn.00432c10
jmp 0x468795
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x3b0]
call fcn.004320b0
cmp byte [esp + 0x168], 0
mov ebx, vtable.t_str.0
mov dword [esp + 0x4c], ebx
jne 0x4687bd
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x4687bd
push eax
call fcn.004c31b0
add esp, 4
mov esi, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x4d8]
push edx
push esi
lea ecx, [esp + 0x3b8]
mov byte [esp + 0x1330], 7
call fcn.00432ee0
test al, al
jne 0x4688b1
mov ecx, esi
call fcn.00433db0
push 0x523664
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x4c8], 0
mov dword [esp + 0x3ac], ebx
jne 0x46882f
mov eax, dword [esp + 0x3b4]
lea ecx, [esp + 0x3b8]
cmp eax, ecx
je 0x46882f
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x840], 0
mov dword [esp + 0x724], ebx
jne 0x46885b
mov eax, dword [esp + 0x72c]
lea edx, [esp + 0x730]
cmp eax, edx
je 0x46885b
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x5f0], 0
mov dword [esp + 0x4d4], ebx
jne 0x468887
mov eax, dword [esp + 0x4dc]
lea ecx, [esp + 0x4e0]
cmp eax, ecx
je 0x468887
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], ebx
jne 0x468718
mov eax, dword [esp + 0x604]
lea edx, [esp + 0x608]
cmp eax, edx
jmp 0x46870d
lea ecx, [esp + 0x84c]
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x84c]
mov byte [esp + 0x1324], 8
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.sgim_picidx.v1.bin
lea ecx, [esp + 0x64]
call fcn.00431ac0
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x4688fd
mov eax, dword [esp + 0x54]
mov ebx, 0x2e
cmp word [eax + 4], bx
jne 0x46891a
lea ecx, [esp + 0x4c]
lea esi, [esp + 0x84c]
call fcn.00432c10
jmp 0x46892b
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x850]
call fcn.004320b0
cmp byte [esp + 0x168], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x4c], esi
jne 0x468953
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x468953
push eax
call fcn.004c31b0
add esp, 4
lea ecx, [esp + 0x974]
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x974]
mov byte [esp + 0x1324], 0xa
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.sgim_piccell.v1.bin
lea ecx, [esp + 0x190]
call fcn.00431ac0
cmp byte [esp + 0x294], 0
lea eax, [esp + 0x184]
jne 0x4689a8
mov eax, dword [esp + 0x180]
cmp word [eax + 4], bx
jne 0x4689c8
lea ecx, [esp + 0x178]
lea esi, [esp + 0x974]
call fcn.00432c10
mov esi, vtable.t_str.0
jmp 0x4689dc
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0x978]
call fcn.004320b0
cmp byte [esp + 0x294], 0
mov dword [esp + 0x178], esi
jne 0x468a08
mov eax, dword [esp + 0x180]
lea ecx, [esp + 0x184]
cmp eax, ecx
je 0x468a08
push eax
call fcn.004c31b0
add esp, 4
mov byte [esp + 0x1324], 0xb
cmp byte [esp + 0x968], 0
lea eax, [esp + 0x858]
jne 0x468a28
mov eax, dword [esp + 0x854]
add eax, 4
push eax
call ebp
cmp eax, 0xffffffff
je 0x468cba
shr eax, 4
not al
and al, 1
je 0x468cba
lea ecx, [esp + 0x974]
call fcn.004322a0
test al, al
je 0x468cba
lea edx, [esp + 0xa9c]
push edx
call fcn.0045daf0
lea eax, [esp + 0x20]
push eax
push 0x1fff8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], fcn.004c328d
mov dword [esp + 0x2c], fcn.004c53b2
mov dword [esp + 0x30], fcn.004c31b0
call fcn.004027c0
mov byte [esp + 0x1324], 0xd
cmp byte [esp + 0x5f0], 0
lea eax, [esp + 0x4e0]
jne 0x468ab0
mov eax, dword [esp + 0x4dc]
add eax, 4
cmp byte [esp + 0x718], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x608]
jne 0x468acf
mov eax, dword [esp + 0x604]
add eax, 4
cmp byte [esp + 0xa90], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x980]
jne 0x468aee
mov eax, dword [esp + 0x97c]
add eax, 4
cmp byte [esp + 0x968], 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x858]
jne 0x468b0d
mov eax, dword [esp + 0x854]
lea ecx, [esp + 0x4c]
add eax, 4
push ecx
mov dword [esp + 0x34], eax
call fcn.0046de20
lea edx, [esp + 0x29c]
mov bl, 0xe
push edx
mov byte [esp + 0x1328], bl
call fcn.0046de20
mov esi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0xab4]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x1340], 0xf
call fcn.0045f4f0
test al, al
jne 0x468c33
push str._bTvV
mov ecx, esi
call fcn.00402790
lea edx, [esp + 0x29c]
push edx
mov byte [esp + 0x1328], bl
call fcn.0046dee0
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1328], 0xd
call fcn.0046dee0
mov byte [esp + 0x1324], 0xc
mov esi, dword [esp + 0x44]
test esi, esi
je 0x468bcf
mov edi, dword [esp + 0x40]
lea esp, [esp]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x468bc0
lea ecx, [esp + 0xa9c]
push ecx
mov byte [esp + 0x1328], 0xb
call fcn.0045dc20
lea ecx, [esp + 0x974]
call fcn.00434b70
lea ecx, [esp + 0x84c]
call fcn.00434b70
lea ecx, [esp + 0x3ac]
call fcn.00434b70
lea ecx, [esp + 0x724]
call fcn.00434b70
lea ecx, [esp + 0x4d4]
call fcn.00434b70
lea ecx, [esp + 0x5fc]
call fcn.00434b70
xor al, al
jmp 0x468d89
push esi
lea edx, [esp + 0xaa0]
push edx
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.0045fd10
test al, al
jne 0x468c57
push 0x5236fc
mov ecx, esi
call fcn.00402790
lea eax, [esp + 0x29c]
push eax
mov byte [esp + 0x1328], bl
call fcn.0046dee0
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x1328], 0xd
call fcn.0046dee0
mov byte [esp + 0x1324], 0xc
mov esi, dword [esp + 0x44]
test esi, esi
je 0x468ca0
mov edi, dword [esp + 0x40]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x468c91
lea edx, [esp + 0xa9c]
push edx
mov byte [esp + 0x1328], 0xb
call fcn.0045dc20
mov esi, vtable.t_str.0
cmp byte [esp + 0xa90], 0
mov dword [esp + 0x974], esi
jne 0x468ce6
mov eax, dword [esp + 0x97c]
lea ecx, [esp + 0x980]
cmp eax, ecx
je 0x468ce6
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x968], 0
mov dword [esp + 0x84c], esi
jne 0x468d12
mov eax, dword [esp + 0x854]
lea edx, [esp + 0x858]
cmp eax, edx
je 0x468d12
push eax
call fcn.004c31b0
add esp, 4
lea ecx, [esp + 0x3ac]
call fcn.00434b70
lea ecx, [esp + 0x724]
call fcn.00434b70
cmp byte [esp + 0x5f0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x4d4], esi
jne 0x468d5b
mov eax, dword [esp + 0x4dc]
lea ecx, [esp + 0x4e0]
cmp eax, ecx
je 0x468d5b
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], esi
jne 0x468d87
mov eax, dword [esp + 0x604]
lea edx, [esp + 0x608]
cmp eax, edx
je 0x468d87
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x131c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1300]
xor ecx, esp
call fcn.004c31a1
add esp, 0x1314
ret 4