Function at 0x1106ac00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11181c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x111eb774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x4a4]
mov cx, word [edx + 2]
mov dword [ebp - 0x15c], eax
mov eax, 0xfffe
and cx, ax
movzx ecx, cx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], 1
test cx, cx
je 0x1106ac7c
lea eax, [edx + 4]
mov esi, edx
sub esi, eax
add esi, dword [ebp + 8]
je 0x1106ac7c
mov edx, ecx
shr edx, 1
xor byte [eax], dl
inc eax
add ecx, 5
dec esi
jne 0x1106ac69
mov edx, dword [ebp - 0x158]
cmp byte [edx + 4], 0
lea edi, [edx + 4]
je 0x1106ad8d
lea esp, [esp]
push 0x3d
push edi
call fcn.11081a70
mov esi, eax
add esp, 8
lea eax, [ebx + 0x4b0]
test esi, esi
jne 0x1106acba
push 0x20
push edi
push eax
call fcn.11164010
add esp, 0xc
mov esi, edi
jmp 0x1106ad48
mov byte [esi], 0
inc esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1106acc1
mov ecx, edi
sub eax, edx
lea edx, [ecx + 1]
mov dword [ebp - 0x160], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1106acd5
sub ecx, dword [ebp - 0x160]
lea eax, [ecx + eax + 2]
cmp eax, 0x80
ja 0x1106ad69
inc dword [ebx + 0x4ac]
cmp dword [ebx + 0x4ac], 0x1c07
jge 0x1106ad70
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
push 0
push 0
push str.TraceClientConfig
push str._debug
call fcn.1105dd10
test eax, eax
je 0x1106ad32
push esi
push edi
lea eax, [ebx + 0x4b0]
push eax
push str.ClientCfg__s_s_s_n
call fcn.11146450
add esp, 0x10
mov ecx, dword [ebp - 0x15c]
push 3
push esi
push edi
lea eax, [ebx + 0x4b0]
push eax
call fcn.1105de00
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1106ad50
sub eax, edx
cmp byte [eax + esi + 1], cl
lea edi, [eax + esi + 1]
jne 0x1106ac90
jmp 0x1106ad87
push str.Error._Config_key_too_long._Probable_DoS_attack_n
jmp 0x1106ad75
push str.Error._Too_many_config_items._Probable_DoS_attack_n
call fcn.11146450
mov dword [ebp - 0x154], 0
add esp, 4
mov edx, dword [ebp - 0x158]
test byte [edx + 2], 1
jne 0x1106aea8
mov ecx, dword [ebp - 0x15c]
push 0
push 0
push str.Wireless
push str.Client
mov dword [ebx + 0x4a8], 1
call fcn.1105dd10
test eax, eax
je 0x1106adc8
mov ecx, dword [ebx + 4]
push 1
call fcn.11068610
mov esi, dword [ebp - 0x15c]
push 0
push 0
push str.ChromeUtf8
push str.Client
mov ecx, esi
call fcn.1105dd10
test eax, eax
je 0x1106aea8
mov ecx, dword [ebx + 4]
push 0xfde9
call fcn.110685f0
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0
push 0x40
lea eax, [ebp - 0x50]
push eax
push str.ChannelUtf8
push str.Client
mov ecx, esi
call edx
test eax, eax
jle 0x1106aea8
push 0xfde9
push 0x100
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.11142800
add esp, 0x10
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x170]
call fcn.110d0710
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0
call edx
test al, al
jne 0x1106ae7c
push 0x255
push str.e:_nsmsrc_nsm12101210fctl32NSMString.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov eax, dword [ebp - 0x164]
push 0
push eax
push str.Channel
push str.Client
mov ecx, esi
call fcn.1105de00
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
call fcn.110d07c0
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11161d01
mov esp, ebp
pop ebp
ret