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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425b51
push eax
mov dword fs:[0], esp
sub esp, 0x168
cmp dword [ecx + 4], 0
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
je 0x425892
mov eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x24]
mov ebx, 1
call fcn.004300e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x570958
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004300e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x570928
mov byte [ebp - 4], 3
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4259b4
cmp byte [edi], 0
je 0x4259b4
push edi
lea eax, [ebp - 0x174]
push 0x104
push eax
call fcn.00401160
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x425922
mov byte [ebp - 4], bl
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
jmp 0x42587a
test al, 0x10
jne 0x42594f
lea esi, [ebp - 0x24]
push edi
mov ecx, esi
call fcn.004303b0
test eax, eax
je 0x42597e
mov byte [ebp - 4], 1
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
jmp 0x42587a
lea esi, [ebp - 0x18]
lea eax, [ebp - 0x174]
push eax
mov ecx, esi
call fcn.00430300
test eax, eax
je 0x42597e
mov byte [ebp - 4], 1
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
jmp 0x42587a
push 0
mov eax, dword [ebp + 8]
push 0x80000001
mov ecx, dword [ebp - 0x1c]
push eax
mov ebx, dword [esi]
push ecx
mov ecx, esi
call dword [ebx + 0xc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], eax
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
mov eax, dword [ebp - 0x10]
jmp 0x42587f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x174]
push eax
push 0x104
push ecx
call fcn.00401160
add esp, 0xc
lea ecx, [ebp - 0x174]
mov ebx, 0x5c
push ecx
lea ecx, [ebp - 0x38]
call fcn.00424280
push 0xffffffffffffffff
lea ecx, [ebp - 0x5d]
mov byte [ebp - 4], 4
push ecx
mov byte [ebp - 0x5d], bl
mov byte [ebp - 0x49], 0x2f
lea ecx, [ebp - 0x38]
call fcn.0042f660
mov esi, eax
push 0xffffffffffffffff
lea eax, [ebp - 0x49]
lea ecx, [ebp - 0x38]
push eax
call fcn.0042f660
cmp esi, eax
jle 0x425a18
push 0xffffffffffffffff
mov byte [ebp - 0x39], bl
lea ebx, [ebp - 0x39]
push ebx
jmp 0x425a22
push 0xffffffffffffffff
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0x2f
push eax
lea ecx, [ebp - 0x38]
call fcn.0042f660
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x425a56
mov byte [ebp - 4], 3
call fcn.00425b31
mov byte [ebp - 4], 1
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
jmp 0x42587a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0042f800
push eax
lea ecx, [ebp - 0x70]
call fcn.00424210
mov byte [ebp - 4], 5
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.00430300
mov byte [ebp - 4], 4
cmp eax, 1
sbb eax, eax
inc eax
mov dword [ebp - 0x3c], eax
call fcn.00425b29
cmp dword [ebp - 0x3c], 0
je 0x425aba
mov byte [ebp - 4], 3
call fcn.00425b31
mov byte [ebp - 4], 1
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
jmp 0x42587a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0042f860
push eax
lea ecx, [ebp - 0x5c]
call fcn.00424210
push 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
push 0x80000001
mov eax, dword [eax + 8]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004301f0
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], eax
call fcn.00425b21
mov byte [ebp - 4], 3
call fcn.00425b31
mov byte [ebp - 4], 1
call fcn.00425b41
mov dword [ebp - 4], 0xffffffff
call fcn.00425b5b
mov eax, dword [ebp - 0x10]
jmp 0x42587f