Function at 0x10082470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0xc], 1
jne 0x1008278c
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x138]
jne 0x1008292f
mov eax, dword [esi + 0x124]
cmp eax, 1
jne 0x100825f4
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006b500
mov dword [ebp - 0x30], vtable.Packet.0
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 4], 0
mov bl, 0xad
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edx, dword [ebp - 0x1c]
sub eax, edx
cmp eax, 0x989680
jb 0x1008250d
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x10082525
push edx
lea ecx, [ebp - 0x20]
call fcn.10052dd0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.10052d60
mov byte [eax], bl
mov bl, 2
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
inc ecx
sub eax, edi
mov dword [ebp - 0x24], ecx
cmp eax, 0x989680
jb 0x1008256a
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
sub edx, edi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x1008257f
push eax
lea ecx, [ebp - 0x20]
call fcn.10052dd0
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10052d60
mov byte [eax], bl
inc dword [ebp - 0x24]
cmp byte [0x1027bfa7], 0
je 0x1008272f
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc eax
movzx ebx, ax
push ebx
call fcn.10121110
mov cl, byte [ebp - 0x10]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
je 0x100825d4
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.1004f5c0
push eax
lea eax, [edi + 1]
push eax
call fcn.10122d50
add esp, 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101ba664]
jmp 0x10082726
cmp eax, 2
jne 0x100827a2
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006b500
mov dword [ebp - 0x30], vtable.Packet.0
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 4], 1
mov bl, 0xad
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edx, dword [ebp - 0x1c]
sub eax, edx
cmp eax, 0x989680
jb 0x10082648
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x10082660
push edx
lea ecx, [ebp - 0x20]
call fcn.10052dd0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.10052d60
mov byte [eax], bl
mov bl, 1
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
inc ecx
sub eax, edi
mov dword [ebp - 0x24], ecx
cmp eax, 0x989680
jb 0x100826a5
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
sub edx, edi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x100826ba
push eax
lea ecx, [ebp - 0x20]
call fcn.10052dd0
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10052d60
mov byte [eax], bl
inc dword [ebp - 0x24]
cmp byte [0x1027bfa7], 0
je 0x1008272f
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc eax
movzx ebx, ax
push ebx
call fcn.10121110
mov cl, byte [ebp - 0x10]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
je 0x1008270b
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.1004f5c0
push eax
lea eax, [edi + 1]
push eax
call fcn.10122d50
add esp, 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101ba664]
push edi
call fcn.101204d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.100448c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10082770
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
push 8
push eax
call fcn.10049010
add esp, 8
mov ecx, esi
call fcn.100829f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 4
jne 0x10082785
lea ecx, [ebp - 0x54]
mov bl, 0xf4
call fcn.10050b30
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
mov edx, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x54], vtable.Packet.0
mov byte [ebp - 0x34], 0xe9
cmp eax, 0x989680
jb 0x100827f1
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x10082809
push edx
lea ecx, [ebp - 0x44]
call fcn.10052dd0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.10052d60
mov byte [eax], bl
mov ecx, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 3
mov bl, 2
mov edx, dword [ebp - 0x3c]
mov eax, edx
mov edi, dword [ebp - 0x40]
sub eax, edi
cmp eax, 0x989680
jb 0x10082855
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d430
mov edx, dword [ebp - 0x3c]
add esp, 0xc
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
sub edx, edi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x1008286a
push eax
lea ecx, [ebp - 0x44]
call fcn.10052dd0
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10052d60
mov byte [eax], bl
inc dword [ebp - 0x48]
cmp byte [0x1027bfa7], 0
je 0x100828df
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
inc eax
movzx ebx, ax
push ebx
call fcn.10121110
mov cl, byte [ebp - 0x34]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
je 0x100828bb
push eax
push 0
lea ecx, [ebp - 0x44]
call fcn.1004f5c0
push eax
lea eax, [edi + 1]
push eax
call fcn.10122d50
add esp, 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101ba664]
push edi
call fcn.101204d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], vtable.ByteBuffer.0
call fcn.100448c0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x10082920
mov eax, dword [ebp - 0x38]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], 0
jmp 0x1008277a
cmp eax, dword [esi + 0x134]
je 0x10082785
cmp eax, dword [esi + 0x13c]
jne 0x10082785
cmp dword [esi + 0x124], 3
jne 0x10082785
push 0
call fcn.101400a0
int3