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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00433fd0
xor eax, eax
push ebp
push 0x435292
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x4350d8
call fcn.00406434
jmp 0x435299
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 5
jae 0x43527c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x46f334]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x435149
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407780
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x435136
test byte [ebp - 0x24], 1
je 0x435136
mov eax, dword [ebp - 0x24]
and eax, 0xfffffffe
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407780
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x203
call fcn.00427110
mov dword [ebp - 0x10], eax
mov eax, dword [0x46f334]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x435177
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00426eb0
test al, al
jne 0x435177
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x200
call fcn.00427110
mov dword [ebp - 0x10], eax
mov eax, dword [0x46f334]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x43525f
push 0
push 0
mov edx, 2
mov eax, dword [ebp - 0x10]
call fcn.00415bb0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0xffffffff
jne 0x4351bc
cmp dword [eax + 0x20], 0xffffffff
jne 0x4351bc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x24], edx
cmp dword [ebp - 0x1c], 0
jne 0x4351ec
cmp dword [ebp - 0x20], 0
jne 0x4351ec
cmp dword [ebp - 0xc], 0
je 0x43521f
mov eax, dword [ebp - 0xc]
call fcn.004070f4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004074e8
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.00415b78
jmp 0x43521f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp edx, dword [ebp - 0x1c]
jne 0x435200
cmp eax, dword [ebp - 0x20]
jae 0x43521f
jmp 0x435202
jge 0x43521f
mov eax, dword [0x46f334]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00434d40
jmp 0x435272
cmp dword [ebp - 8], 0
je 0x435241
mov eax, dword [ebp - 8]
call fcn.004070f4
push eax
mov eax, dword [ebp - 8]
call fcn.004074e8
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.00415b78
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
je 0x435255
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
jmp 0x43527c
mov eax, dword [ebp - 0x10]
call fcn.00415c00
jmp 0x43527c
mov eax, 0xa
call fcn.00405060
push eax
call sub.KERNEL32.DLL_Sleep
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 5
jb 0x4350e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435299
mov eax, dword [ebp - 4]
call fcn.004349c0
ret
mov esp, ebp
pop ebp
ret