Function at 0x10007a30
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x588]
sub esp, 0x588
push 0xffffffffffffffff
push 0x10037a98
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x584], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x206
xor edi, edi
lea ecx, [ebp + 0x37e]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x14], esi
mov word [ebp + 0x37c], ax
call fcn.100285e0
push 0x103
lea edx, [ebp + 0x279]
push edi
mov dword [ebp - 4], edi
push edx
mov byte [ebp + 0x278], 0
call fcn.100285e0
push str.LckDeskSrv.ini
mov edx, str.LckDeskTop
lea ecx, [ebp + 0x37c]
call fcn.10020200
mov eax, esi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10007ac7
push edi
push edi
push 0x104
sub eax, edx
lea ecx, [ebp + 0x278]
push ecx
sar eax, 1
push eax
push esi
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call fcn.1001af90
lea edx, [ebp + 0x37c]
push edx
push esi
push str.Update_new_version__s_config_to_file_:_s_...
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
push 0x206
lea ecx, [ebp + 0x72]
xor eax, eax
push edi
push ecx
mov word [ebp + 0x70], ax
call fcn.100285e0
push str.LckDeskCommFinder.exe
xor edx, edx
lea ecx, [ebp + 0x70]
call fcn.10020200
mov ebx, 0xf
add esp, 0x10
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], edi
mov byte [ebp + 4], 0
lea edx, [ebp]
push edx
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 1
call fcn.10005960
mov esi, eax
add esp, 4
cmp esi, edi
je 0x10007b8b
call fcn.1001af90
mov edx, dword [ebp - 0x14]
push esi
lea ecx, [ebp + 0x70]
push ecx
push edx
push str.Update_new_version__s_cmd:_s_query_failed_error:_08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0x10
push 0x10049464
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], esi
call fcn.10028c35
lea eax, [ebp + 0x278]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007b94
sub eax, edx
push eax
lea ecx, [ebp + 0x278]
push ecx
lea edx, [ebp]
push edx
call fcn.1000eee0
cmp eax, edi
jge 0x10007bdf
call fcn.1001af90
mov ecx, dword [ebp - 0x14]
push ecx
push str.Update_new_version__s__not_found_in_rlt
mov ecx, eax
call fcn.1001b4f0
add esp, 8
push 0x10049464
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 2
call fcn.10028c35
push 2
push 0x1003f548
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], edi
mov byte [ebp + 0x20], 0
call fcn.10004150
push edi
lea eax, [ebp]
push eax
or eax, 0xffffffff
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.1000fe00
push 2
push 0x1003f548
mov eax, esi
call fcn.1000fef0
mov esi, dword [ebp + 0x30]
call fcn.1001af90
mov edx, dword [ebp - 0x14]
push esi
lea ecx, [ebp + 0x37c]
push ecx
push edx
push str.Update_new_version__s_config_to_file_:_s__length:_d
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
xor eax, eax
mov word [ebp + 0x58], ax
lea eax, [ebp + 0x37c]
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10007c56
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp + 0x37c]
push ecx
lea ecx, [ebp + 0x54]
call fcn.10001a60
push 4
push str..new
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 3
call fcn.10005480
mov ecx, dword [ebp + 0x58]
mov esi, 8
cmp dword [ebp + 0x6c], esi
jae 0x10007c98
lea ecx, [ebp + 0x58]
call fcn.1001ff60
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], esi
jae 0x10007ca8
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x37c]
call fcn.1001fed0
add esp, 4
cmp eax, edi
jne 0x10007d00
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x6c], esi
mov esi, dword [ebp + 0x58]
mov ebx, eax
jae 0x10007cce
lea esi, [ebp + 0x58]
call fcn.1001af90
mov ecx, dword [ebp - 0x14]
push ebx
push esi
lea edx, [ebp + 0x37c]
push edx
push ecx
push str.Update_new_version__s_config:_s_copy_to__s_failed_error:_08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0x14
push 0x10049464
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], ebx
call fcn.10028c35
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], esi
jae 0x10007d0b
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x10007d2c
mov ecx, dword [ebp + 0x58]
and eax, 0xfffffffe
cmp dword [ebp + 0x6c], esi
jae 0x10007d24
lea ecx, [ebp + 0x58]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x60], vtable.FseFileUtilDiskWin.0
mov dword [ebp - 0x40], 0xffffffff
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], esi
jae 0x10007d5b
lea eax, [ebp + 0x58]
push edi
push 1
push eax
lea ecx, [ebp - 0x60]
call fcn.10020610
mov esi, eax
cmp esi, edi
je 0x10007da4
cmp dword [ebp + 0x6c], 8
mov ebx, dword [ebp + 0x58]
jae 0x10007d79
lea ebx, [ebp + 0x58]
call fcn.1001af90
mov ecx, dword [ebp - 0x14]
push esi
push ebx
push ecx
push str.Update_new_version__s_config:_s_open_failed_error:_08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0x10
push 0x10049464
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], esi
call fcn.10028c35
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.10020a40
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.10020980
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x10007dd2
lea eax, [ebp + 0x20]
mov edx, dword [ebp + 0x30]
lea ecx, [ebp - 0x1c]
push ecx
push edx
push eax
lea ecx, [ebp - 0x60]
call fcn.10020870
mov esi, eax
cmp esi, edi
je 0x10007e20
cmp dword [ebp + 0x6c], 8
mov ebx, dword [ebp + 0x58]
jae 0x10007df5
lea ebx, [ebp + 0x58]
call fcn.1001af90
mov ecx, dword [ebp - 0x14]
push esi
push ebx
push ecx
push str.Update_new_version__s_config:_s_update_failed_error:_08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0x10
push 0x10049464
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], esi
call fcn.10028c35
lea ecx, [ebp - 0x60]
call fcn.100205d0
lea edx, [ebp + 0x37c]
lea esi, [ebp + 0x38]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.10003d20
mov eax, esi
push eax
mov edx, str..bak
mov byte [ebp - 4], 5
call fcn.10005120
inc dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0
mov edi, 8
jne 0x10007ea2
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], edi
jae 0x10007e66
lea ebx, [ebp + 0x3c]
lea esi, [ebp + 0x37c]
call fcn.100201a0
mov ebx, eax
test ebx, ebx
je 0x10007e9b
mov esi, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], edi
jae 0x10007e82
lea esi, [ebp + 0x3c]
call fcn.1001af90
mov edx, dword [ebp - 0x14]
push ebx
push esi
lea ecx, [ebp + 0x37c]
push ecx
push edx
push str.Update_new_version__s_config:_s_rename_to__s_failed_error:_08x
jmp 0x10007eee
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], edi
jae 0x10007ead
lea ecx, [ebp + 0x58]
lea eax, [ebp + 0x37c]
push eax
call fcn.1001fed0
add esp, 4
test eax, eax
jne 0x10007fbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 0x58]
mov ebx, eax
cmp dword [ebp + 0x6c], edi
jae 0x10007ed7
lea esi, [ebp + 0x58]
call fcn.1001af90
mov edx, dword [ebp - 0x14]
push ebx
lea ecx, [ebp + 0x37c]
push ecx
push esi
push edx
push str.Update_new_version__s_config:_s_copy_to__s_failed_error:_08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0x14
cmp dword [ebp - 0x18], 3
jb 0x10007e4d
mov edi, 8
test ebx, ebx
jne 0x10007f2b
mov ecx, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], edi
jae 0x10007f16
lea ecx, [ebp + 0x58]
call fcn.1001ff60
mov ecx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], edi
jae 0x10007f26
lea ecx, [ebp + 0x3c]
call fcn.1001ff60
cmp dword [ebp + 0x50], edi
jb 0x10007f3c
mov eax, dword [ebp + 0x3c]
push eax
call fcn.100269ba
add esp, 4
xor ecx, ecx
xor edi, edi
lea esi, [ebp - 0x60]
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x4c], edi
mov word [ebp + 0x3c], cx
call fcn.100141c0
cmp dword [ebp + 0x6c], 8
jb 0x10007f68
mov edx, dword [ebp + 0x58]
push edx
call fcn.100269ba
add esp, 4
xor eax, eax
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], ax
jb 0x10007f8a
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.100269ba
add esp, 4
cmp dword [ebp + 0x18], 0x10
mov esi, 0xf
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], edi
mov byte [ebp + 0x20], 0
jb 0x10007fab
mov edx, dword [ebp + 4]
push edx
call fcn.100269ba
add esp, 4
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], edi
mov byte [ebp + 4], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x10007fef
xor ebx, ebx
jmp 0x10007f0b
mov edx, dword [ebp - 0x14]
lea ecx, [ebp + 0x37c]
push ecx
push edx
push ebx
push str.CheckUpdateVersionConfig_Rlt:_08x_Ver:_s_ConfigPath:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x584]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x588
mov esp, ebp
pop ebp
ret