Function at 0x100574f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b0bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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 esi, ecx
cmp dword [ebp + 0xc], 1
mov eax, dword [esi + 0x10]
mov dword [0x10262880], eax
jne 0x10057da1
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0xc]
jne 0x10057ca5
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10057da1
mov edi, 0x416960
call edi
push eax
lea ecx, [ebp - 0x48]
call fcn.10047840
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1005764d
movaps xmm0, xmmword [0x101c30e0]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x58], 0x69697478
movaps xmm0, xmmword [0x101c2f80]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0x6c3b6f7e
mov dword [ebp - 0x50], 0x3a7f6974
mov byte [ebp - 0x4c], al
nop dword [eax + eax]
mov al, byte [ebp - 0x78]
xor byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x2b
jb 0x100575a0
sub esp, 0x1c
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x77]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp - 0x2c]
push eax
call fcn.100493f0
add esp, 0x20
mov byte [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x88], ecx
jb 0x100575e6
mov ecx, dword [ecx]
mov dword [ebp - 0x88], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100575f0
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10120ea0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x7c], edi
call fcn.10123240
push ebx
push dword [ebp - 0x88]
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 0xa30000
push dword [ebp - 0x7c]
mov eax, dword [0x101ba6ac]
call eax
jmp 0x10057718
cmp eax, 0x28
jbe 0x100577ae
movaps xmm0, xmmword [0x101c30c0]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov byte [ebp - 0x4c], 0
movaps xmm0, xmmword [0x101c25e0]
movups xmmword [ebp - 0x5c], xmm0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1f
jb 0x10057672
sub esp, 0x1c
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x6b]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp - 0x2c]
push eax
call fcn.100493f0
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x88], ecx
jb 0x100576b8
mov ecx, dword [ecx]
mov dword [ebp - 0x88], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100576c0
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10120ea0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x7c], edi
call fcn.10123240
push ebx
push dword [ebp - 0x88]
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 0xa30000
push dword [ebp - 0x7c]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.10120260
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.100447b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1005773e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048ea0
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.100447b0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10057782
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048ea0
add esp, 8
jmp 0x10057da1
lea ecx, [ebp - 0xac]
mov bl, 0xd1
call fcn.100509b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
mov eax, ecx
mov edx, dword [ebp - 0x98]
sub eax, edx
mov dword [ebp - 0xac], vtable.Packet.0
mov byte [ebp - 0x8c], 0xe9
cmp eax, 0x989680
jb 0x1005780a
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
mov ecx, dword [ebp - 0x94]
add esp, 0xc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x1005782b
push edx
lea ecx, [ebp - 0x9c]
call fcn.10052c50
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052be0
mov byte [eax], bl
inc dword [ebp - 0xa0]
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x14]
call edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10047840
mov byte [ebp - 4], 5
mov bl, 2
mov ecx, dword [ebp - 0x94]
mov eax, ecx
mov edx, dword [ebp - 0x98]
sub eax, edx
cmp eax, 0x989680
jb 0x10057891
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
mov ecx, dword [ebp - 0x94]
add esp, 0xc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x100578b2
push edx
lea ecx, [ebp - 0x9c]
call fcn.10052c50
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052be0
lea ecx, [ebp - 0xac]
mov byte [eax], bl
lea eax, [ebp - 0x28]
inc dword [ebp - 0xa0]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10056fd0
mov ecx, dword [ebp - 0x94]
mov eax, ecx
mov edx, dword [ebp - 0x98]
sub eax, edx
mov bl, byte [esi + 0x24]
cmp eax, 0x989680
jb 0x1005791a
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
mov ecx, dword [ebp - 0x94]
add esp, 0xc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x1005793b
push edx
lea ecx, [ebp - 0x9c]
call fcn.10052c50
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052be0
mov byte [eax], bl
mov edx, dword [ebp - 0x94]
mov eax, edx
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x98]
inc ecx
mov bl, byte [esi + 0x25]
sub eax, edi
mov dword [ebp - 0xa0], ecx
cmp eax, 0x989680
jb 0x10057999
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
mov edx, dword [ebp - 0x94]
add esp, 0xc
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
sub edx, edi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x100579b4
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052c50
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10052be0
mov byte [eax], bl
mov edx, dword [ebp - 0x94]
mov eax, edx
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x98]
inc ecx
mov bl, byte [esi + 0x26]
sub eax, edi
mov dword [ebp - 0xa0], ecx
cmp eax, 0x989680
jb 0x10057a12
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
mov edx, dword [ebp - 0x94]
add esp, 0xc
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
sub edx, edi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x10057a2d
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052c50
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10052be0
lea ecx, [ebp - 0x2c]
mov byte [eax], bl
inc dword [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.100447b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10057a62
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048ea0
add esp, 8
cmp byte [0x1027bfa7], 0
je 0x10057b08
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x98]
inc eax
movzx ebx, ax
push ebx
call fcn.10120ea0
mov cl, byte [ebp - 0x8c]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x98]
je 0x10057ade
push eax
push 0
lea ecx, [ebp - 0x9c]
call fcn.1004f440
push eax
lea eax, [edi + 1]
push eax
call fcn.10122ae0
add esp, 0xc
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x7c], ebx
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x7c]
push dword [ebp - 0x88]
call dword [0x101ba664]
push edi
call fcn.10120260
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10057b17
push 0
call dword [0x101ba7a0]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10057bf2
mov ecx, dword [ebp - 0x7c]
call dword [0x101ba710]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10057bf2
lea eax, [ebp - 0x81]
mov dword [ebp - 0x2c], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], eax
call fcn.10048e10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x80], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
push 0
push 0x101b8c74
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10048200
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x14]
push eax
mov eax, 0x4189a0
call eax
lea ecx, [ebp - 0x2c]
call fcn.100447b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10057bcb
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048ea0
add esp, 8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xac], vtable.ByteBuffer.0
call fcn.100447b0
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x10057c41
mov eax, dword [ebp - 0x90]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x9c]
push 8
push eax
mov dword [ebp - 0x9c], 0
call fcn.10048ea0
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.100447b0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10057c79
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048ea0
add esp, 8
jmp 0x10057da1
cmp eax, dword [esi + 8]
jne 0x10057da1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10057d82
lea eax, [ebp - 0x81]
mov dword [ebp - 0x2c], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], eax
call fcn.10048e10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x80], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 8
push 0
push 0x101b8c74
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10048200
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 9
mov ecx, dword [esi + 0x14]
push eax
mov eax, 0x4189a0
call eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10057d58
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048ea0
mov eax, dword [esi + 0x14]
add esp, 8
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10057d92
mov ecx, dword [ebp - 0x7c]
call dword [0x101ba710]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10057da1
push 0
call dword [0x101ba7a0]
mov al, 1
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