Function at 0x409630
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x418e2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
mov al, byte [esp + 0xb]
push ebx
push ebp
push esi
mov esi, dword [str.SoftwareElias_Fotinis]
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x48], al
call fcn.004037a0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.00403990
lea ecx, [esp + 0x44]
push 0x5c
lea edx, [esp + 0xbc]
push ecx
push edx
mov dword [esp + 0x1e0], 0
call fcn.0040a140
mov ecx, dword [str.DeskPins]
lea edx, [esp + 0x70]
push ecx
push eax
push edx
mov byte [esp + 0x1ec], 1
call fcn.0040a250
add esp, 0x18
mov ebx, 4
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1d8], bl
call fcn.004037a0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1d8], 3
call fcn.004037a0
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4096fb
mov eax, 0x41a3a0
push 0
push eax
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.004112a0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x1d4], 5
test ecx, ecx
jne 0x40974a
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d4], 3
call fcn.004112e0
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x1d8], 0xffffffff
call fcn.004037a0
xor al, al
jmp 0x409d15
mov eax, dword [str.PinColor]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
push edx
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x4097c8
cmp dword [esp + 0x14], ebx
jne 0x4097c8
cmp dword [esp + 0x10], ebx
jne 0x4097c8
mov eax, dword [esp + 0x1c]
and eax, 0xffffff
mov dword [ebp], eax
jbe 0x4097c8
cmp eax, 7
jae 0x4097c8
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x30], 0xffff
mov dword [esp + 0x34], 0xff00
mov dword [esp + 0x38], 0xffff00
mov dword [esp + 0x3c], 0xff0000
mov dword [esp + 0x40], 0xff00ff
mov eax, dword [esp + eax*4 + 0x28]
mov dword [ebp], eax
mov eax, dword [str.PollRate]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x409814
cmp dword [esp + 0x14], ebx
jne 0x409814
cmp dword [esp + 0x10], ebx
jne 0x409814
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 4]
cmp edx, eax
jg 0x409814
cmp eax, dword [ecx + 8]
jg 0x409814
mov dword [ecx], eax
call fcn.00409d70
mov eax, dword [str.TrayDblClk]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x409852
cmp dword [esp + 0x14], ebx
jne 0x409852
cmp dword [esp + 0x10], ebx
jne 0x409852
mov eax, dword [esp + 0x1c]
test eax, eax
setne al
mov byte [ebp + 0x14], al
mov eax, dword [str.HotKeysOn]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x409890
cmp dword [esp + 0x14], ebx
jne 0x409890
cmp dword [esp + 0x10], ebx
jne 0x409890
mov eax, dword [esp + 0x1c]
test eax, eax
setne al
mov byte [ebp + 0x15], al
mov ecx, dword [str.HotKeyNewPin]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [ebp + 0x18]
call fcn.00408af0
mov eax, dword [str.HotKeyTogglePin]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [ebp + 0x24]
call fcn.00408af0
mov edx, dword [str.AutoPinRules]
mov eax, dword [esp + 0x20]
push 0
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.004112a0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1d4], 6
test ecx, ecx
je 0x409b7e
mov eax, dword [str.Enabled]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x40991c
cmp dword [esp + 0x14], ebx
jne 0x40991c
cmp dword [esp + 0x10], ebx
jne 0x40991c
mov eax, dword [esp + 0x1c]
test eax, eax
setne al
mov byte [ebp + 0x30], al
mov eax, dword [str.Delay]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x30]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x409968
cmp dword [esp + 0x14], ebx
jne 0x409968
cmp dword [esp + 0x10], ebx
jne 0x409968
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x48]
lea ecx, [ebp + 0x44]
cmp edx, eax
jg 0x409968
cmp eax, dword [ecx + 8]
jg 0x409968
mov dword [ecx], eax
call fcn.00409d70
mov eax, dword [str.Count]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x30]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x409b7e
cmp dword [esp + 0x14], ebx
jne 0x409b7e
cmp dword [esp + 0x10], ebx
jne 0x409b7e
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jbe 0x409b7a
mov bl, byte [esp + 0x1b]
mov al, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.004037a0
mov cl, byte [esp + 0x1b]
push 0
mov byte [esp + 0x78], cl
lea ecx, [esp + 0x78]
mov byte [esp + 0x1d8], 7
call fcn.004037a0
push 0x100
mov byte [esp + 0x1d8], 8
call fcn.004121f6
mov esi, eax
mov eax, dword [0x41fe74]
add esp, 4
mov dword [esp + 0x14], esi
test eax, eax
je 0x409a1d
push 0x100
push esi
push 8
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x409a32
mov edx, dword [0x41fe70]
push 0x100
push esi
push 8
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1d8], 9
mov byte [esp + 0x58], bl
call fcn.004037a0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x5c]
call fcn.00403990
lea eax, [esp + 0x54]
lea ecx, [esp + 0x84]
push eax
mov byte [esp + 0x1d8], 0xa
call fcn.00407610
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d4], 0xb
push ecx
lea ecx, [esp + 0x98]
call fcn.00407610
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xa4]
push edx
mov byte [esp + 0x1d8], 0xc
call fcn.00407610
mov byte [esp + 0xb4], 1
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x1d8], 0x11
call fcn.004037a0
push esi
call fcn.00411e17
add esp, 4
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d4], 0xf
push 1
call fcn.004037a0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x1d8], 0xe
call fcn.004037a0
lea eax, [esp + 0x28]
push ebp
push eax
lea ecx, [esp + 0x8c]
call fcn.00408cc0
test al, al
je 0x409b25
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x84]
add ecx, 0x34
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00409db0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1d8], 0x13
call fcn.004037a0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d8], 0x12
call fcn.004037a0
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d8], 6
call fcn.004037a0
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jb 0x4099b8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [esp + 0x24]
mov eax, dword [str.LocalizedUI]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x2c], 0x104
call esi
test eax, eax
jne 0x409c02
cmp dword [esp + 0x10], 1
jne 0x409c02
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add ebp, 0x54
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004015e0
test al, al
je 0x409bfe
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0xc8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004015c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [esp + 0x24]
mov eax, dword [str.LocalizedHelp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0
push eax
push edx
mov dword [esp + 0x2c], 0x104
call esi
test eax, eax
jne 0x409c80
cmp dword [esp + 0x10], 1
jne 0x409c80
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add ebp, 0x64
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004015e0
test al, al
je 0x409c7c
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0xc8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004015c0
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x6c]
test eax, eax
jne 0x409ccd
mov edi, 0x41d414
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x64]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004015e0
test al, al
je 0x409ccd
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x41d414
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d4], 5
call fcn.004112e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d4], 3
call fcn.004112e0
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x409d13
mov al, byte [ecx - 1]
test al, al
je 0x409d09
cmp al, 0xff
je 0x409d09
dec al
mov byte [ecx - 1], al
jmp 0x409d13
dec ecx
push ecx
call fcn.00411e17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c8
ret