Function at 0x1005ece0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bfa2
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x9c], esi
mov eax, dword [esi]
mov dword [0x100c1da8], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1005f3b7
cmp dword [ebp + 0xc], 1
jne 0x1005f3b7
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005f3d6
cmp eax, ecx
jne 0x1005f3d6
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x60]
call fcn.10016b20
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x50]
test edi, edi
jne 0x1005ee05
mov ah, 0x6a
mov byte [ebp - 0x64], 0
mov al, 0x3e
mov byte [ebp - 0x68], ah
xor al, ah
mov byte [ebp - 0x64], 0
mov cl, 0xb
mov byte [ebp - 0x67], al
mov dl, 0xd
xor cl, ah
xor dl, ah
mov byte [ebp - 0x66], cl
lea eax, [ebp - 0x67]
mov byte [ebp - 0x65], dl
push eax
lea ecx, [ebp - 0x28]
call fcn.10002980
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100b1b90]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x6f6029
nop word [eax + eax]
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x12
jb 0x1005edb0
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x79], 0
push eax
lea ecx, [ebp - 0xb4]
call fcn.10002980
push 0
push 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.10020af0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.10002340
lea ecx, [ebp - 0x28]
jmp 0x1005f39d
cmp edi, 0x20
jbe 0x1005ee8f
mov ah, 0x5f
mov byte [ebp - 0x64], 0
mov al, 0xb
mov byte [ebp - 0x68], ah
xor al, ah
mov byte [ebp - 0x64], 0
mov cl, 0x3e
mov byte [ebp - 0x67], al
mov dl, 0x38
xor cl, ah
xor dl, ah
mov byte [ebp - 0x66], cl
lea eax, [ebp - 0x67]
mov byte [ebp - 0x65], dl
push eax
lea ecx, [ebp - 0xb4]
call fcn.10002980
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x100b1890]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0x5b121b1a
mov word [ebp - 0x78], 0x54
mov al, byte [ebp - 0x8c]
xor byte [ebp + ecx - 0x8b], al
inc ecx
cmp ecx, 0x14
jb 0x1005ee60
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x77], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10002980
mov byte [ebp - 4], 4
jmp 0x1005f37a
xor esi, esi
test edi, edi
je 0x1005eedb
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
nop dword [eax + eax]
cmp ecx, 0x10
lea eax, [ebp - 0x60]
cmovae eax, edx
cmp byte [eax + esi], 0x20
je 0x1005eed6
cmp ecx, 0x10
lea eax, [ebp - 0x60]
cmovae eax, edx
movsx eax, byte [eax + esi]
push eax
call fcn.10086068
add esp, 4
test eax, eax
je 0x1005ef5c
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
inc esi
cmp esi, edi
jb 0x1005eea0
mov byte [ebp - 0x68], 0x43
mov al, 4
xor al, byte [ebp - 0x68]
mov ah, 0x26
mov byte [ebp - 0x67], al
sub esp, 0x18
mov al, byte [ebp - 0x68]
mov cl, 0x22
mov ch, 0x63
mov dword [ebp - 0x74], esp
xor cl, al
mov byte [ebp - 0x61], 0
xor ah, al
mov byte [ebp - 0x66], cl
xor ch, al
mov byte [ebp - 0x64], ah
mov dl, 0x2e
mov byte [ebp - 0x63], ch
mov dh, 0xe
mov byte [ebp - 0x61], 0
xor dl, al
xor dh, al
lea eax, [ebp - 0x67]
mov byte [ebp - 0x65], dl
mov ecx, esp
mov byte [ebp - 0x62], dh
push eax
call fcn.10002980
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1005f022
mov eax, dword [ecx]
jmp 0x1005f024
mov ah, 0x2b
mov byte [ebp - 0x64], 0
mov al, 0x7f
mov byte [ebp - 0x68], ah
xor al, ah
mov byte [ebp - 0x64], 0
mov cl, 0x4a
mov byte [ebp - 0x67], al
mov dl, 0x4c
xor cl, ah
xor dl, ah
mov byte [ebp - 0x66], cl
lea eax, [ebp - 0x67]
mov byte [ebp - 0x65], dl
push eax
lea ecx, [ebp - 0xb4]
call fcn.10002980
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x100b1d90]
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xc4], 0x515c4014
movaps xmm0, xmmword [0x100b1da0]
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xc0], 0x53554014
movaps xmm0, xmmword [0x100b1fd0]
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xbc], 0x1a505d14
mov word [ebp - 0xb8], 0x15
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x3c
jb 0x1005eff0
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xb7], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10002980
mov byte [ebp - 4], 6
jmp 0x1005f37a
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.10002440
mov byte [ebp - 4], 0
call fcn.100124e0
add esp, 0x30
test al, al
jne 0x1005f2ed
mov dh, 0x44
mov byte [ebp - 0x62], 0
mov al, 3
mov byte [ebp - 0x68], dh
mov ah, 0x21
mov byte [ebp - 0x62], 0
sub esp, 0x18
mov cl, 0x25
mov ch, 9
mov dword [ebp - 0x98], esp
xor al, dh
xor ah, dh
xor cl, dh
mov byte [ebp - 0x67], al
xor ch, dh
mov byte [ebp - 0x64], ah
mov dl, 0x29
mov byte [ebp - 0x66], cl
mov byte [ebp - 0x63], ch
lea eax, [ebp - 0x67]
xor dl, dh
mov ecx, esp
push eax
mov byte [ebp - 0x65], dl
call fcn.10002980
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10006300
mov byte [ebp - 4], 0
call fcn.100124e0
add esp, 0x30
test al, al
jne 0x1005f2ed
mov dl, 4
mov byte [ebp - 0x71], 0
mov al, 0x43
mov byte [ebp - 0x74], dl
sub esp, 0x18
mov byte [ebp - 0x71], 0
mov cl, 0x49
mov dword [ebp - 0x98], esp
xor al, dl
xor cl, dl
mov byte [ebp - 0x73], al
lea eax, [ebp - 0x73]
mov byte [ebp - 0x72], cl
mov ecx, esp
push eax
call fcn.10002980
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10006300
mov byte [ebp - 4], 0
call fcn.100124e0
add esp, 0x30
test al, al
jne 0x1005f2ed
mov ch, 0x62
mov byte [ebp - 0x6f], 0
mov al, 0x23
mov byte [ebp - 0x74], ch
mov ah, 0xb
mov byte [ebp - 0x6f], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x73], al
mov cl, 6
mov byte [ebp - 0x70], ah
xor cl, ch
mov dword [ebp - 0x64], esp
mov dl, 0xf
mov byte [ebp - 0x72], cl
xor dl, ch
lea eax, [ebp - 0x73]
mov ecx, esp
mov byte [ebp - 0x71], dl
push eax
call fcn.10002980
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10006300
mov byte [ebp - 4], 0
call fcn.100124e0
add esp, 0x30
test al, al
jne 0x1005f2ed
mov ch, 0x14
mov byte [ebp - 0x6f], 0
mov cl, 0x71
mov byte [ebp - 0x74], ch
mov ah, cl
mov byte [ebp - 0x6f], 0
mov al, 0x50
xor ah, ch
xor al, ch
mov byte [ebp - 0x70], ah
sub esp, 0x18
mov byte [ebp - 0x73], al
xor cl, ch
mov dword [ebp - 0x64], esp
mov dl, 0x62
mov byte [ebp - 0x72], cl
xor dl, ch
lea eax, [ebp - 0x73]
mov ecx, esp
mov byte [ebp - 0x71], dl
push eax
call fcn.10002980
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10006300
mov byte [ebp - 4], 0
call fcn.100124e0
add esp, 0x30
test al, al
jne 0x1005f2ed
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x69], 0xa1
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x48], vtable.ByteBuffer.0
mov byte [ebp - 0x44], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0x1000
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.1000b4b0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
sub eax, edx
mov dword [ebp - 0x48], vtable.Packet.0
cmp eax, 0x989680
ja 0x1005f259
mov ecx, dword [ebp - 0x3c]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1005f250
push esi
lea ecx, [ebp - 0x38]
call fcn.1000b3f0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov al, byte [ebp - 0x69]
mov byte [edx + ecx], al
inc dword [ebp - 0x3c]
push 1
push 0xf
push 0xa6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.1001c4c0
mov ecx, eax
call fcn.1001c4c0
mov ecx, eax
call fcn.1001c4c0
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
mov esi, eax
cmovae ecx, dword [ebp - 0x60]
push ecx
mov ecx, esi
call fcn.1001c5b0
mov edi, dword [ebp - 0x9c]
movzx ecx, byte [edi + 0x1a]
movzx eax, byte [edi + 0x19]
push ecx
push eax
movzx eax, byte [edi + 0x18]
mov ecx, esi
push eax
call fcn.1001c4c0
mov ecx, eax
call fcn.1001c4c0
mov ecx, eax
call fcn.1001c4c0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub edx, ecx
call fcn.100174f0
mov ecx, edi
call fcn.1005f720
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], vtable.ByteBuffer.0
call fcn.1000b5b0
lea ecx, [ebp - 0x60]
call fcn.10002340
mov al, 1
jmp 0x1005f3b9
mov ah, 0x44
mov byte [ebp - 0x64], 0
mov al, 0x10
mov byte [ebp - 0x68], ah
xor al, ah
mov byte [ebp - 0x64], 0
mov cl, 0x25
mov byte [ebp - 0x67], al
mov dl, 0x23
xor cl, ah
xor dl, ah
mov byte [ebp - 0x66], cl
lea eax, [ebp - 0x67]
mov byte [ebp - 0x65], dl
push eax
lea ecx, [ebp - 0xb4]
call fcn.10002980
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x100b1590]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x85c4746
mov dword [ebp - 0x80], 0x47444449
mov dword [ebp - 0x7c], 0x64c4d5f
mov word [ebp - 0x78], 9
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x1c
jb 0x1005f350
lea eax, [ebp - 0x93]
mov byte [ebp - 0x77], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10002980
mov byte [ebp - 4], 0xd
push 0
push 0
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x28]
call fcn.10020af0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.10002340
lea ecx, [ebp - 0xb4]
call fcn.10002340
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1005f3b7
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002760
xor al, al
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.10067c75
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1005f4d1
cmp eax, ecx
jne 0x1005f4d1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x69], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x11
call fcn.1000b4b0
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x1005f481
mov ecx, dword [ebp - 0x20]
lea edi, [ecx + 1]
cmp eax, edi
jae 0x1005f478
push edi
lea ecx, [ebp - 0x1c]
call fcn.1000b3f0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0x69]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
push 2
push 0xf
push 0xa6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x13
call fcn.1001c4c0
mov ecx, eax
call fcn.1001c4c0
mov ecx, eax
call fcn.1001c4c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.100174f0
mov ecx, esi
call fcn.1005f720
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.1000b5b0
mov al, 1
jmp 0x1005f3b9
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1005f4e3
cmp eax, ecx
jne 0x1005f4e3
mov ecx, esi
call fcn.1005f720
mov al, 1
jmp 0x1005f3b9