Function at 0x449cf0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x624
mov eax, dword [0x48807c]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x638]
push edi
mov edi, dword [esp + 0x638]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x1d]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
call fcn.00453450
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0xc
cmp esi, ebx
je 0x449d6c
push 0x104
lea ecx, [esp + 0x224]
push ecx
push esi
call ebp
test eax, eax
jne 0x449d77
lea edx, [esp + 0x220]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x449d60
jmp 0x449d77
mov dword [esp + 0x220], 0x4c554e
push 0x104
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x11c]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x449d92
mov ecx, dword [str.WININIT.INI]
mov edx, dword [0x47ebe0]
mov dword [eax], ecx
mov ecx, dword [0x47ebe4]
mov dword [eax + 4], edx
mov dl, byte [0x47ebe8]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
push 0x104
lea eax, [esp + 0x1c]
push eax
push edi
call ebp
cmp byte [esp + 0x18], bl
jne 0x449dd7
xor eax, eax
jmp 0x44a04f
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x11c]
push ecx
push 0x104
lea edx, [esp + 0x32c]
push edx
lea eax, [esp + 0x538]
push eax
lea ecx, [esp + 0x230]
push ecx
push str.Rename
mov byte [esp + 0x544], bl
mov byte [esp + 0x33c], bl
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x449e31
call edi
push eax
push str.Get_Error___NUL___ld_n
call fcn.004453d0
add esp, 8
cmp esi, ebx
je 0x449e73
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x228]
push ecx
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x449e66
call edi
push eax
lea edx, [esp + 0x1c]
push edx
jmp 0x44a03e
mov dword [esp + 0x14], 1
jmp 0x44a04b
cmp byte [esp + 0x324], bl
je 0x44a012
lea eax, [esp + 0x324]
push str.KCRESVDX
push eax
call fcn.00457a40
add esp, 8
test eax, eax
jne 0x449eff
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x328]
push edx
push str.KCRESVDX0.TMP
push str.Rename
call esi
test eax, eax
jne 0x449ecf
call edi
push eax
push str.Write_Error___KCRESVDX0.TMP___ld_n
call fcn.004453d0
add esp, 8
lea eax, [esp + 0x11c]
push eax
push str.KCRESVDX.TMP
lea ecx, [esp + 0x228]
push ecx
push str.Rename
call esi
test eax, eax
jne 0x449eff
call edi
push eax
push str.Write_Error___KCRESVDX.TMP___ld_n
call fcn.004453d0
add esp, 8
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov byte [esp + 0x13], 1
xor esi, esi
lea esp, [esp]
push esi
lea edx, [esp + 0x42c]
push str.KCRESVDX_d.TMP
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
push 0x104
lea ecx, [esp + 0x32c]
push ecx
lea edx, [esp + 0x538]
push edx
lea eax, [esp + 0x438]
push eax
push str.Rename
mov byte [esp + 0x544], bl
mov byte [esp + 0x33c], bl
call ebp
test eax, eax
jne 0x449f7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x42c]
push ecx
push str.Get_Error____s___ld_n
call fcn.004453d0
add esp, 0xc
cmp byte [esp + 0x324], bl
jne 0x449f8a
mov byte [esp + 0x13], bl
inc esi
cmp byte [esp + 0x13], bl
jne 0x449f10
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x430]
push ecx
push str.Rename
call esi
test eax, eax
jne 0x449fdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x430]
push eax
push str.Write_Error____s___s___ld_n
call fcn.004453d0
add esp, 0x10
lea ecx, [esp + 0x11c]
push ecx
push str.KCRESVDX.TMP
lea edx, [esp + 0x228]
push edx
push str.Rename
call esi
test eax, eax
jne 0x44a04b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_Error___NUL__KCRESVDX.TMP___ld_n
call fcn.004453d0
add esp, 8
jmp 0x44a04b
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x228]
push edx
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x44a04b
call edi
push eax
lea eax, [esp + 0x1c]
push eax
push str.Error___tszShortName___s___ld_n
call fcn.004453d0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x630]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453432
add esp, 0x624
ret 0xc