Function at 0x422a00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9035
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 esi, ecx
cmp byte [esi + 0x113], 0
lea edi, [esi + 0x112]
mov dl, byte [esi + 0x111]
mov cl, byte [edi]
je 0x422b77
xor eax, eax
test dl, dl
je 0x422b11
test cl, cl
setne al
mov dword [esi + 0xe0], eax
xor cl, cl
test cl, cl
mov edx, 0x177
mov eax, 0x18c
mov ecx, esi
push 2
cmovne eax, edx
push eax
call fcn.0042c0f0
cmp byte [0x669979], 0
je 0x422c66
push 0x627c1c
lea eax, [esi + 0xf4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402c50
push 0x6699c4
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.004029c0
add esp, 0x18
mov byte [ebp - 4], 1
lea edx, [esi + 0xf8]
mov ecx, dword [eax]
or esi, 0xffffffff
mov edi, dword [edx]
sub edi, 0x10
mov dword [ebp - 0x18], edx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x422b36
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x422b2b
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x422b2b
push dword [ebp - 0x14]
call fcn.00402f10
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x422b07
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x422b36
test cl, cl
sete al
mov dword [esi + 0xe0], eax
test cl, cl
jne 0x422a5d
mov cl, 1
jmp 0x422a5f
push dword [ecx - 0xc]
push ecx
mov ecx, edx
call fcn.00403300
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422b54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x422c66
mov ecx, dword [edx]
push edx
jmp 0x422c61
test cl, cl
sete al
mov byte [edi], al
xor eax, eax
test dl, dl
je 0x422b8b
test cl, cl
sete al
jmp 0x422b90
test cl, cl
setne al
push eax
mov ecx, esi
mov dword [esi + 0xe0], eax
call fcn.00422e30
push 0
push 0
push edi
push 0x422c90
push 0
push 0
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x422bbf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0xe0], 0
mov eax, str.F1F12_Function_Enabled
mov edi, str.Special_Function_Enabled
cmove edi, eax
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x422c82
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test edi, 0xffff0000
jne 0x422c0a
movzx eax, di
lea ecx, [ebp - 0x14]
push eax
call fcn.00403100
jmp 0x422c29
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422c10
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.00403300
mov dword [ebp - 4], 3
mov ecx, str.Features.Toolbar.QuickSettings.KeyboardTopRow
mov esi, dword [ebp - 0x14]
mov edx, esi
push str.Features.Toolbar.QuickSettings
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 0x422c66
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