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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cfbd
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5e9db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x9c], eax
cmp eax, 0xffffffff
jne 0x426c5b
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004052f0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0xa4], ebx
push 0x5b35a4
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.00401d50
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea edx, [ebp - 0xac]
push edx
mov byte [ebp - 4], 1
call fcn.0041ba90
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00405080
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c5b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
test byte [ebp - 0x9c], 1
je 0x426ceb
push str._Read_Only
lea ecx, [ebp - 0xa0]
call fcn.00401d50
push eax
lea eax, [ebp - 0x9c]
push esi
mov ebx, 3
push eax
mov dword [ebp - 4], ebx
call fcn.0041ba90
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426cc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
lea ecx, [ebp - 0x98]
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x426d99
mov eax, dword [ebp - 0x78]
push 0xa
lea edx, [ebp - 0x74]
push edx
push eax
call fcn.0056db4e
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.0041b810
push eax
lea edx, [ebp - 0xa4]
push esi
mov ebx, 5
push edx
mov dword [ebp - 4], ebx
call fcn.0041ba90
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426d70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426d99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret