Function at 0x10001201
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10006820
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea edi, [ebp - 0x50]
mov dword [edi - 4], 0xe
sub esp, 0xc
mov al, byte [ebp - 0x74]
mov byte [esp + 8], al
mov dword [esp], edi
mov dword [esp + 4], str.__client_id__
lea esi, [ebp - 0x54]
mov ecx, esi
call fcn.10006572
cmp dword [esi], 0
je 0x10001268
xor eax, eax
xor byte [ebp + eax - 0x50], 0xaa
inc eax
cmp eax, dword [ebp - 0x54]
jb 0x1000125d
xor esi, esi
lea ebx, [ebp - 0x74]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
push edi
call fcn.100120d0
add esp, 4
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
push eax
push edi
call fcn.1000219c
lea edi, [ebp - 0x30]
mov dword [edi - 4], 0xa
movsd xmm0, qword [section..rdata]
movsd qword [edi], xmm0
mov word [edi + 8], 0xaa9b
xor byte [ebp + esi - 0x30], 0xaa
inc esi
cmp esi, dword [ebp - 0x34]
jb 0x100012ae
xor esi, esi
lea ebx, [ebp - 0x54]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
push edi
call fcn.100120d0
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, ebx
push eax
push edi
call fcn.1000219c
mov dword [ebp - 0x10], 1
push 0x18
call fcn.10006b33
add esp, 4
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x20], eax
mov dword [0x10031f78], eax
push eax
sub esp, 0x18
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
jb 0x1000131e
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
push eax
push edx
call fcn.10002224
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x18], 0x53b
call fcn.100014e4
mov esp, dword [ebp - 0x58]
xor ebx, ebx
test al, al
je 0x10001426
mov dword [ebp - 0x20], esp
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
push eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], ebx
movups xmmword [ecx], xmm0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x60], 0x10
lea edx, [ebp - 0x74]
jb 0x1000136f
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x10], 2
push eax
push edx
call fcn.10002224
lea ecx, [ebp - 0x34]
call fcn.10001606
mov esp, dword [ebp - 0x20]
mov dword [ebp - 0x3c], 0
xor edx, edx
mov cl, byte [ebp + edx - 0x3c]
mov byte [ebp - 0x21], cl
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x100013a7
mov byte [eax], cl
inc dword [ebp - 0x30]
jmp 0x100013c1
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
lea esi, [ebp - 0x21]
push esi
push eax
mov dword [ebp - 0x20], edx
call fcn.10002892
mov edx, dword [ebp - 0x20]
inc edx
cmp edx, 4
jne 0x10001391
mov ecx, dword [0x10031f78]
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x34]
push eax
call fcn.1000115e
mov ebx, eax
test al, al
je 0x10001410
lea ecx, [ebp - 0x3c]
push 0x10031f78
push 0x10001036
mov dword [ebp - 0x20], ebx
call fcn.100065a8
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x3c]
call fcn.10001690
cmp dword [ebp - 0x38], 0
jne 0x10001463
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10001426
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
push ecx
push eax
call fcn.10001f58
add esp, 8
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1000143b
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10001f58
add esp, 8
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x10001450
inc eax
push eax
push dword [ebp - 0x74]
call fcn.10001f58
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.1001260b
push ebp
sub esp, 0x1c
add ebp, 0xc
cmp dword [ebp - 0x38], 0
jne 0x1000147a
add esp, 0x1c
pop ebp
ret
call fcn.1001260b
push ebp
sub esp, 0x1c
add ebp, 0xc
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1000149c
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
push ecx
push eax
call fcn.10001f58
add esp, 8
add esp, 0x1c
pop ebp
ret