Function at 0x10080530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101730a5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x101cfdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0xc], 1
jne 0x1008083c
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x138]
jne 0x100809d7
mov eax, dword [esi + 0x124]
cmp eax, 1
jne 0x100806ac
push ecx
lea ecx, [ebp - 0x30]
call fcn.10069cc0
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 0x100805cd
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
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 0x100805e5
push edx
lea ecx, [ebp - 0x20]
call fcn.10051550
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.100514e0
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 0x1008062a
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
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 0x1008063f
push eax
lea ecx, [ebp - 0x20]
call fcn.10051550
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100514e0
mov byte [eax], bl
inc dword [ebp - 0x24]
cmp byte [0x10270fa7], 0
je 0x100807df
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc eax
movzx ebx, ax
push ebx
call fcn.10117010
mov cl, byte [ebp - 0x10]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
je 0x1008068c
push eax
push ecx
lea eax, [edi + 1]
push eax
call fcn.10118c50
add esp, 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x101b0708]
mov ecx, dword ds:[ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101b06a4]
jmp 0x100807d6
cmp eax, 2
jne 0x10080852
push ecx
lea ecx, [ebp - 0x30]
call fcn.10069cc0
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 0x10080700
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
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 0x10080718
push edx
lea ecx, [ebp - 0x20]
call fcn.10051550
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.100514e0
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 0x1008075d
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
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 0x10080772
push eax
lea ecx, [ebp - 0x20]
call fcn.10051550
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100514e0
mov byte [eax], bl
inc dword [ebp - 0x24]
cmp byte [0x10270fa7], 0
je 0x100807df
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc eax
movzx ebx, ax
push ebx
call fcn.10117010
mov cl, byte [ebp - 0x10]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
je 0x100807bb
push eax
push ecx
lea eax, [edi + 1]
push eax
call fcn.10118c50
add esp, 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x101b0708]
mov ecx, dword ds:[ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101b06a4]
push edi
call fcn.101163d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.100432e0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10080820
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
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.100479d0
add esp, 8
mov ecx, esi
call fcn.10080aa0
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 0x10080835
lea ecx, [ebp - 0x54]
mov bl, 0xf4
call fcn.1004f2b0
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 0x100808a1
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
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 0x100808b9
push edx
lea ecx, [ebp - 0x44]
call fcn.10051550
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.100514e0
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 0x10080905
push 0x97
push 0x101aff08
push str.size_____10000000
call fcn.10133310
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 0x1008091a
push eax
lea ecx, [ebp - 0x44]
call fcn.10051550
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
call fcn.100514e0
mov byte [eax], bl
inc dword [ebp - 0x48]
cmp byte [0x10270fa7], 0
je 0x10080987
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
inc eax
movzx ebx, ax
push ebx
call fcn.10117010
mov cl, byte [ebp - 0x34]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
je 0x10080963
push eax
push ecx
lea eax, [edi + 1]
push eax
call fcn.10118c50
add esp, 0xc
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
mov ecx, dword [0x101b0708]
mov ecx, dword ds:[ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101b06a4]
push edi
call fcn.101163d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], vtable.ByteBuffer.0
call fcn.100432e0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x100809c8
mov eax, dword [ebp - 0x38]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
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 0x1008082a
cmp eax, dword [esi + 0x134]
je 0x10080835
cmp eax, dword [esi + 0x13c]
jne 0x10080835
cmp dword [esi + 0x124], 3
jne 0x10080835
push 0
call fcn.10135f80
int3