Function at 0x420a60
Capabilities:
Create thread

Disassembly:
cmp byte [ecx + 0x88], 0
je 0x420a54
cmp byte [ecx + 0x89], 0
jne 0x420a54
cmp dword [0x65fb10], 1
je 0x420a60
jmp fcn.00422440
ret
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8ed5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x65f018]
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 edi, ecx
push dword [edi + 0x118]
lea esi, [edi + 0x128]
push dword [edi + 0x114]
push dword [edi + 0xe0]
push dword [esi]
push str._KBB_ClicktoSwitch_1__m_nKbbStatus_d__m_nStatus_d__m_nSmartSenseSupport_d__m_nSmartSenseStatus_d_
call fcn.0043eb40
add esp, 0x14
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x420ddd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x629f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x420aef
movzx eax, ax
push eax
call fcn.00403100
jmp 0x420afb
push 0
push 0x629f50
call fcn.00403300
mov dword [ebp - 4], 1
cmp dword [edi + 0x114], 1
jne 0x420c2d
cmp dword [edi + 0x118], 1
jne 0x420b50
push 7
push str.Level_1
lea ecx, [ebp - 0x14]
call fcn.00403300
mov eax, 0x1db
mov dword [esi], 1
push 0x16
mov dword [edi + 0x118], 0
mov ebx, 0x199
mov dword [ebp - 0x18], eax
push 0x62fe78
jmp 0x420cc6
mov eax, dword [esi]
test eax, eax
jne 0x420bab
push 4
push str.Auto
lea ecx, [ebp - 0x14]
call fcn.00403300
mov dword [esi], 0
mov eax, 0x1dd
push 0x17
lea esi, [edi + 0xf8]
mov dword [edi + 0x118], 1
push 0x62feb4
mov ecx, esi
mov dword [ebp - 0x18], eax
mov ebx, 0x19f
call fcn.00403300
push 0
push 0
lea eax, [edi + 0x118]
push eax
push 0x420ee0
jmp 0x420ce3
cmp eax, 1
jne 0x420be7
cmp dword [edi + 0x124], 2
jl 0x420be7
mov eax, 0x1dc
mov dword [ebp - 0x24], 0x62fef4
mov dword [ebp - 0x18], eax
mov ebx, 0x19c
mov dword [ebp - 0x20], 0x17
mov eax, str.Level_2
mov dword [ebp - 0x1c], 2
mov edx, 7
jmp 0x420c13
mov eax, 0x1da
mov dword [ebp - 0x24], 0x62ff24
mov dword [ebp - 0x18], eax
mov ebx, 0x196
mov dword [ebp - 0x20], 0x16
mov eax, 0x627ab0
mov dword [ebp - 0x1c], 0
mov edx, 3
push edx
lea ecx, [ebp - 0x14]
push eax
call fcn.00403300
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov dword [esi], eax
jmp 0x420cc6
mov eax, dword [esi]
test eax, eax
jne 0x420c5c
push 7
push str.Level_1
lea ecx, [ebp - 0x14]
call fcn.00403300
mov eax, 0x1db
mov dword [esi], 1
mov dword [ebp - 0x18], eax
mov ebx, 0x199
mov eax, 0x62fe78
jmp 0x420cbf
cmp eax, 1
jne 0x420c98
cmp dword [edi + 0x124], 2
jl 0x420c98
push 7
push str.Level_2
lea ecx, [ebp - 0x14]
call fcn.00403300
mov eax, 0x1dc
mov dword [esi], 2
mov dword [ebp - 0x18], eax
mov ebx, 0x19c
mov eax, 0x62fef4
mov ecx, 0x17
jmp 0x420cc4
push 3
push 0x627ab0
lea ecx, [ebp - 0x14]
call fcn.00403300
mov eax, 0x1da
mov dword [esi], 0
mov dword [ebp - 0x18], eax
mov ebx, 0x196
mov eax, 0x62ff24
mov ecx, 0x16
push ecx
push eax
lea esi, [edi + 0xf8]
mov ecx, esi
call fcn.00403300
push 0
push 0
lea eax, [edi + 0x128]
push eax
push 0x420df0
push 0
push 0
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x420cfa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x124], 1
jne 0x420d21
cmp ebx, 0x199
jne 0x420d21
push 0x15
mov eax, 0x1d9
mov ecx, esi
push 0x62ff54
mov dword [ebp - 0x18], eax
call fcn.00403300
mov dword [edi + 0x11c], ebx
mov ecx, edi
cmp dword [0x65fb10], 1
push ebx
jne 0x420d3a
call fcn.00420fd0
jmp 0x420d3f
call fcn.00421590
push dword [esi]
lea eax, [edi + 0x80]
push 0x627c20
push eax
call fcn.004267c0
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
jle 0x420d69
mov edx, dword [esi]
mov ecx, esi
push eax
call fcn.0040c590
add esp, 4
mov esi, dword [ebp - 0x14]
mov ecx, str.Features.Toolbar.QuickSettings.KeyboardBacklight
push str.Features.Toolbar.QuickSettings
mov edx, esi
call fcn.00424f30
push dword [edi + 0x118]
push dword [edi + 0x114]
push dword [edi + 0xe0]
push dword [edi + 0x128]
push str._KBB_ClicktoSwitch_2__m_nKbbStatus_d__m_nStatus_d__m_nSmartSenseSupport_d__m_nSmartSenseStatus_d_
call fcn.0043eb40
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x420dc1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0058fc43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
int3