Function at 0x4194b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bd98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x60c9c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push 0xfffe
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], esi
call fcn.00532fd0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x68], ebx
test ebx, ebx
je 0x4195d1
push esi
push 0x7fff
push ebx
push str.RebootAfterProcess
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor esi, esi
mov edi, ebx
mov dword [ebp - 0x6c], 0x7fff
cmp word [ebx], si
je 0x419552
mov edx, dword [ebp - 0x6c]
push edx
push edi
call fcn.005330ca
lea esi, [eax + 1]
add esp, 8
cmp esi, 0x7fff
ja 0x4195c8
sub dword [ebp - 0x6c], esi
cmp word [edi + esi*2], 0
lea edi, [edi + esi*2]
jne 0x419529
cmp dword [ebp - 0x78], 0
je 0x419601
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x48]
call fcn.004100f0
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.004100f0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
push 0x14
push str.MoveFile__s____s__n
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], eax
call fcn.005330ca
add eax, dword [ebp - 0x68]
add esp, 8
add eax, dword [ebp - 0x74]
lea ecx, [eax + esi + 1]
cmp ecx, 0x7fff
jbe 0x4195d8
push ebx
call fcn.00532f96
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.0040c550
lea ecx, [ebp - 0x48]
call fcn.0040c550
xor eax, eax
jmp 0x4196ba
push ebx
call fcn.00532f96
add esp, 4
xor eax, eax
jmp 0x4196ba
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
push edx
push eax
push str.MoveFile__s____s__n
push esi
push edi
call fcn.00533b0b
add esp, 0x14
lea ecx, [ebp - 0x64]
call fcn.0040c550
lea ecx, [ebp - 0x48]
call fcn.0040c550
jmp 0x41967b
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004100f0
mov edx, dword [ebp - 0x1c]
push 0x14
push str.MoveFile__s____s__n
mov dword [ebp - 0x74], edx
call fcn.005330ca
push 4
push 0x560014
mov ebx, eax
call fcn.005330ca
add ebx, dword [ebp - 0x74]
add esp, 0x10
add eax, ebx
lea eax, [eax + esi + 1]
cmp eax, 0x7fff
jbe 0x419658
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00532f96
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.0040c550
xor eax, eax
jmp 0x4196ba
mov edx, dword [ebp - 0x70]
push 0x560014
push edx
push str.MoveFile__s____s__n
push esi
push edi
call fcn.00533b0b
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0040c550
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.005330ca
mov esi, dword [ebp - 0x7c]
add esp, 8
push esi
push ebx
xor ecx, ecx
push str.RebootAfterProcess
mov word [edi + eax*2 + 2], cx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
call fcn.00532f96
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531f97
mov esp, ebp
pop ebp
ret 0xc