Function at 0x41121d
Capabilities:
Move file
Read .ini file

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x426f7f
call fcn.0041362c
mov eax, 0x10190
call fcn.00414090
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41127c
push 5
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x411490
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00410a3e
push 0x43010c
lea eax, [ebp - 0xf4]
push eax
call fcn.004128f0
push edi
push str.wininit.ini
push 0x7fff
lea eax, [ebp - 0x1019c]
push eax
mov edi, str.rename
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp + 0x54], eax
cmp eax, 0x7ffd
je 0x41148f
push ebx
push dword [ebp + 0x60]
lea eax, [ebp - 0x28]
push eax
call fcn.00410d2f
pop ecx
pop ecx
xor ebx, ebx
push 0x42bd58
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.004060ab
mov byte [ebp - 4], 1
cmp dword [ebp + 0x64], ebx
je 0x4113d5
push dword [ebp + 0x64]
lea ecx, [ebp - 0x148]
call fcn.004111dc
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.00410df8
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00410e5e
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 4
call fcn.00410dcf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004110dc
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 6
call fcn.00410e10
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 7
call fcn.00410e7d
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.00403cab
lea ecx, [ebp - 0x60]
call fcn.00404888
push ebx
push 1
lea ecx, [ebp - 0x9c]
call fcn.00403cab
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00403cab
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00404888
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00410fd7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0040517d
push ebx
push 1
lea ecx, [ebp]
call fcn.00403cab
lea ecx, [ebp - 0x19c]
call fcn.00410b97
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.00410b97
push 0x42bd54
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.00411048
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.00410c70
add esp, 0x18
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0x11
call fcn.00403cab
cmp dword [ebp + 0x50], 0x10
mov edx, dword [ebp + 0x3c]
jae 0x411417
lea edx, [ebp + 0x3c]
mov ecx, dword [ebp + 0x54]
lea ecx, [ebp + ecx - 0x1019c]
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
cmp al, bl
jne 0x411421
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x54]
add eax, ecx
mov byte [ebp + eax - 0x1019b], bl
push str.wininit.ini
lea eax, [ebp - 0x1019c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
push ebx
test eax, eax
jne 0x41146e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.00410a3e
push 0x43010c
lea eax, [ebp - 0x64]
jmp 0x411276
push 1
lea ecx, [ebp + 0x38]
call fcn.00403cab
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00403cab
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403cab
pop ebx
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x58
leave
ret