Function at 0x100e89e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181de6
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 0x100e945a
cmp byte [eax + 0x10d], 0
je 0x100e945a
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e945a
cmp dword [ebp + 0xc], 1
jne 0x100e945a
cmp esi, dword [ebx + 4]
jne 0x100e8ae3
call fcn.100eb0e0
mov edi, dword [ebx + 0x120]
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x124]
test edi, edi
je 0x100e9158
cmp esi, edi
jne 0x100e9158
movzx eax, word [ebx + 0xec]
cmp ax, word [ebx + 0xee]
jae 0x100e8f19
inc eax
mov ecx, ebx
push eax
mov word [ebx + 0xec], ax
call fcn.100e9f30
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 0x2d
push eax
mov dword [ebp - 0x18], 0x249082d
xor eax, eax
mov word [ebp - 0x14], 0x4908
mov byte [ebp - 0x12], 0
nop dword [eax]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e90c8
mov cl, byte [ebp - 0x18]
jmp 0x100e8ad0
cmp esi, dword [ebx + 8]
jne 0x100e8f20
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e8aff
mov ecx, dword [ebp - 0x18]
call dword [0x101ba6e0]
lea edi, [ebx + 0xbc]
mov ecx, edi
call fcn.100447b0
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
call fcn.100ec220
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.10047840
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.10047670
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8b76
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea eax, [ebp - 0xa0]
push eax
call fcn.100f6e00
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x9c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x100e8ea8
nop
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
je 0x100e8e64
sub esp, 0x1c
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.10047840
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x14]
mov ecx, esp
add eax, 4
push eax
call fcn.10047840
mov byte [ebp - 4], 3
call fcn.100b6ce0
add esp, 0x38
cmp eax, 0xffffffff
je 0x100e8e64
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.10047840
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0x14
jb 0x100e8d5e
push 0x14
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
call fcn.100472a0
push 3
push 0x101c0b10
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100482d0
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.10048e10
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.10048410
lea ecx, [ebp - 0x74]
call fcn.100447b0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100e8cae
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10048ea0
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.10048410
lea ecx, [ebp - 0x34]
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8ce9
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100e8d31
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea edi, [ebx + 0xbc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e8daf
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100e8daf
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, 0x102ad9e4
push eax
call fcn.10048200
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.10047840
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
movzx eax, word [eax]
push eax
call fcn.100e71f0
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.100ebe70
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100e8df5
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.100447b0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100e8e3d
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100e8e8a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100e8e86
cmp esi, dword [eax + 8]
jne 0x100e8e86
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100e8e76
mov esi, eax
jmp 0x100e8e9e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100e8e9e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100e8e94
cmp byte [esi + 0xd], 0
je 0x100e8bc0
lea eax, [ebp - 0xa0]
push eax
mov ecx, eax
call fcn.100ec030
push 8
push dword [ebp - 0xa0]
call fcn.10048ea0
add esp, 8
lea ecx, [ebp - 0x90]
call fcn.100447b0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100e8ee9
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov al, 1
jmp 0x100e945c
cmp esi, dword [ebx + 0x10]
jne 0x100e9015
mov al, byte [ebx + 0xa8]
cmp al, 1
jbe 0x100e9015
dec al
push eax
mov byte [ebx + 0xa8], al
call fcn.100e94a0
cmp dword [ebx + 0x98], 0
je 0x100e8f19
movzx eax, byte [ebx + 0xa9]
lea esi, [ebp - 0x34]
push eax
movzx eax, byte [ebx + 0xa8]
mov cl, 0x24
push eax
mov dword [ebp - 0x18], 0xb400124
xor eax, eax
mov word [ebp - 0x14], 0x4001
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e8f85
mov cl, byte [ebp - 0x18]
jmp 0x100e8f76
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 9
test esi, esi
je 0x100e8fca
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e8fca
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8fe7
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov al, 1
jmp 0x100e945c
cmp esi, dword [ebx + 0x14]
jne 0x100e8a59
mov al, byte [ebx + 0xa8]
cmp al, byte [ebx + 0xa9]
jae 0x100e8a59
inc al
push eax
mov byte [ebx + 0xa8], al
call fcn.100e94a0
cmp dword [ebx + 0x98], 0
je 0x100e8f19
movzx eax, byte [ebx + 0xa9]
lea esi, [ebp - 0x34]
push eax
movzx eax, byte [ebx + 0xa8]
mov cl, 0x21
push eax
mov dword [ebp - 0x18], 0xe450421
xor eax, eax
mov word [ebp - 0x14], 0x4504
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e9082
mov cl, byte [ebp - 0x18]
jmp 0x100e9073
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 0xa
test esi, esi
je 0x100e8fca
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100e8fbe
jmp 0x100e8fca
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xb
test esi, esi
je 0x100e910d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e910d
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e912a
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov al, 1
jmp 0x100e945c
test edx, edx
je 0x100e91ed
cmp esi, edx
jne 0x100e91ed
movzx eax, word [ebx + 0xec]
mov ecx, eax
cmp eax, 1
jbe 0x100e9181
dec eax
mov word [ebx + 0xec], ax
movzx ecx, ax
push ecx
mov ecx, ebx
call fcn.100e9f30
movzx eax, word [ebx + 0xee]
lea esi, [ebp - 0x34]
push eax
movzx eax, word [ebx + 0xec]
mov cl, 0x72
push eax
mov dword [ebp - 0x18], 0x5d165772
xor eax, eax
mov word [ebp - 0x14], 0x1657
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x100e91c0
mov cl, byte [ebp - 0x18]
jmp 0x100e91b1
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xc
jmp 0x100e90f0
test ecx, ecx
je 0x100e943f
cmp esi, ecx
jne 0x100e943f
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebx + 0xe4]
jne 0x100e92ae
movaps xmm0, xmmword [0x101c23d0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x24393c38
mov dword [ebp - 0x20], 0x2d30387d
mov dword [ebp - 0x1c], 0x732429
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1a
jb 0x100e9231
lea ebx, [ebp - 0x33]
mov byte [ebp - 0x19], 0
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100e9248
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10120ea0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x18], edi
call fcn.10123240
push ebx
lea eax, [ebp - 0x33]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.10122ae0
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.10120260
add esp, 4
mov al, 1
jmp 0x100e945c
lea ecx, [ebp - 0x58]
mov bl, 0xf6
call fcn.100509b0
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 0x100e92f8
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
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 0x100e9310
push edx
lea ecx, [ebp - 0x48]
call fcn.10052c50
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10052be0
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 0x100e935c
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
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 0x100e9371
push eax
lea ecx, [ebp - 0x48]
call fcn.10052c50
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10052be0
mov byte [eax], bl
inc dword [ebp - 0x4c]
cmp byte [0x1027bfa7], 0
je 0x100e93ec
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
inc eax
movzx edi, ax
push edi
call fcn.10120ea0
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 0x100e93c2
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1004f440
push eax
lea eax, [esi + 1]
push eax
call fcn.10122ae0
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.10120260
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], vtable.ByteBuffer.0
call fcn.100447b0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100e9426
mov eax, dword [ebp - 0x3c]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
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.10048ea0
add esp, 8
mov al, bl
jmp 0x100e945c
test eax, eax
je 0x100e8f19
cmp esi, eax
jne 0x100e8f19
mov ecx, ebx
call fcn.100e8360
mov al, 1
jmp 0x100e945c
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.10120250
mov esp, ebp
pop ebp
ret 8