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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x507936
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
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.00435900
xor ebx, ebx
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x4f4], ebx
call fcn.00467720
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467246
mov eax, dword [esp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add eax, 4
push eax
call esi
cmp eax, 0xffffffff
je 0x467260
shr eax, 4
not al
and al, 1
jne 0x467282
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467271
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00467800
test al, al
je 0x467344
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467293
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call esi
or esi, 0xffffffff
cmp eax, esi
je 0x4672a9
shr eax, 4
not al
and al, 1
jne 0x4672e5
mov ecx, edi
call fcn.00437ec0
push 0x52501c
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
mov dword [esp + 0x5c], vtable.t_str.0
cmp byte [esp + 0x178], bl
jne 0x46736a
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
jmp 0x46735f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ebx
call fcn.00436410
test al, al
je 0x467302
cmp dword [esp + 0x14], 0x38
ja 0x467371
lea ecx, [esp + 0x5c]
call fcn.00436570
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x46731c
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00467800
test al, al
jne 0x467371
mov ecx, edi
call fcn.00437ec0
push 0x525030
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
mov dword [esp + 0x5c], vtable.t_str.0
cmp byte [esp + 0x178], bl
jne 0x46736a
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x46736a
push eax
call fcn.004c6103
add esp, 4
xor al, al
jmp 0x467676
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.00438ae0
cmp dword [esp + 0x2b0], ebx
je 0x4673b5
mov dword [esp + 0x2b0], ebx
mov ecx, 1
lea esi, [esp + 0x198]
mov dword [esp + 0x194], ebx
call fcn.00439970
lea eax, [esp + 0x19c]
cmp byte [esp + 0x2ac], bl
jne 0x4673e4
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], 0x522b08
mov dword [esp + 0x4cc], ebx
mov dword [esp + 0x184], esi
mov dword [esp + 0x4d0], 0x523000
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.004417d0
test al, al
je 0x467556
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 0x467497
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x467497
xor eax, eax
jmp 0x467499
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.004cd250
add esp, 0xc
push 0x38
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x4dc]
call fcn.00446840
test al, al
je 0x467597
cmp dword [esp + 0x24], 0x46534650
jne 0x4674e5
cmp dword [esp + 0x3c], 0x38
jae 0x4675be
lea eax, [esp + 0x184]
push eax
call fcn.004419f0
lea eax, [esp + 0x68]
cmp byte [esp + 0x178], bl
jne 0x467503
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00467800
test al, al
je 0x4675b7
mov eax, dword [esp + 0x14]
dec eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x4675be
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], 0x52300c
call fcn.00441700
or esi, 0xffffffff
jmp 0x467380
push 0x524fd8
mov ecx, edi
call fcn.00402790
mov byte [esp + 0x4f0], bl
mov dword [esp + 0x184], esi
lea ecx, [esp + 0x184]
mov dword [esp + 0x4d0], 0x52300c
call fcn.00441700
lea ecx, [esp + 0x5c]
call fcn.00438c80
xor al, al
jmp 0x467676
push 0x525054
mov ecx, edi
call fcn.00402790
mov byte [esp + 0x4f0], bl
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x467570
push 0x525070
jmp 0x46759c
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.0047c1d0
mov esi, eax
cmp esi, ebx
jne 0x4675e4
push 0x524f10
jmp 0x46759c
mov ecx, dword [esp + 0x14]
push 0x38
lea eax, [esp + 0x28]
push eax
push ecx
push esi
call fcn.004c9cf6
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.00446840
test al, al
jne 0x467658
mov eax, dword [esp + 0x14]
push eax
push ebx
push esi
call fcn.004cd250
add esp, 0xc
push 0x525094
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0x184]
mov byte [esp + 0x4f0], bl
call fcn.004467d0
lea ecx, [esp + 0x5c]
call fcn.00438c80
xor al, al
jmp 0x467676
lea ecx, [esp + 0x184]
mov byte [esp + 0x4f0], bl
call fcn.004467d0
lea ecx, [esp + 0x5c]
call fcn.00438c80
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.004c60f4
mov esp, ebp
pop ebp
ret 4