Function at 0x422440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7795
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 ebx, ecx
mov esi, 0x196
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x4226eb
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 0x4224ad
movzx eax, ax
push eax
call fcn.00403100
jmp 0x4224b9
push 0
push 0x629f50
call fcn.00403300
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x130]
cmp eax, 0x19f
jne 0x42253d
mov edi, dword [ebx + 0x124]
xor ecx, ecx
cmp edi, 3
mov dword [ebp - 0x18], 0x196
mov eax, str.Level_1
mov edx, 0x627ab0
cmove edx, eax
sete cl
mov eax, 0x62fe78
mov esi, 0x62ff24
cmove esi, eax
mov eax, 0x199
cmovne eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea ecx, [ecx*4 + 3]
xor eax, eax
cmp edi, 3
push ecx
sete al
lea ecx, [ebp - 0x14]
push edx
mov dword [ebx + 0x128], eax
call fcn.00403300
push 0x16
push esi
lea ecx, [ebx + 0xf8]
call fcn.00403300
mov esi, dword [ebp - 0x18]
jmp 0x42261a
cmp eax, 0x199
jne 0x4225a9
mov eax, dword [ebx + 0x124]
cmp eax, 2
jl 0x422579
push 7
push str.Level_2
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x128], 2
mov esi, 0x19c
call fcn.00403300
push 0x17
push 0x62fef4
jmp 0x42260f
cmp eax, 1
jne 0x42261a
push 3
push 0x627ab0
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x128], 0
mov esi, 0x196
call fcn.00403300
push 0x16
push 0x62ff24
jmp 0x42260f
cmp eax, 0x19c
je 0x422582
cmp eax, 0x196
jne 0x42261a
mov eax, dword [ebx + 0x124]
cmp eax, 3
jne 0x4225e5
push 4
push str.Auto
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x128], eax
mov esi, 0x19f
call fcn.00403300
push 0x17
push 0x62feb4
jmp 0x42260f
cmp eax, 2
jg 0x42261a
push 7
push str.Level_1
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x128], 1
mov esi, 0x199
call fcn.00403300
push 0x16
push 0x62fe78
lea ecx, [ebx + 0xf8]
call fcn.00403300
cmp dword [ebx + 0x124], 1
jne 0x42263d
cmp esi, 0x199
jne 0x42263d
push 0x15
lea ecx, [ebx + 0xf8]
push 0x62ff54
call fcn.00403300
mov dword [ebx + 0x130], esi
mov ecx, ebx
cmp dword [0x65fb10], 1
push esi
jne 0x422656
call fcn.00420fd0
jmp 0x42265b
call fcn.00421590
push dword [ebx + 0xf8]
lea eax, [ebx + 0x80]
push 0x627c20
push eax
call fcn.004267c0
push 0
push 0
lea eax, [ebx + 0x128]
push eax
push 0x420df0
push 0
push 0
call fcn.005ae60d
add esp, 0x24
test eax, eax
je 0x422699
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov ecx, str.Features.Toolbar.QuickSettings.KeyboardBacklight
push str.Features.Toolbar.QuickSettings
mov edx, esi
call fcn.00424f30
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4226cf
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