Function at 0x100dee30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101779e6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101cfdb0]
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 ebx, ecx
mov eax, dword [ebx + 0xa4]
mov dword [0x102712e8], eax
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x100df8a2
cmp byte [eax + 0x10d], 0
je 0x100df8a2
mov esi, dword [ebp + 8]
test esi, esi
je 0x100df8a2
cmp dword [ebp + 0xc], 1
jne 0x100df8a2
cmp esi, dword [ebx + 4]
jne 0x100def33
call fcn.100e1550
mov edi, dword [ebx + 0x120]
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x124]
test edi, edi
je 0x100df5a8
cmp esi, edi
jne 0x100df5a8
movzx eax, word [ebx + 0xec]
cmp ax, word [ebx + 0xee]
jae 0x100df369
inc eax
mov ecx, ebx
push eax
mov word [ebx + 0xec], ax
call fcn.100e0380
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 0x4b
push eax
mov dword [ebp - 0x18], 0x642f6e4b
xor eax, eax
mov word [ebp - 0x14], 0x2f6e
mov byte [ebp - 0x12], 0
nop dword [eax]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100df518
mov cl, byte [ebp - 0x18]
jmp 0x100def20
cmp esi, dword [ebx + 8]
jne 0x100df370
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100def4f
mov ecx, dword [ebp - 0x18]
call dword [0x101b0720]
lea edi, [ebx + 0xbc]
mov ecx, edi
call fcn.100432e0
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
call fcn.100e2690
mov eax, dword [edi + 4]
add esp, 4
mov dword [edi + 8], eax
mov eax, 0x416960
mov ecx, dword [ebx + 0x94]
call eax
push eax
lea ecx, [ebp - 0x34]
call fcn.10046370
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x90]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.100461a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.100432e0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100defc6
inc eax
push eax
push dword [ebp - 0x30]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.100479d0
add esp, 8
lea eax, [ebp - 0xa0]
push eax
call fcn.100ed1f0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x9c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x100df2f8
nop
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
je 0x100df2b4
sub esp, 0x1c
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.10046370
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x14]
mov ecx, esp
add eax, 4
push eax
call fcn.10046370
mov byte [ebp - 4], 3
call fcn.100b08f0
add esp, 0x38
cmp eax, 0xffffffff
je 0x100df2b4
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.10046370
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0x14
jb 0x100df1ae
push 0x14
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
call fcn.10045dd0
push 3
push 0x101b6014
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10046e00
mov edi, eax
mov byte [ebp - 4], 7
push 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.10047940
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [eax + 4], 0
mov dword [ebp - 0x34], eax
push edi
mov dword [eax], ecx
call fcn.10046f40
lea ecx, [ebp - 0x74]
call fcn.100432e0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100df0fe
inc eax
push eax
push dword [ebp - 0x70]
call fcn.100479d0
add esp, 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x60], 0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10046f40
lea ecx, [ebp - 0x34]
call fcn.100432e0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100df139
inc eax
push eax
push dword [ebp - 0x30]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.100479d0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.100432e0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100df181
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.100479d0
add esp, 8
lea edi, [ebx + 0xbc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100df1ff
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100df1ff
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, 0x102a29e4
push eax
call fcn.10046d30
push 0xff80ff80
push 0xf
push 0
push 0
push 0
push 0
push 0
push 0x102a29e4
push 0xff00
push 0x102a29e4
mov ecx, dword [ebp - 0x18]
call dword [0x101b0768]
sub esp, 0x1c
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.10046370
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
movzx eax, word [eax]
push eax
call fcn.100dd650
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.100e22e0
lea ecx, [ebp - 0x50]
call fcn.100432e0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100df245
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.100479d0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.100432e0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100df28d
inc eax
push eax
push dword [ebp - 0x70]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x74]
push 8
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.100479d0
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100df2da
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100df2d6
cmp esi, dword [eax + 8]
jne 0x100df2d6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100df2c6
mov esi, eax
jmp 0x100df2ee
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100df2ee
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100df2e4
cmp byte [esi + 0xd], 0
je 0x100df010
lea eax, [ebp - 0xa0]
push eax
mov ecx, eax
call fcn.100e24a0
push 8
push dword [ebp - 0xa0]
call fcn.100479d0
add esp, 8
lea ecx, [ebp - 0x90]
call fcn.100432e0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100df339
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x90]
push 8
push eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
call fcn.100479d0
add esp, 8
mov al, 1
jmp 0x100df8a4
cmp esi, dword [ebx + 0x10]
jne 0x100df465
mov al, byte [ebx + 0xa8]
cmp al, 1
jbe 0x100df465
dec al
push eax
mov byte [ebx + 0xa8], al
call fcn.100df8f0
cmp dword [ebx + 0x98], 0
je 0x100df369
movzx eax, byte [ebx + 0xa9]
lea esi, [ebp - 0x34]
push eax
movzx eax, byte [ebx + 0xa8]
mov cl, 0x14
push eax
mov dword [ebp - 0x18], 0x3b703114
xor eax, eax
mov word [ebp - 0x14], 0x7031
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100df3d5
mov cl, byte [ebp - 0x18]
jmp 0x100df3c6
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 9
test esi, esi
je 0x100df41a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100df41a
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp - 0x34]
call fcn.100432e0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100df437
inc eax
push eax
push dword [ebp - 0x30]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.100479d0
add esp, 8
mov al, 1
jmp 0x100df8a4
cmp esi, dword [ebx + 0x14]
jne 0x100deea9
mov al, byte [ebx + 0xa8]
cmp al, byte [ebx + 0xa9]
jae 0x100deea9
inc al
push eax
mov byte [ebx + 0xa8], al
call fcn.100df8f0
cmp dword [ebx + 0x98], 0
je 0x100df369
movzx eax, byte [ebx + 0xa9]
lea esi, [ebp - 0x34]
push eax
movzx eax, byte [ebx + 0xa8]
mov cl, 0x7b
push eax
mov dword [ebp - 0x18], 0x541f5e7b
xor eax, eax
mov word [ebp - 0x14], 0x1f5e
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100df4d2
mov cl, byte [ebp - 0x18]
jmp 0x100df4c3
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 0xa
test esi, esi
je 0x100df41a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100df40e
jmp 0x100df41a
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xb
test esi, esi
je 0x100df55d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100df55d
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp - 0x34]
call fcn.100432e0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100df57a
inc eax
push eax
push dword [ebp - 0x30]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.100479d0
add esp, 8
mov al, 1
jmp 0x100df8a4
test edx, edx
je 0x100df63d
cmp esi, edx
jne 0x100df63d
movzx eax, word [ebx + 0xec]
mov ecx, eax
cmp eax, 1
jbe 0x100df5d1
dec eax
mov word [ebx + 0xec], ax
movzx ecx, ax
push ecx
mov ecx, ebx
call fcn.100e0380
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 0x6c
push eax
mov dword [ebp - 0x18], 0x4308496c
xor eax, eax
mov word [ebp - 0x14], 0x849
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100df610
mov cl, byte [ebp - 0x18]
jmp 0x100df601
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xc
jmp 0x100df540
test ecx, ecx
je 0x100df887
cmp esi, ecx
jne 0x100df887
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebx + 0xe4]
jne 0x100df6fe
movaps xmm0, xmmword [0x101b81d0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x6a777276
mov dword [ebp - 0x20], 0x637e7633
mov dword [ebp - 0x1c], 0x3d6a67
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1a
jb 0x100df681
lea ebx, [ebp - 0x33]
mov byte [ebp - 0x19], 0
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100df698
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x18], edi
call fcn.101193b0
push ebx
lea eax, [ebp - 0x33]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.10118c50
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffff6f00
push dword [ebp - 0x18]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
mov al, 1
jmp 0x100df8a4
lea ecx, [ebp - 0x58]
mov bl, 0xf6
call fcn.1004f2b0
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x40]
mov eax, ecx
mov edx, dword [ebp - 0x44]
sub eax, edx
mov dword [ebp - 0x58], vtable.Packet.0
mov byte [ebp - 0x38], 0xe9
cmp eax, 0x989680
jb 0x100df748
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x100df760
push edx
lea ecx, [ebp - 0x48]
call fcn.10051550
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.100514e0
mov byte [eax], bl
mov ecx, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xe
mov bl, 1
mov edx, dword [ebp - 0x40]
mov eax, edx
mov esi, dword [ebp - 0x44]
sub eax, esi
cmp eax, 0x989680
jb 0x100df7ac
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
mov edx, dword [ebp - 0x40]
add esp, 0xc
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
sub edx, esi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x100df7c1
push eax
lea ecx, [ebp - 0x48]
call fcn.10051550
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100514e0
mov byte [eax], bl
inc dword [ebp - 0x4c]
cmp byte [0x10270fa7], 0
je 0x100df834
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
inc eax
movzx edi, ax
push edi
call fcn.10117010
mov cl, byte [ebp - 0x38]
mov esi, eax
add esp, 4
mov byte [esi], cl
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
sub eax, ecx
je 0x100df80a
push eax
push ecx
lea eax, [esi + 1]
push eax
call fcn.10118c50
add esp, 0xc
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x18], edi
mov ecx, dword [0x101b0708]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0x94]
call dword [0x101b06a4]
push esi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], vtable.ByteBuffer.0
call fcn.100432e0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100df86e
mov eax, dword [ebp - 0x3c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x48], 0
call fcn.100479d0
add esp, 8
mov al, bl
jmp 0x100df8a4
test eax, eax
je 0x100df369
cmp esi, eax
jne 0x100df369
mov ecx, ebx
call fcn.100de7c0
mov al, 1
jmp 0x100df8a4
xor al, al
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.101163c0
mov esp, ebp
pop ebp
ret 8