Function at 0x419190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588888
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5f50fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push 0xfffe
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 0
call fcn.004226a1
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov dword [ebp - 0x4c], ebx
push esi
push 0x7fff
push ebx
push str.RebootAfterProcess
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov eax, ebx
xor edi, edi
mov esi, 0x7fff
mov dword [ebp - 0x48], esi
cmp word [eax], di
je 0x41923a
push esi
push ebx
call fcn.0056d04f
add esp, 8
lea edi, [eax + 1]
cmp edi, 0x7fff
ja 0x419316
lea ebx, [ebx + edi*2]
sub esi, edi
cmp word [ebx], 0
mov dword [ebp - 0x48], esi
jne 0x419213
mov edx, dword [ebp - 0x50]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x54], eax
je 0x41934d
lea eax, [ecx + 2]
mov dword [ebp - 0x48], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419262
sub ecx, dword [ebp - 0x48]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405e10
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x48], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4192a2
sub ecx, dword [ebp - 0x48]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00405e10
push 0x14
push str.MoveFile__s____s__n
call fcn.0056d04f
inc eax
add esp, 8
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
add eax, edi
cmp eax, 0x7fff
jbe 0x419323
push dword [ebp - 0x4c]
call fcn.0042269c
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.00405d60
lea ecx, [ebp - 0x2c]
call fcn.00405d60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005663a7
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x4c]
call fcn.0042269c
add esp, 4
jmp 0x4192f6
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.MoveFile__s____s__n
push edi
push ebx
call fcn.00402f80
add esp, 0x14
lea ecx, [ebp - 0x44]
call fcn.00405d60
lea ecx, [ebp - 0x2c]
call fcn.00405d60
jmp 0x4193c7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419350
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405e10
push 0x14
push str.MoveFile__s____s__n
call fcn.0056d04f
push 4
push 0x599528
mov esi, eax
call fcn.0056d04f
add esi, dword [ebp - 0x1c]
inc eax
add eax, esi
add esp, 0x10
add eax, edi
cmp eax, 0x7fff
jbe 0x4193a5
push dword [ebp - 0x4c]
call fcn.0042269c
add esp, 4
jmp 0x4192ee
push 0x599528
push dword [ebp - 0x50]
push str.MoveFile__s____s__n
push edi
push ebx
call fcn.00402f80
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00405d60
mov esi, dword [ebp - 0x48]
push esi
push ebx
call fcn.0056d04f
mov esi, dword [ebp - 0x58]
add esp, 8
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ebx, dword [ebp - 0x4c]
push esi
push ebx
push str.RebootAfterProcess
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.0042269c
add esp, 4
mov eax, 1
jmp 0x4192f8