Function at 0x10057660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b35b
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 0x10057f11
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0xc]
jne 0x10057e15
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10057f11
mov edi, 0x416960
call edi
push eax
lea ecx, [ebp - 0x48]
call fcn.10047950
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x100577bd
movaps xmm0, xmmword [0x101c3150]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x58], 0x69697478
movaps xmm0, xmmword [0x101c2ff0]
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 0x10057710
sub esp, 0x1c
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x77]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x2c]
push eax
call fcn.10049560
add esp, 0x20
mov byte [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x88], ecx
jb 0x10057756
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 0x10057760
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x7c], edi
call fcn.101234b0
push ebx
push dword [ebp - 0x88]
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 0xa30000
push dword [ebp - 0x7c]
mov eax, dword [0x101ba6ac]
call eax
jmp 0x10057888
cmp eax, 0x28
jbe 0x1005791e
movaps xmm0, xmmword [0x101c3130]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov byte [ebp - 0x4c], 0
movaps xmm0, xmmword [0x101c2670]
movups xmmword [ebp - 0x5c], xmm0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1f
jb 0x100577e2
sub esp, 0x1c
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x6b]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x2c]
push eax
call fcn.10049560
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x88], ecx
jb 0x10057828
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 0x10057830
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x7c], edi
call fcn.101234b0
push ebx
push dword [ebp - 0x88]
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 0xa30000
push dword [ebp - 0x7c]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.101204d0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100578ae
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100578f2
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
add esp, 8
jmp 0x10057f11
lea ecx, [ebp - 0xac]
mov bl, 0xd1
call fcn.10050b30
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 0x1005797a
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x1005799b
push edx
lea ecx, [ebp - 0x9c]
call fcn.10052dd0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052d60
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.10047950
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 0x10057a01
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x10057a22
push edx
lea ecx, [ebp - 0x9c]
call fcn.10052dd0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052d60
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.10057140
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 0x10057a8a
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x10057aab
push edx
lea ecx, [ebp - 0x9c]
call fcn.10052dd0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052d60
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 0x10057b09
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x10057b24
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052dd0
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10052d60
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 0x10057b82
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
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 0x10057b9d
push eax
lea ecx, [ebp - 0x9c]
call fcn.10052dd0
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10052d60
lea ecx, [ebp - 0x2c]
mov byte [eax], bl
inc dword [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10057bd2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
cmp byte [0x1027bfa7], 0
je 0x10057c78
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x98]
inc eax
movzx ebx, ax
push ebx
call fcn.10121110
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 0x10057c4e
push eax
push 0
lea ecx, [ebp - 0x9c]
call fcn.1004f5c0
push eax
lea eax, [edi + 1]
push eax
call fcn.10122d50
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.101204d0
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10057c87
push 0
call dword [0x101ba7a0]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10057d62
mov ecx, dword [ebp - 0x7c]
call dword [0x101ba710]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10057d62
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.10048f80
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.10048350
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.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10057d3b
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xac], vtable.ByteBuffer.0
call fcn.100448c0
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x10057db1
mov eax, dword [ebp - 0x90]
sub eax, ecx
push eax
push ecx
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10057de9
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
add esp, 8
jmp 0x10057f11
cmp eax, dword [esi + 8]
jne 0x10057f11
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10057ef2
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.10048f80
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.10048350
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.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10057ec8
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
mov eax, dword [esi + 0x14]
add esp, 8
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10057f02
mov ecx, dword [ebp - 0x7c]
call dword [0x101ba710]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10057f11
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.101204c0
mov esp, ebp
pop ebp
ret 8