Function at 0x4675d0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50dce6
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], esi
call fcn.00435d60
xor ebx, ebx
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x4f4], ebx
call fcn.00467b20
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467646
mov eax, dword [esp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add eax, 4
push eax
call esi
cmp eax, 0xffffffff
je 0x467660
shr eax, 4
not al
and al, 1
jne 0x467682
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467671
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00467c00
test al, al
je 0x467744
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467693
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call esi
or esi, 0xffffffff
cmp eax, esi
je 0x4676a9
shr eax, 4
not al
and al, 1
jne 0x4676e5
mov ecx, edi
call fcn.00438300
push 0x52ca3c
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
mov dword [esp + 0x5c], vtable.t_str.0
cmp byte [esp + 0x178], bl
jne 0x46776a
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
jmp 0x46775f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ebx
call fcn.00436850
test al, al
je 0x467702
cmp dword [esp + 0x14], 0x38
ja 0x467771
lea ecx, [esp + 0x5c]
call fcn.004369b0
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x46771c
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00467c00
test al, al
jne 0x467771
mov ecx, edi
call fcn.00438300
push 0x52ca50
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
mov dword [esp + 0x5c], vtable.t_str.0
cmp byte [esp + 0x178], bl
jne 0x46776a
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x46776a
push eax
call fcn.004cc2c0
add esp, 4
xor al, al
jmp 0x467a76
mov dword [esp + 0x14], 3
lea esp, [esp]
lea ecx, [esp + 0x190]
mov dword [esp + method.t_file.virtual_0], vtable.t_file.0
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], esi
call fcn.00438f20
cmp dword [esp + 0x2b0], ebx
je 0x4677b5
mov dword [esp + 0x2b0], ebx
mov ecx, 1
lea esi, [esp + 0x198]
mov dword [esp + 0x194], ebx
call fcn.00439d90
lea eax, [esp + 0x19c]
cmp byte [esp + 0x2ac], bl
jne 0x4677e4
mov eax, dword [esp + 0x198]
xor edx, edx
mov word [eax + 4], dx
xor eax, eax
mov esi, vtable.t_fileRead.0
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x4c4], 8
mov word [esp + 0x2bc], ax
mov dword [esp + method.t_path::t_mutex.virtual_0], vtable.t_path::t_mutex.0
mov dword [esp + 0x4c8], 0x52a528
mov dword [esp + 0x4cc], ebx
mov dword [esp + 0x184], esi
mov dword [esp + 0x4d0], 0x52aa20
mov dword [esp + 0x4d4], ebx
mov dword [esp + 0x4d8], ebx
push ebx
push edi
lea ecx, [esp + 0x18c]
push ecx
lea eax, [esp + 0x68]
mov byte [esp + 0x4fc], 1
call fcn.00441af0
test al, al
je 0x467956
mov eax, dword [esp + 0x188]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x467897
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x467897
xor eax, eax
jmp 0x467899
mov eax, esi
push 0x34
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov dword [esp + 0x4e0], eax
mov dword [esp + 0x30], ebx
call fcn.004d3360
add esp, 0xc
push 0x38
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x4dc]
call fcn.00446be0
test al, al
je 0x467997
cmp dword [esp + 0x24], 0x46534650
jne 0x4678e5
cmp dword [esp + 0x3c], 0x38
jae 0x4679be
lea eax, [esp + 0x184]
push eax
call fcn.00441d10
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467903
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00467c00
test al, al
je 0x4679b7
mov eax, dword [esp + 0x14]
dec eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x4679be
mov byte [esp + 0x4f0], bl
lea ecx, [esp + 0x184]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4d0], 0x52aa2c
call fcn.00441a20
or esi, 0xffffffff
jmp 0x467780
push 0x52c9f8
mov ecx, edi
call fcn.00402790
mov byte [esp + 0x4f0], bl
mov dword [esp + 0x184], esi
lea ecx, [esp + 0x184]
mov dword [esp + 0x4d0], 0x52aa2c
call fcn.00441a20
lea ecx, [esp + 0x5c]
call fcn.00439080
xor al, al
jmp 0x467a76
push 0x52ca74
mov ecx, edi
call fcn.00402790
mov byte [esp + 0x4f0], bl
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x467970
push 0x52ca90
jmp 0x46799c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], eax
call fcn.0047c730
mov esi, eax
cmp esi, ebx
jne 0x4679e4
push 0x52c930
jmp 0x46799c
mov ecx, dword [esp + 0x14]
push 0x38
lea eax, [esp + 0x28]
push eax
push ecx
push esi
call fcn.004cfe0d
mov eax, dword [esp + 0x4e4]
sub eax, dword [esp + 0x4e8]
add esp, 0x10
push eax
lea edx, [esi + 0x38]
push edx
push edi
lea ecx, [esp + 0x4dc]
call fcn.00446be0
test al, al
jne 0x467a58
mov eax, dword [esp + 0x14]
push eax
push ebx
push esi
call fcn.004d3360
add esp, 0xc
push 0x52cab4
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0x184]
mov byte [esp + 0x4f0], bl
call fcn.00446b70
lea ecx, [esp + 0x5c]
call fcn.00439080
xor al, al
jmp 0x467a76
lea ecx, [esp + 0x184]
mov byte [esp + 0x4f0], bl
call fcn.00446b70
lea ecx, [esp + 0x5c]
call fcn.00439080
mov al, 1
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.004cc2b1
mov esp, ebp
pop ebp
ret 4