Function at 0x100a6530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101895f6
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x101f9224]
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
mov dword [ebp - 0x134], esi
mov ecx, dword [esi]
test ecx, ecx
jle 0x100a6991
mov edx, dword [esi + 4]
cmp byte [edx + 0xa4], 0
jne 0x100a6991
cmp byte [edx + 0xa5], 0
jne 0x100a6991
cmp ecx, 1
jle 0x100a659c
lea eax, [ecx - 1]
mov dword [esi], eax
jmp 0x100a6991
mov byte [ebp - 0x115], 0
lea ebx, [ebp - 0x68]
mov edi, 5
jmp 0x100a65b0
mov ecx, ebx
call fcn.1011bf30
add ebx, 0x12
sub edi, 1
jne 0x100a65b0
push 0x100a6230
push 0x100a6210
push 5
push 0x1a
lea eax, [ebp - 0xf0]
push eax
call fcn.10176422
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], edi
call fcn.1011bf30
lea edx, [esi + 0x62]
mov dword [ebp - 0x130], 5
lea ebx, [esi + 0x12]
mov dword [ebp - 0x11c], edx
lea edi, [ebp - 0x64]
lea esi, [ebp - 0xec]
mov eax, dword [ebx - 0xa]
mov dword [edi - 8], eax
mov cx, word [edi]
movzx eax, word [ebx - 2]
xor cx, ax
mov eax, dword [ebx]
mov dword [edi + 2], eax
and cx, 0xf
mov eax, dword [ebx + 4]
xor word [edi], cx
mov ecx, esi
mov dword [edi + 6], eax
mov eax, dword [edx]
mov edx, dword [esi]
mov dword [esi - 4], eax
mov eax, dword [ebp - 0x11c]
add eax, 4
push eax
call dword [edx + 0xc]
mov edx, dword [ebp - 0x11c]
lea ebx, [ebx + 0x12]
add edx, 0x1a
lea edi, [edi + 0x12]
add esi, 0x1a
mov dword [ebp - 0x11c], edx
sub dword [ebp - 0x130], 1
jne 0x100a6606
mov esi, dword [ebp - 0x134]
lea edi, [ebp - 0xe6]
xor eax, eax
mov dword [ebp - 0x11c], edi
xor ecx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], ecx
lea ebx, [ebp - 0x62]
jmp 0x100a668c
mov eax, dword [ebp - 0x130]
mov edx, dword [esi + 4]
mov dword [ebp - 0x126], 0xffffffff
cmp eax, 5
jl 0x100a66a2
mov ecx, edx
jmp 0x100a66a4
add ecx, edx
mov ecx, dword [ecx + 0x43e]
sub ecx, dword [ebx - 0xa]
cmp dword [ebx], 0
mov dword [ebp - 0x134], ecx
jl 0x100a66c1
mov al, byte [ebx - 2]
and al, 0xe
cmp al, 0xa
jne 0x100a66c9
test ecx, ecx
je 0x100a67b9
push 1
push edx
push 0x3e8
lea ecx, [ebp - 0x114]
call fcn.100b51c0
mov cx, word [ebx - 2]
xor cx, word [ebp - 0x144]
mov eax, dword [ebx + 4]
and cx, 0xf
xor cx, word [ebp - 0x144]
cmp dword [ebp - 0x126], 0
movzx edi, cx
movzx edx, cx
mov word [ebp - 0x144], cx
mov ecx, dword [ebx]
mov dword [ebp - method.PosPtr.virtual_0], vtable.PosPtr.0
mov dword [ebp - 0x142], ecx
mov dword [ebp - 0x13e], eax
jl 0x100a6754
mov al, byte [ebp - 0x128]
and al, 0xe
cmp al, 0xa
mov eax, dword [ebx + 4]
je 0x100a6754
cmp eax, dword [ebp - 0x122]
jne 0x100a6770
cmp ecx, dword [ebp - 0x126]
jge 0x100a6770
xor edi, dword [ebp - 0x128]
and edi, 0xf
xor word [ebp - 0x128], di
jmp 0x100a6764
xor edx, dword [ebp - 0x128]
and edx, 0xf
xor word [ebp - 0x128], dx
mov dword [ebp - 0x122], eax
mov dword [ebp - 0x126], ecx
push 0
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_union_MsgData____thiscall_MsgArg::operator___int_
lea ecx, [ebp - 0x148]
push 1
mov dword [eax], ecx
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_union_MsgData____thiscall_MsgArg::operator___int_
mov ecx, dword [ebp - 0x134]
mov dword [eax], ecx
lea eax, [ebp - 0x114]
mov ecx, dword [esi + 4]
push eax
call sub.rzlsys.dll_public:_void___thiscall_Dispatcher::SendMsg_class_MsgArg_const__
mov edi, dword [ebp - 0x11c]
mov dl, 1
mov byte [ebp - 0x115], dl
jmp 0x100a67bf
mov dl, byte [ebp - 0x115]
cmp dword [edi - 0xa], 0
je 0x100a68c5
push 1
push dword [esi + 4]
lea ecx, [ebp - 0x114]
push 0x3ea
call fcn.100b51c0
mov cx, word [edi - 2]
xor cx, word [ebp - 0x154]
mov eax, dword [ebp - 0x11c]
and cx, 0xf
xor cx, word [ebp - 0x154]
cmp dword [ebp - 0x126], 0
movzx edi, cx
movzx edx, cx
mov word [ebp - 0x154], cx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - method.PosPtr.virtual_0], vtable.PosPtr.0
mov dword [ebp - 0x152], ecx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x14e], eax
jl 0x100a6865
mov al, byte [ebp - 0x128]
and al, 0xe
cmp al, 0xa
mov eax, dword [ebp - 0x134]
je 0x100a6865
cmp eax, dword [ebp - 0x122]
jne 0x100a6881
cmp ecx, dword [ebp - 0x126]
jge 0x100a6881
xor edi, dword [ebp - 0x128]
and edi, 0xf
xor word [ebp - 0x128], di
jmp 0x100a6875
xor edx, dword [ebp - 0x128]
and edx, 0xf
xor word [ebp - 0x128], dx
mov dword [ebp - 0x122], eax
mov dword [ebp - 0x126], ecx
push 0
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_union_MsgData____thiscall_MsgArg::operator___int_
lea ecx, [ebp - 0x158]
push 1
mov dword [eax], ecx
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_union_MsgData____thiscall_MsgArg::operator___int_
mov edi, dword [ebp - 0x11c]
mov ecx, dword [edi - 0xa]
mov dword [eax], ecx
lea eax, [ebp - 0x114]
mov ecx, dword [esi + 4]
push eax
call sub.rzlsys.dll_public:_void___thiscall_Dispatcher::SendMsg_class_MsgArg_const__
mov dl, 1
mov byte [ebp - 0x115], dl
mov eax, dword [esi]
cmp eax, 1
jne 0x100a691b
xor eax, eax
mov dword [esi], 0
test dl, dl
lea ecx, [ebp - 0x114]
push 1
push dword [esi + 4]
sete al
add eax, 0x3f2
push eax
call fcn.100b51c0
push 0
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_union_MsgData____thiscall_MsgArg::operator___int_
lea ecx, [ebp - 0x12c]
mov dword [eax], ecx
lea eax, [ebp - 0x114]
mov ecx, dword [esi + 4]
push eax
call sub.rzlsys.dll_public:_void___thiscall_Dispatcher::SendMsg_class_MsgArg_const__
mov eax, dword [esi]
mov dl, byte [ebp - 0x115]
mov ecx, dword [ebp - 0x138]
add edi, 0x1a
inc dword [ebp - 0x130]
add ecx, 0x40
add ebx, 0x12
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x11c], edi
cmp ecx, 0x140
jl 0x100a6686
test eax, eax
jle 0x100a694f
dec eax
mov dword [esi], eax
test dl, dl
je 0x100a6975
test eax, eax
jne 0x100a6975
push 1
push dword [esi + 4]
lea ecx, [ebp - 0x114]
push 0x3ef
call fcn.100b51c0
mov ecx, dword [esi + 4]
push eax
call sub.rzlsys.dll_public:_void___thiscall_Dispatcher::SendMsg_class_MsgArg_const__
push 0x100a6230
push 5
push 0x1a
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.10175d28
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.10175e83
mov esp, ebp
pop ebp
ret