Function at 0x100e8040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181286
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101dadb0]
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 [0x1027c2e8], eax
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x100e8aba
cmp byte [eax + 0x10d], 0
je 0x100e8aba
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e8aba
cmp dword [ebp + 0xc], 1
jne 0x100e8aba
cmp esi, dword [ebx + 4]
jne 0x100e8143
call fcn.100ea740
mov edi, dword [ebx + 0x120]
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x124]
test edi, edi
je 0x100e87b8
cmp esi, edi
jne 0x100e87b8
movzx eax, word [ebx + 0xec]
cmp ax, word [ebx + 0xee]
jae 0x100e8579
inc eax
mov ecx, ebx
push eax
mov word [ebx + 0xec], ax
call fcn.100e9590
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 0x46
push eax
mov dword [ebp - 0x18], 0x69226346
xor eax, eax
mov word [ebp - 0x14], 0x2263
mov byte [ebp - 0x12], 0
nop dword [eax]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e8728
mov cl, byte [ebp - 0x18]
jmp 0x100e8130
cmp esi, dword [ebx + 8]
jne 0x100e8580
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e815f
mov ecx, dword [ebp - 0x18]
call dword [0x101ba6e0]
lea edi, [ebx + 0xbc]
mov ecx, edi
call fcn.10043e40
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
call fcn.100eb880
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.10046ed0
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.10046d00
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10043e40
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e81d6
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048530
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.10048530
add esp, 8
lea eax, [ebp - 0xa0]
push eax
call fcn.100f6450
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x9c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x100e8508
nop
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
je 0x100e84c4
sub esp, 0x1c
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.10046ed0
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x14]
mov ecx, esp
add eax, 4
push eax
call fcn.10046ed0
mov byte [ebp - 4], 3
call fcn.100b6320
add esp, 0x38
cmp eax, 0xffffffff
je 0x100e84c4
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.10046ed0
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0x14
jb 0x100e83be
push 0x14
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
call fcn.10046930
push 3
push 0x101c0820
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10047960
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.100484a0
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.10047aa0
lea ecx, [ebp - 0x74]
call fcn.10043e40
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100e830e
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10048530
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.10047aa0
lea ecx, [ebp - 0x34]
call fcn.10043e40
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8349
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048530
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.10048530
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.10043e40
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100e8391
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048530
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.10048530
add esp, 8
lea edi, [ebx + 0xbc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e840f
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100e840f
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, 0x102ad9e4
push eax
call fcn.10047890
push 0xff80ff80
push 0xf
push 0
push 0
push 0
push 0
push 0
push 0x102ad9e4
push 0xff00
push 0x102ad9e4
mov ecx, dword [ebp - 0x18]
call dword [0x101ba728]
sub esp, 0x1c
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.10046ed0
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
movzx eax, word [eax]
push eax
call fcn.100e6850
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.100eb4d0
lea ecx, [ebp - 0x50]
call fcn.10043e40
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100e8455
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048530
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.10048530
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10043e40
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100e849d
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10048530
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.10048530
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100e84ea
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100e84e6
cmp esi, dword [eax + 8]
jne 0x100e84e6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100e84d6
mov esi, eax
jmp 0x100e84fe
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100e84fe
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100e84f4
cmp byte [esi + 0xd], 0
je 0x100e8220
lea eax, [ebp - 0xa0]
push eax
mov ecx, eax
call fcn.100eb690
push 8
push dword [ebp - 0xa0]
call fcn.10048530
add esp, 8
lea ecx, [ebp - 0x90]
call fcn.10043e40
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100e8549
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.10048530
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.10048530
add esp, 8
mov al, 1
jmp 0x100e8abc
cmp esi, dword [ebx + 0x10]
jne 0x100e8675
mov al, byte [ebx + 0xa8]
cmp al, 1
jbe 0x100e8675
dec al
push eax
mov byte [ebx + 0xa8], al
call fcn.100e8b00
cmp dword [ebx + 0x98], 0
je 0x100e8579
movzx eax, byte [ebx + 0xa9]
lea esi, [ebp - 0x34]
push eax
movzx eax, byte [ebx + 0xa8]
mov cl, 0x13
push eax
mov dword [ebp - 0x18], 0x3c773613
xor eax, eax
mov word [ebp - 0x14], 0x7736
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e85e5
mov cl, byte [ebp - 0x18]
jmp 0x100e85d6
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10046d00
push esi
call fcn.10049e30
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 9
test esi, esi
je 0x100e862a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e862a
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
call fcn.10043e40
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8647
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048530
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.10048530
add esp, 8
mov al, 1
jmp 0x100e8abc
cmp esi, dword [ebx + 0x14]
jne 0x100e80b9
mov al, byte [ebx + 0xa8]
cmp al, byte [ebx + 0xa9]
jae 0x100e80b9
inc al
push eax
mov byte [ebx + 0xa8], al
call fcn.100e8b00
cmp dword [ebx + 0x98], 0
je 0x100e8579
movzx eax, byte [ebx + 0xa9]
lea esi, [ebp - 0x34]
push eax
movzx eax, byte [ebx + 0xa8]
mov cl, 0xa
push eax
mov dword [ebp - 0x18], 0x256e2f0a
xor eax, eax
mov word [ebp - 0x14], 0x6e2f
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e86e2
mov cl, byte [ebp - 0x18]
jmp 0x100e86d3
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10046d00
push esi
call fcn.10049e30
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 0xa
test esi, esi
je 0x100e862a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100e861e
jmp 0x100e862a
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10046d00
push esi
call fcn.10049e30
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xb
test esi, esi
je 0x100e876d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e876d
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
call fcn.10043e40
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e878a
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048530
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.10048530
add esp, 8
mov al, 1
jmp 0x100e8abc
test edx, edx
je 0x100e884d
cmp esi, edx
jne 0x100e884d
movzx eax, word [ebx + 0xec]
mov ecx, eax
cmp eax, 1
jbe 0x100e87e1
dec eax
mov word [ebx + 0xec], ax
movzx ecx, ax
push ecx
mov ecx, ebx
call fcn.100e9590
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 4
push eax
mov dword [ebp - 0x18], 0x2b602104
xor eax, eax
mov word [ebp - 0x14], 0x6021
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e8820
mov cl, byte [ebp - 0x18]
jmp 0x100e8811
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10046d00
push esi
call fcn.10049e30
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xc
jmp 0x100e8750
test ecx, ecx
je 0x100e8a9f
cmp esi, ecx
jne 0x100e8a9f
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebx + 0xe4]
jne 0x100e890e
movaps xmm0, xmmword [0x101c2370]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x302d282c
mov dword [ebp - 0x20], 0x39242c69
mov dword [ebp - 0x1c], 0x67303d
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1a
jb 0x100e8891
lea ebx, [ebp - 0x33]
mov byte [ebp - 0x19], 0
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100e88a8
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.101204d0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x18], edi
call fcn.10122870
push ebx
lea eax, [ebp - 0x33]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.10122110
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 [0x101ba6ac]
call eax
push edi
call fcn.1011f890
add esp, 4
mov al, 1
jmp 0x100e8abc
lea ecx, [ebp - 0x58]
mov bl, 0xf6
call fcn.10050040
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 0x100e8958
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013c7e0
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 0x100e8970
push edx
lea ecx, [ebp - 0x48]
call fcn.100522e0
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10052270
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 0x100e89bc
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013c7e0
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 0x100e89d1
push eax
lea ecx, [ebp - 0x48]
call fcn.100522e0
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10052270
mov byte [eax], bl
inc dword [ebp - 0x4c]
cmp byte [0x1027bfa7], 0
je 0x100e8a4c
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
inc eax
movzx edi, ax
push edi
call fcn.101204d0
mov cl, byte [ebp - 0x38]
mov esi, eax
add esp, 4
mov byte [esi], cl
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
je 0x100e8a22
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1004ead0
push eax
lea eax, [esi + 1]
push eax
call fcn.10122110
add esp, 0xc
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x18], edi
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0x94]
call dword [0x101ba664]
push esi
call fcn.1011f890
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], vtable.ByteBuffer.0
call fcn.10043e40
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100e8a86
mov eax, dword [ebp - 0x3c]
sub eax, ecx
push eax
push ecx
call fcn.10048530
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.10048530
add esp, 8
mov al, bl
jmp 0x100e8abc
test eax, eax
je 0x100e8579
cmp esi, eax
jne 0x100e8579
mov ecx, ebx
call fcn.100e79c0
mov al, 1
jmp 0x100e8abc
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.1011f880
mov esp, ebp
pop ebp
ret 8