Function at 0x442a40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esi + 0x118]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
mov ebp, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.TurboMode
mov edi, 4
push ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442a98
cmp dword [esp + 0xc], edi
jne 0x442a98
cmp dword [esp + 0x10], edi
jne 0x442a98
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x11c]
lea edx, [esp + 0xc]
push edx
mov dword [esi + 0x118], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push str.PollUnderCursor
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442ae1
cmp dword [esp + 0x10], edi
jne 0x442ae1
cmp dword [esp + 0xc], edi
jne 0x442ae1
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x120]
mov dword [esi + 0x11c], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
push 0
push str.PollForeground
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442b2a
cmp dword [esp + 0x10], edi
jne 0x442b2a
cmp dword [esp + 0xc], edi
jne 0x442b2a
mov eax, dword [esp + 0x14]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x124]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0
push str.PollFullScreen
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442b73
cmp dword [esp + 0x10], edi
jne 0x442b73
cmp dword [esp + 0xc], edi
jne 0x442b73
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x128]
lea edx, [esp + 0xc]
push edx
mov dword [esi + 0x124], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push str.OnlyPollConsole
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442bbc
cmp dword [esp + 0x10], edi
jne 0x442bbc
cmp dword [esp + 0xc], edi
jne 0x442bbc
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x12c]
mov dword [esi + 0x128], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
push 0
push str.OnlyPollOnEvent
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442c05
cmp dword [esp + 0x10], edi
jne 0x442c05
cmp dword [esp + 0xc], edi
jne 0x442c05
mov eax, dword [esp + 0x14]
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x130]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0
push str.EnableDriver
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442c4e
cmp dword [esp + 0x10], edi
jne 0x442c4e
cmp dword [esp + 0xc], edi
jne 0x442c4e
mov eax, dword [esp + 0x14]
mov dword [esi + 0x130], eax
test eax, eax
je 0x442c6b
push 0
call fcn.0040d220
movzx ecx, al
add esp, 4
mov dword [esi + 0x130], ecx
mov edx, dword [esi + 0x134]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x18]
push edx
push 0
push str.EnableHook
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442cae
cmp dword [esp + 0x10], edi
jne 0x442cae
cmp dword [esp + 0xc], edi
jne 0x442cae
mov eax, dword [esp + 0x14]
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x138]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0
push str.EnableVirtual
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x442cf7
cmp dword [esp + 0x10], edi
jne 0x442cf7
cmp dword [esp + 0xc], edi
jne 0x442cf7
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x13c]
lea edx, [esp + 0xc]
push edx
mov dword [esi + 0x138], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push str.SingleWindow
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call ebx
test eax, eax
je 0x442d32
mov eax, dword [esp + 0x1c]
jmp 0x442d46
cmp dword [esp + 0x10], edi
jne 0x442d2c
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0xc], edi
jne 0x442d46
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x140]
push ebp
mov dword [esi + 0x13c], eax
call fcn.00442540
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4