Function at 0x473dd0
Capabilities:
Get common file path
Read .ini file
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x105
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00503920
add esp, 0xc
call fcn.00407620
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x473e45
movaps xmm0, xmmword [0x5648a0]
lea ecx, [ebp - 0x30]
push ecx
push eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x61507265
mov dword [ebp - 0x1c], 0x416874
call edi
mov dword [esi + 0x28], eax
push 0
push 0x23
lea eax, [ebp - 0x270]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4740fc
push 0x105
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x168]
push 0x105
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [ebp - 0x168]
push str._roundinfo.ini
push 0x105
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x27a]
xorps xmm0, xmm0
push eax
movzx eax, word [ebp - 0x27e]
push eax
movzx eax, word [ebp - 0x280]
push eax
push str._d__d__d
lea eax, [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm0
push 0x14
push eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x4c], 0
call fcn.004744d0
add esp, 0x18
call fcn.004074f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x473f17
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x40]
push ecx
push eax
movups xmmword [ebp - 0x40], xmm0
call edi
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x168]
push eax
mov eax, dword [esi + 0x18]
call eax
test eax, eax
lea eax, [ebp - 0x168]
je 0x47407a
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x20], 0
push eax
push 0x14
lea eax, [ebp - 0x30]
mov byte [ebp - 0x1c], 0
push eax
push 0
push str.time
xorps xmm0, xmm0
push str.info
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x473f94
test dl, dl
je 0x473f90
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x473f94
add eax, 2
add ecx, 2
test dl, dl
jne 0x473f74
xor eax, eax
jmp 0x473f99
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x168]
push eax
jne 0x4740a6
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.install
push str.info
call esi
mov edi, eax
lea eax, [ebp - 0x168]
push eax
push 1
push str.round
push str.info
call esi
mov word [ebp - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov esi, eax
mov byte [ebp - 0x32], 0
cmp edi, 1
jne 0x473fed
inc esi
push esi
push 0x56426c
lea eax, [ebp - 0x3c]
push 0xa
push eax
call fcn.00474500
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x168]
add esp, 0x10
push eax
lea eax, [ebp - 0x3c]
push eax
push str.round
push str.info
call edi
cmp dword [0x580640], 0
lea eax, [ebp - 0x168]
push eax
je 0x474054
push 0x56425c
push str.install
push str.info
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x563648
push str.install
push str.info
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x4740fc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x168]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x60]
push eax
push str.time
push str.info
call esi
lea eax, [ebp - 0x168]
push eax
push 0x56425c
push str.round
push str.info
call esi
cmp dword [0x580640], 0
lea eax, [ebp - 0x168]
push eax
je 0x4740eb
push 0x56425c
jmp 0x4740f0
push 0x563648
push str.install
push str.info
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret