Function at 0x409300
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x418d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov al, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [str.SoftwareElias_Fotinis]
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.004037a0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x28]
call fcn.00403990
lea ecx, [esp + 0x20]
push 0x5c
lea edx, [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x64], ebx
call fcn.0040a140
mov ecx, dword [str.DeskPins]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov byte [esp + 0x70], 1
call fcn.0040a250
add esp, 0x18
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 4
call fcn.004037a0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 3
call fcn.004037a0
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x4093ab
mov eax, 0x41a3a0
push 1
push eax
push 0x80000001
lea ecx, [esp + 0x20]
call fcn.004112a0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x58], 5
cmp ecx, ebx
jne 0x4093ff
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 3
call fcn.004112e0
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004037a0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov eax, dword [esi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 7
push 4
sbb edx, edx
not edx
and edx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [str.PinColor]
push eax
push 4
push ebx
push edx
push ecx
call ebp
mov eax, dword [esi + 4]
mov edx, dword [str.PollRate]
lea ecx, [esp + 0x1c]
push 4
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push 4
push ebx
push edx
push eax
call ebp
mov eax, dword [str.TrayDblClk]
xor ecx, ecx
mov cl, byte [esi + 0x14]
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
push 4
push ebx
push eax
push ecx
call ebp
mov ecx, dword [str.HotKeysOn]
xor edx, edx
mov dl, byte [esi + 0x15]
lea eax, [esp + 0x1c]
push 4
push eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
push 4
push ebx
push ecx
push edx
call ebp
mov eax, dword [str.HotKeyNewPin]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esi + 0x18]
call fcn.00408b60
mov edx, dword [str.HotKeyTogglePin]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esi + 0x24]
call fcn.00408b60
mov ecx, dword [str.AutoPinRules]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004112a0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x409586
xor ecx, ecx
lea edx, [esp + 0x1c]
mov cl, byte [esi + 0x30]
push 4
mov dword [esp + 0x20], ecx
mov ecx, dword [str.Enabled]
push edx
push 4
push ebx
push ecx
push eax
call ebp
mov edx, dword [esi + 0x44]
mov ecx, dword [str.Delay]
lea eax, [esp + 0x1c]
push 4
push eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
push 4
push ebx
push ecx
push edx
call ebp
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x40951b
mov dword [esp + 0x1c], ebx
jmp 0x409535
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [str.Count]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push ebx
push edx
push eax
call ebp
xor edi, edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x409586
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edi, edx
jae 0x409586
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x18]
push edi
push edx
add ecx, ebx
call fcn.00408f30
inc edi
add ebx, 0x34
jmp 0x40954f
mov edx, dword [esi + 0x58]
test edx, edx
jne 0x409592
mov edx, 0x41a3a0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [str.LocalizedUI]
push eax
push ecx
call ebp
mov edx, dword [esi + 0x68]
test edx, edx
jne 0x4095bb
mov edx, 0x41a3a0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [str.LocalizedHelp]
push 1
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call ebp
lea ecx, [esp + 0x18]
call fcn.004112e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 3
call fcn.004112e0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x409614
mov al, byte [ecx - 1]
test al, al
je 0x40960a
cmp al, 0xff
je 0x40960a
dec al
mov byte [ecx - 1], al
jmp 0x409614
dec ecx
push ecx
call fcn.00411e17
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret