Function at 0x4108a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a849
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x608554]
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 esi, ecx
mov edi, dword [ebp + 8]
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x85c], edi
push str.CSilentPropertyParametersFromSilentIni::GetSilentRebootValue
mov dword [ebp - 0x858], 0
call fcn.0040a480
mov dword [ebp - 4], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x410942
test byte [ecx + 0x1c], 1
je 0x410942
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5c7dec
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x10
call fcn.00401840
add esp, 0xc
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00571c00
add esp, 0xc
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x410b67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push dword [esi + 4]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x858], 1
push 0x400
push eax
push 0x5c6930
push str.Reboot
push str.InstallComplete
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x410a79
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x410b71
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x4109e6
movzx eax, ax
lea ecx, [ebp - 0x84c]
push eax
call fcn.00403020
jmp 0x410a12
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4109f0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x84c]
call fcn.00403bb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x84c]
or esi, 0xffffffff
mov ebx, dword [edi]
sub ebx, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0x850], edx
cmp edx, ebx
je 0x410add
cmp dword [ebx + 0xc], 0
jl 0x410acc
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x410acc
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x854], eax
lea edx, [ebx + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410a72
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x854]
add eax, 0x10
mov dword [edi], eax
jmp 0x410ad7
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x410b7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84c], eax
mov eax, 0x5c79bc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84c]
test eax, 0xffff0000
jne 0x410ab7
movzx eax, ax
push eax
call fcn.00403020
jmp 0x410ac3
push 1
push 0x5c79bc
call fcn.00403bb0
mov byte [ebp - 4], 5
jmp 0x410a16
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00403bb0
mov edx, dword [ebp - 0x850]
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x410af3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x844], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x410b3c
test byte [ecx + 0x1c], 1
je 0x410b3c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [edi]
cmovae eax, dword [0x608f54]
mov edx, 0x5c7dec
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x11
call fcn.00405920
add esp, 0x10
lea ecx, [ebp - 0x848]
call fcn.0040a570
mov eax, edi
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.0056d977
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
int3