Function at 0x424ea0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 4]
cmp dword [eax - 8], edi
jne 0x424eef
mov ecx, dword [ebp + 8]
push 0x495728
call fcn.00444450
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
cmp eax, edi
jne 0x424f02
push 0x49574c
push 0x49577c
jmp 0x424f11
cmp eax, 2
jne 0x424f19
push 0x49579c
push 0x4957c8
call fcn.00423ce0
add esp, 8
mov ecx, dword [0x4981ec]
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], edi
neg eax
sbb eax, eax
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x425065
mov bl, 6
mov edx, dword [0x4981ec]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x2c]
push ecx
push edx
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
call fcn.0043eff0
cmp dword [ebp - 0x14], edi
je 0x4250cd
lea eax, [ebp - 0x18]
push 0x4957f4
lea ecx, [ebp - 0x30]
push eax
push ecx
call fcn.004445c0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004447c0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00444260
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
neg eax
sbb eax, eax
cmp eax, edi
mov dword [ebp - 0x28], eax
je 0x425050
mov eax, dword [0x4981ec]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
push ecx
push edx
lea ecx, [eax + 4]
mov byte [ebp - 4], 4
call fcn.0043f2d0
lea ecx, [ebp - 0x24]
push 0x3d
lea edx, [ebp - 0x3c]
push ecx
push edx
call fcn.0043cbd0
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x38]
push ecx
push eax
push edx
mov byte [ebp - 4], 5
call fcn.00444530
push 0x4957f8
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], bl
push eax
call fcn.004445c0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004447c0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00444260
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00444260
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00444260
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00444260
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00444260
cmp dword [ebp - 0x28], edi
jne 0x424fa6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00444260
cmp dword [ebp - 0x2c], edi
jne 0x424f39
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ebx
push ecx
mov ecx, esi
call fcn.00424de0
mov esi, eax
cmp esi, edi
jne 0x42510a
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x425141
test al, 0x10
jne 0x425141
mov eax, dword [ebp - 0x1c]
push 0x80
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x425141
push ebx
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
call fcn.00424de0
mov esi, eax
cmp esi, edi
je 0x425141
jmp 0x42510d
mov ecx, dword [ebp + 8]
push 0x4957e8
call fcn.00444450
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00444260
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00444260
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x1c]
mov dword [ebx + 0x28], edi
mov ebx, dword [ebx + 4]
mov dword [ebp + 8], edi
push edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.004229a0
push ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00422a10
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x42513e
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp + 8], edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00444260
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4