Function at 0x410630
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a7c1
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 - 0x48]
mov dword [ebp - 0x5c], edi
push str.CSilentPropertyParametersFromSilentIni::GetDynamicWakeupValue
mov dword [ebp - 0x58], 0
call fcn.0040a480
mov dword [ebp - 4], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4106c6
test byte [ecx + 0x1c], 1
je 0x4106c6
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, 0xe
call fcn.00401840
add esp, 0xc
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x410879
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push dword [esi + 4]
mov dword [ebp - 0x58], 1
push 0
push str.DynamicWakeup
push str.PrinterSelect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x41079a
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x410883
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov eax, 0x5c797c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
test eax, 0xffff0000
jne 0x41073b
movzx eax, ax
push eax
call fcn.00403020
jmp 0x410747
push 1
push 0x5c797c
call fcn.00403bb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
or esi, 0xffffffff
mov ebx, dword [edi]
sub ebx, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0x50], edx
cmp edx, ebx
je 0x4107f5
cmp dword [ebx + 0xc], 0
jl 0x4107e7
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x4107e7
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x54], eax
lea edx, [ebx + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410793
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x54]
add eax, 0x10
mov dword [edi], eax
jmp 0x4107f2
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x41088d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov eax, 0x5c79bc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
test eax, 0xffff0000
jne 0x4107d2
movzx eax, ax
push eax
call fcn.00403020
jmp 0x4107de
push 1
push 0x5c79bc
call fcn.00403bb0
mov byte [ebp - 4], 5
jmp 0x41074b
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00403bb0
mov edx, dword [ebp - 0x50]
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41080b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x44], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x410851
test byte [ecx + 0x1c], 1
je 0x410851
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, 0xf
call fcn.00405920
add esp, 0x10
lea ecx, [ebp - 0x48]
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