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

Disassembly:
sub esp, 0x624
mov eax, dword [0x47f038]
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.0044e1b0
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0xc
cmp esi, ebx
je 0x445b6c
push 0x104
lea ecx, [esp + 0x224]
push ecx
push esi
call ebp
test eax, eax
jne 0x445b77
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 0x445b60
jmp 0x445b77
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 0x445b92
mov ecx, dword [str.WININIT.INI]
mov edx, dword [0x476270]
mov dword [eax], ecx
mov ecx, dword [0x476274]
mov dword [eax + 4], edx
mov dl, byte [0x476278]
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 0x445bd7
xor eax, eax
jmp 0x445e4f
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 0x445c31
call edi
push eax
push str.Get_Error___NUL___ld_n
call fcn.004411d0
add esp, 8
cmp esi, ebx
je 0x445c73
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 0x445c66
call edi
push eax
lea edx, [esp + 0x1c]
push edx
jmp 0x445e3e
mov dword [esp + 0x14], 1
jmp 0x445e4b
cmp byte [esp + 0x324], bl
je 0x445e12
lea eax, [esp + 0x324]
push str.KCRESVDX
push eax
call fcn.00452520
add esp, 8
test eax, eax
jne 0x445cff
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 0x445ccf
call edi
push eax
push str.Write_Error___KCRESVDX0.TMP___ld_n
call fcn.004411d0
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 0x445cff
call edi
push eax
push str.Write_Error___KCRESVDX.TMP___ld_n
call fcn.004411d0
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 0x445d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x42c]
push ecx
push str.Get_Error____s___ld_n
call fcn.004411d0
add esp, 0xc
cmp byte [esp + 0x324], bl
jne 0x445d8a
mov byte [esp + 0x13], bl
inc esi
cmp byte [esp + 0x13], bl
jne 0x445d10
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 0x445ddc
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.004411d0
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 0x445e4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_Error___NUL__KCRESVDX.TMP___ld_n
call fcn.004411d0
add esp, 8
jmp 0x445e4b
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 0x445e4b
call edi
push eax
lea eax, [esp + 0x1c]
push eax
push str.Error___tszShortName___s___ld_n
call fcn.004411d0
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.0044e1a0
add esp, 0x624
ret 0xc