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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504d76
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x5355a0]
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.00431a60
xor ebx, ebx
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x4f4], ebx
call fcn.004644a0
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x463e06
mov eax, dword [esp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add eax, 4
push eax
call esi
cmp eax, 0xffffffff
je 0x463e20
shr eax, 4
not al
and al, 1
jne 0x463e42
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x463e31
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00464580
test al, al
je 0x463f04
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x463e53
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call esi
or esi, 0xffffffff
cmp eax, esi
je 0x463e69
shr eax, 4
not al
and al, 1
jne 0x463ea5
mov ecx, edi
call fcn.00433db0
push 0x52303c
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
mov dword [esp + 0x5c], vtable.t_str.0
cmp byte [esp + 0x178], bl
jne 0x463f2a
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
jmp 0x463f1f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ebx
call fcn.00432570
test al, al
je 0x463ec2
cmp dword [esp + 0x14], 0x38
ja 0x463f31
lea ecx, [esp + 0x5c]
call fcn.004326d0
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x463edc
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00464580
test al, al
jne 0x463f31
mov ecx, edi
call fcn.00433db0
push 0x523050
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
mov dword [esp + 0x5c], vtable.t_str.0
cmp byte [esp + 0x178], bl
jne 0x463f2a
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x463f2a
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x464236
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.004349d0
cmp dword [esp + 0x2b0], ebx
je 0x463f75
mov dword [esp + 0x2b0], ebx
mov ecx, 1
lea esi, [esp + 0x198]
mov dword [esp + 0x194], ebx
call fcn.004358a0
lea eax, [esp + 0x19c]
cmp byte [esp + 0x2ac], bl
jne 0x463fa4
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], 0x51fc78
mov dword [esp + 0x4cc], ebx
mov dword [esp + 0x184], esi
mov dword [esp + 0x4d0], 0x521060
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.0043a3e0
test al, al
je 0x464116
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 0x464057
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x464057
xor eax, eax
jmp 0x464059
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.004cab10
add esp, 0xc
push 0x38
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x4dc]
call fcn.00441fe0
test al, al
je 0x464157
cmp dword [esp + 0x24], 0x46534650
jne 0x4640a5
cmp dword [esp + 0x3c], 0x38
jae 0x46417e
lea eax, [esp + 0x184]
push eax
call fcn.0043a600
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x4640c3
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00464580
test al, al
je 0x464177
mov eax, dword [esp + 0x14]
dec eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x46417e
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], 0x52106c
call fcn.0043a310
or esi, 0xffffffff
jmp 0x463f40
push 0x522ff8
mov ecx, edi
call fcn.00402790
mov byte [esp + 0x4f0], bl
mov dword [esp + 0x184], esi
lea ecx, [esp + 0x184]
mov dword [esp + 0x4d0], 0x52106c
call fcn.0043a310
lea ecx, [esp + 0x5c]
call fcn.00434b70
xor al, al
jmp 0x464236
push 0x523074
mov ecx, edi
call fcn.00402790
mov byte [esp + 0x4f0], bl
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x464130
push 0x523090
jmp 0x46415c
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.00475580
mov esi, eax
cmp esi, ebx
jne 0x4641a4
push 0x522f24
jmp 0x46415c
mov ecx, dword [esp + 0x14]
push 0x38
lea eax, [esp + 0x28]
push eax
push ecx
push esi
call fcn.004c6cb2
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.00441fe0
test al, al
jne 0x464218
mov eax, dword [esp + 0x14]
push eax
push ebx
push esi
call fcn.004cab10
add esp, 0xc
push 0x5230b4
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0x184]
mov byte [esp + 0x4f0], bl
call fcn.00441f70
lea ecx, [esp + 0x5c]
call fcn.00434b70
xor al, al
jmp 0x464236
lea ecx, [esp + 0x184]
mov byte [esp + 0x4f0], bl
call fcn.00441f70
lea ecx, [esp + 0x5c]
call fcn.00434b70
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.004c31a1
mov esp, ebp
pop ebp
ret 4