Function at 0x100e8c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101820b6
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 0x100e970a
cmp byte [eax + 0x10d], 0
je 0x100e970a
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e970a
cmp dword [ebp + 0xc], 1
jne 0x100e970a
cmp esi, dword [ebx + 4]
jne 0x100e8d93
call fcn.100eb390
mov edi, dword [ebx + 0x120]
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x124]
test edi, edi
je 0x100e9408
cmp esi, edi
jne 0x100e9408
movzx eax, word [ebx + 0xec]
cmp ax, word [ebx + 0xee]
jae 0x100e91c9
inc eax
mov ecx, ebx
push eax
mov word [ebx + 0xec], ax
call fcn.100ea1e0
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 0x100e9378
mov cl, byte [ebp - 0x18]
jmp 0x100e8d80
cmp esi, dword [ebx + 8]
jne 0x100e91d0
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e8daf
mov ecx, dword [ebp - 0x18]
call dword [0x101ba6e0]
lea edi, [ebx + 0xbc]
mov ecx, edi
call fcn.100448c0
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
call fcn.100ec4e0
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.10047950
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.10047780
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8e26
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
add esp, 8
lea eax, [ebp - 0xa0]
push eax
call fcn.100f70b0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x9c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x100e9158
nop
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
je 0x100e9114
sub esp, 0x1c
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.10047950
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x14]
mov ecx, esp
add eax, 4
push eax
call fcn.10047950
mov byte [ebp - 4], 3
call fcn.100b6e60
add esp, 0x38
cmp eax, 0xffffffff
je 0x100e9114
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x74]
add eax, 4
push eax
call fcn.10047950
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0x14
jb 0x100e900e
push 0x14
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
call fcn.100473b0
push 3
push 0x101c0bb0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10048420
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.10048f80
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.10048560
lea ecx, [ebp - 0x74]
call fcn.100448c0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100e8f5e
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10049010
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.10048560
lea ecx, [ebp - 0x34]
call fcn.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e8f99
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.100448c0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100e8fe1
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10049010
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.10049010
add esp, 8
lea edi, [ebx + 0xbc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e905f
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100e905f
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, 0x102ad9e4
push eax
call fcn.10048350
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.10047950
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
movzx eax, word [eax]
push eax
call fcn.100e74a0
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.100ec130
lea ecx, [ebp - 0x50]
call fcn.100448c0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100e90a5
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10049010
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.10049010
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.100448c0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100e90ed
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10049010
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.10049010
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100e913a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100e9136
cmp esi, dword [eax + 8]
jne 0x100e9136
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100e9126
mov esi, eax
jmp 0x100e914e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100e914e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100e9144
cmp byte [esi + 0xd], 0
je 0x100e8e70
lea eax, [ebp - 0xa0]
push eax
mov ecx, eax
call fcn.100ec2f0
push 8
push dword [ebp - 0xa0]
call fcn.10049010
add esp, 8
lea ecx, [ebp - 0x90]
call fcn.100448c0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100e9199
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.10049010
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.10049010
add esp, 8
mov al, 1
jmp 0x100e970c
cmp esi, dword [ebx + 0x10]
jne 0x100e92c5
mov al, byte [ebx + 0xa8]
cmp al, 1
jbe 0x100e92c5
dec al
push eax
mov byte [ebx + 0xa8], al
call fcn.100e9750
cmp dword [ebx + 0x98], 0
je 0x100e91c9
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 0x100e9235
mov cl, byte [ebp - 0x18]
jmp 0x100e9226
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 9
test esi, esi
je 0x100e927a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e927a
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
call fcn.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e9297
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
add esp, 8
mov al, 1
jmp 0x100e970c
cmp esi, dword [ebx + 0x14]
jne 0x100e8d09
mov al, byte [ebx + 0xa8]
cmp al, byte [ebx + 0xa9]
jae 0x100e8d09
inc al
push eax
mov byte [ebx + 0xa8], al
call fcn.100e9750
cmp dword [ebx + 0x98], 0
je 0x100e91c9
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 0x100e9332
mov cl, byte [ebp - 0x18]
jmp 0x100e9323
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [ebx + 0x98]
add esp, 0x28
mov dword [ebp - 4], 0xa
test esi, esi
je 0x100e927a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100e926e
jmp 0x100e927a
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xb
test esi, esi
je 0x100e93bd
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100e93bd
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
call fcn.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100e93da
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
add esp, 8
mov al, 1
jmp 0x100e970c
test edx, edx
je 0x100e949d
cmp esi, edx
jne 0x100e949d
movzx eax, word [ebx + 0xec]
mov ecx, eax
cmp eax, 1
jbe 0x100e9431
dec eax
mov word [ebx + 0xec], ax
movzx ecx, ax
push ecx
mov ecx, ebx
call fcn.100ea1e0
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 0x100e9470
mov cl, byte [ebp - 0x18]
jmp 0x100e9461
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [ebx + 0x11c]
add esp, 0x28
mov dword [ebp - 4], 0xc
jmp 0x100e93a0
test ecx, ecx
je 0x100e96ef
cmp esi, ecx
jne 0x100e96ef
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebx + 0xe4]
jne 0x100e955e
movaps xmm0, xmmword [0x101c2470]
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 0x100e94e1
lea ebx, [ebp - 0x33]
mov byte [ebp - 0x19], 0
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100e94f8
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x18], edi
call fcn.101234b0
push ebx
lea eax, [ebp - 0x33]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.10122d50
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.101204d0
add esp, 4
mov al, 1
jmp 0x100e970c
lea ecx, [ebp - 0x58]
mov bl, 0xf6
call fcn.10050b30
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 0x100e95a8
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x100e95c0
push edx
lea ecx, [ebp - 0x48]
call fcn.10052dd0
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10052d60
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 0x100e960c
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x100e9621
push eax
lea ecx, [ebp - 0x48]
call fcn.10052dd0
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10052d60
mov byte [eax], bl
inc dword [ebp - 0x4c]
cmp byte [0x1027bfa7], 0
je 0x100e969c
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
inc eax
movzx edi, ax
push edi
call fcn.10121110
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 0x100e9672
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1004f5c0
push eax
lea eax, [esi + 1]
push eax
call fcn.10122d50
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.101204d0
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], vtable.ByteBuffer.0
call fcn.100448c0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100e96d6
mov eax, dword [ebp - 0x3c]
sub eax, ecx
push eax
push ecx
call fcn.10049010
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.10049010
add esp, 8
mov al, bl
jmp 0x100e970c
test eax, eax
je 0x100e91c9
cmp esi, eax
jne 0x100e91c9
mov ecx, ebx
call fcn.100e8610
mov al, 1
jmp 0x100e970c
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.101204c0
mov esp, ebp
pop ebp
ret 8