Function at 0x100ba020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017edaf
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 edi, ecx
cmp byte [edi + 0x431], 0
je 0x100ba4ee
cmp byte [edi + 0x432], 0
je 0x100ba4ee
cmp byte [0x1027bfa7], 0
je 0x100ba4ee
cmp dword [0x1027c03c], 0
jne 0x100ba088
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1027c03c], eax
mov eax, dword [0x1027bfb8]
test eax, eax
jne 0x100ba09b
mov eax, dword [0xf3e860]
mov dword [0x1027bfb8], eax
mov bl, byte [eax + 0x758]
movzx eax, bl
mov dword [ebp - 0x5c], eax
cmp dword [edi + 0x1bc], eax
je 0x100ba462
cmp bl, 1
je 0x100ba0c5
test bl, bl
je 0x100ba0c5
cmp bl, 0xff
jne 0x100ba462
push 0
push 0x101b8c74
mov ecx, 0x102adbcc
call fcn.10048350
mov eax, dword [edi + 0x1f0]
mov esi, dword [edi + 0x1ec]
mov dword [ebp - 0x60], eax
cmp esi, eax
je 0x100ba221
nop dword [eax]
push esi
lea ecx, [ebp - 0x34]
call fcn.10047950
mov dword [ebp - 4], 0
mov cl, 1
mov dword [ebp - 0x18], 0x217d2101
xor eax, eax
mov byte [ebp - 0x14], 0
nop
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 3
jae 0x100ba11f
mov cl, byte [ebp - 0x18]
jmp 0x100ba110
lea ecx, [ebp - 0x17]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ba130
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x20]
sub eax, edx
cmp eax, ecx
jb 0x100ba50a
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push edx
cmovae eax, dword [ebp - 0x30]
push eax
push ecx
lea eax, [ebp - 0x17]
push eax
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.10049270
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
mov ecx, 0x102adbcc
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.10048420
lea ecx, [ebp - 0x58]
call fcn.100448c0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x100ba1a3
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x58]
push 8
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100ba1ee
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 esi, 0x1c
add esp, 8
cmp esi, dword [ebp - 0x60]
jne 0x100ba0f0
mov eax, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x84]
mov dword [edi + 0x1bc], eax
call fcn.1006b500
mov dword [ebp - 0x84], vtable.Packet.0
mov byte [ebp - 0x64], 0xe9
mov dword [ebp - 4], 2
mov bh, 0xa2
mov ecx, dword [ebp - 0x6c]
mov eax, ecx
mov edx, dword [ebp - 0x70]
sub eax, edx
cmp eax, 0x989680
jb 0x100ba27b
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x100ba293
push edx
lea ecx, [ebp - 0x74]
call fcn.10052dd0
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
call fcn.10052d60
mov byte [eax], bh
mov edx, dword [ebp - 0x6c]
mov eax, edx
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
inc ecx
sub eax, esi
mov dword [ebp - 0x78], ecx
cmp eax, 0x989680
jb 0x100ba2d6
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov edx, dword [ebp - 0x6c]
add esp, 0xc
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
sub edx, esi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x100ba2eb
push eax
lea ecx, [ebp - 0x74]
call fcn.10052dd0
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x74]
call fcn.10052d60
lea ecx, [ebp - 0x84]
mov byte [eax], bl
mov eax, 0x102adbd0
inc dword [ebp - 0x78]
cmp dword [0x102adbe4], 0x10
cmovae eax, dword [0x102adbd0]
push eax
call fcn.10057140
cmp dword [edi + 0x210], 0x10
lea eax, [edi + 0x1fc]
jb 0x100ba329
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x84]
call fcn.10057140
cmp byte [0x1027bfa7], 0
je 0x100ba3a2
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x70]
inc eax
movzx eax, ax
push eax
mov dword [ebp - 0x5c], eax
call fcn.10121110
mov cl, byte [ebp - 0x64]
mov esi, eax
add esp, 4
mov byte [esi], cl
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x70]
je 0x100ba37b
push eax
push 0
lea ecx, [ebp - 0x74]
call fcn.1004f5c0
push eax
lea eax, [esi + 1]
push eax
call fcn.10122d50
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call dword [0x101ba664]
push esi
call fcn.101204d0
add esp, 4
test bl, bl
je 0x100ba409
cmp bl, 1
je 0x100ba409
cmp bl, 2
je 0x100ba409
cmp bl, 0xb
je 0x100ba409
cmp bl, 0xc
je 0x100ba409
cmp bl, 0xfa
je 0x100ba409
cmp bl, 0xff
je 0x100ba409
movaps xmm0, xmmword [0x101c1ed0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], 0x7c1118
movaps xmm0, xmmword [0x101c21b0]
movups xmmword [ebp - 0x2c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x22
jb 0x100ba3e3
sub esp, 0x1c
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x3b]
mov ecx, esp
push eax
call fcn.10047780
mov ecx, edi
call fcn.100ba7e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x84], vtable.ByteBuffer.0
call fcn.100448c0
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x100ba44d
mov eax, dword [ebp - 0x68]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x74]
push 8
push eax
mov dword [ebp - 0x74], 0
call fcn.10049010
add esp, 8
mov esi, dword [edi + 0x324]
test esi, esi
jne 0x100ba493
push 0x48
call fcn.101207d0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.100e6550
mov esi, eax
mov dword [edi + 0x324], esi
test esi, esi
je 0x100ba4ee
mov ecx, dword [0x1027c2dc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test ecx, ecx
jne 0x100ba4c2
push 0
push 4
push 0x1027c2dc
push 0xf3e860
call ebx
push eax
call edi
mov ecx, dword [0x1027c2dc]
push 0
push 2
lea eax, [esi + 0x20]
push eax
lea eax, [ecx + 0x748]
push eax
call ebx
push eax
call edi
push 0
push 1
lea eax, [esi + 0x23]
push eax
mov eax, dword [0x1027c2dc]
add eax, 0x74c
push eax
call ebx
push eax
call edi
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
call fcn.10044910
int3