Function at 0x1004ca90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c370
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x100a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe0], esi
cmp dword [ebp + 8], 0
mov eax, dword [esi]
mov dword [0x100ae35c], eax
je 0x1004eb88
cmp dword [ebp + 0xc], 1
jne 0x1004eb88
mov ecx, 0x10b8218
mov byte [ebp - 0xd4], 0
call fcn.10015d00
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004cb1e
push 4
push eax
call edi
test eax, eax
jne 0x1004cb1e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], eax
jmp 0x1004cb32
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov eax, dword [esi + 0xdc]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004cba6
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004cba6
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004cba6
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004cba6
push 4
push eax
call edi
test eax, eax
jne 0x1004cba6
push dword [ebp - 0xcc]
mov eax, dword [0x1009f5e4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [esi + 0x34]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004cc14
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004cc14
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004cc14
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004cc14
push 4
push eax
call edi
test eax, eax
jne 0x1004cc14
push dword [ebp - 0xcc]
mov eax, dword [0x1009f5e4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd4], cl
mov eax, dword [esi + 0xfc]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004cc88
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004cc88
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004cc88
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004cc88
push 4
push eax
call edi
test eax, eax
jne 0x1004cc88
push dword [ebp - 0xcc]
mov eax, dword [0x1009f5e4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd4], cl
mov eax, dword [esi + 0x1a8]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ccfc
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ccfc
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004ccfc
mov eax, dword [esi + 0x1a8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ccfc
push 4
push eax
call edi
test eax, eax
jne 0x1004ccfc
push dword [ebp - 0xcc]
mov eax, dword [0x1009f5e4]
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call eax
mov ecx, dword [ebp - 0xd4]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd4], cl
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x1004cd18
cmp ecx, eax
jne 0x1004cd18
mov ecx, esi
call fcn.10050410
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x1004cdae
cmp ecx, eax
jne 0x1004cdae
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jge 0x1004d7bc
sub esp, 0x18
mov word [ebp - 0xcc], 0x6f
mov edx, esp
mov byte [ebp - 0xcb], 0
lea edi, [eax + 1]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0xcb]
mov dword [esi + 0x14], edi
mov dword [ebp - 0xdc], eax
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004cd80
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
push dword [ebp - 0xdc]
mov ecx, esi
push edi
call fcn.100518c0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x1004ce42
cmp ecx, eax
jne 0x1004ce42
mov eax, dword [esi + 0x14]
cmp eax, 1
jle 0x1004d7bc
sub esp, 0x18
mov word [ebp - 0xcc], 0x6f
mov edx, esp
mov byte [ebp - 0xcb], 0
lea edi, [eax - 1]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0xcb]
mov dword [esi + 0x14], edi
mov dword [ebp - 0xdc], eax
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ce14
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
push dword [ebp - 0xdc]
mov ecx, esi
push edi
call fcn.100518c0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1004ce5b
cmp ecx, eax
jne 0x1004ce5b
mov ecx, esi
call fcn.100511e0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x1004d80e
cmp ecx, eax
jne 0x1004d80e
mov ecx, dword [esi + 0xe0]
call fcn.100159f0
push eax
lea ecx, [ebp - 0x80]
call fcn.10004350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x80]
mov byte [ebp - 0xc9], 0
test eax, eax
je 0x1004cedf
mov esi, dword [ebp - 0x6c]
xor ecx, ecx
cmp esi, 0xf
lea eax, [ebp - 0x80]
cmova eax, edi
movsx eax, byte [eax + ecx]
push eax
call fcn.100736c0
add esp, 4
test eax, eax
je 0x1004ced6
mov al, byte [ebp - 0xc9]
inc al
movzx ecx, al
mov byte [ebp - 0xc9], al
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x1004cea2
jmp 0x1004ced9
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0xe0]
cmp eax, 4
jne 0x1004d2a3
mov ecx, dword [esi + 0xe4]
call fcn.100159f0
push eax
lea ecx, [ebp - 0x50]
call fcn.10004350
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xe8]
call fcn.100159f0
push eax
lea ecx, [ebp - 0x98]
call fcn.10004350
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xec]
call fcn.100159f0
push eax
lea ecx, [ebp - 0xc8]
call fcn.10004350
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xf0]
call fcn.100159f0
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004350
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
cmp edx, 0x7ffffffb
ja 0x1004eba7
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x80]
push edx
cmova ecx, edi
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
cmova eax, dword [ebp - 0x50]
push eax
push 4
push ecx
push ecx
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x17c]
call fcn.10010420
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x17c]
call fcn.10008390
mov dword [ebp - 0x108], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x104], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x118]
call fcn.10008390
mov dword [ebp - 0xf0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x100]
call fcn.10008390
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 4], 9
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0xec]
cmp ecx, 0xf
jbe 0x1004d0ba
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d0b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x1004d113
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d109
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x168]
cmp ecx, 0xf
jbe 0x1004d16c
mov edx, dword [ebp - 0x17c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d162
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
cmp dword [ebp - 0x58], 0x14
je 0x1004d497
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004d1ae
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d1a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1004d1ec
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d1e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1004d22a
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d220
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1004d268
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d25e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004d2a0
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d296
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov edi, dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10068f40
addss xmm0, dword [0x100a0758]
xor ecx, ecx
movss dword [esi + 0x10], xmm0
movaps xmm0, xmmword [0x100a0940]
movups xmmword [ebp - 0xf8], xmm0
nop dword [eax]
mov al, byte [ebp - 0xf8]
xor byte [ebp + ecx - 0xf7], al
inc ecx
cmp ecx, 0xe
jb 0x1004d2d0
xorps xmm0, xmm0
mov byte [ebp - 0xe9], 0
lea ecx, [ebp - 0xf7]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d308
sub ecx, edx
lea eax, [ebp - 0xf7]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100048a0
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x100a0b30]
movups xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0x124], 0x18030400
movaps xmm0, xmmword [0x100a1090]
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x120], 0x431e0819
movaps xmm0, xmmword [0x100a0a20]
movups xmmword [ebp - 0x144], xmm0
mov word [ebp - 0x11c], 0x4c
movaps xmm0, xmmword [0x100a11d0]
movups xmmword [ebp - 0x134], xmm0
nop dword [eax]
mov al, byte [ebp - 0x164]
xor byte [ebp + ecx - 0x163], al
inc ecx
cmp ecx, 0x48
jb 0x1004d380
xorps xmm0, xmm0
mov byte [ebp - 0x11b], 0
lea ecx, [ebp - 0x163]
mov dword [ebp - 0x108], 0
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x104], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d3c1
sub ecx, edx
lea eax, [ebp - 0x163]
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.100048a0
push 0
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x50]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x118]
push eax
push eax
call dword [0x1009f680]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x1004d441
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d437
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb1
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
cmp ecx, 0xf
jbe 0x1004d7cd
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d7c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb1
jmp 0x1004d7c3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000f550
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004d56b
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004d555
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004d534
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000f7d0
jmp 0x1004d552
sub edx, dword [ebp - 0xd4]
push edx
push 0
push edi
lea esi, [edx + edi]
call fcn.1006a010
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov edi, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], edi
mov edx, edi
mov byte [ebp - 4], 0xe
sub edx, ecx
cmp edx, 0x989680
ja 0x1004d5c3
mov edi, dword [ebp - 0x24]
inc edi
cmp edx, edi
jae 0x1004d5b9
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edi, eax
jbe 0x1004d598
push ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.1000f7d0
jmp 0x1004d5b6
sub edi, edx
push edi
push 0
push dword [ebp - 0xd0]
call fcn.1006a010
mov eax, dword [ebp - 0xd0]
add esp, 0xc
add eax, edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x30]
call fcn.1000f480
push 3
mov ecx, eax
call fcn.1000f480
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x68]
cmova ecx, dword [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.1000f310
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xdc], eax
cmp ecx, 0x4000
ja 0x1004d61b
mov ecx, dword ds:[0x10096be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0xdc]
call dword [0x10096be0]
mov ecx, esi
call fcn.10051340
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004d672
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004d653
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push edx
push ecx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004d6a6
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d69c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1004d6e0
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d6d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1004d71a
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d710
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1004d754
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d74a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004d788
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d77e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1004d7bc
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004d7b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebb6
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov al, 1
jmp 0x1004eb8a
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, esi
call fcn.10051340
mov eax, dword [ebp - 0x6c]
cmp eax, 0xf
jbe 0x1004d7bc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004d7fd
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebbb
push ecx
push edi
call fcn.10067ef6
add esp, 8
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x1004d82a
cmp ecx, eax
jne 0x1004d82a
mov ecx, esi
call fcn.10051340
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1004d86f
cmp ecx, eax
jne 0x1004d86f
mov ecx, dword [ebp - 0xe0]
sub esp, 0x18
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
mov esi, esp
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx + 0x64]
call fcn.100159f0
push eax
mov ecx, esi
call fcn.10004350
mov ecx, dword [ebp - 0xe0]
push edi
push dword [ebp - 0x14]
call fcn.100518c0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1004db16
cmp ecx, eax
jne 0x1004db16
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000f550
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov ecx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], edx
cmp edx, 0x989680
ja 0x1004d967
mov edx, dword [ebp - 0x24]
inc edx
cmp dword [ebp - 0xd4], edx
jae 0x1004d951
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004d92a
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000f7d0
jmp 0x1004d94e
sub edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
push edx
push 0
push eax
lea esi, [eax + edx]
call fcn.1006a010
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], eax
sub eax, ecx
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004d9cd
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004d9c3
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004d99a
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000f7d0
jmp 0x1004d9c0
sub edx, dword [ebp - 0xd4]
push edx
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0x14], edx
call fcn.1006a010
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x24]
push 0xb
lea ecx, [ebp - 0x30]
call fcn.1000f480
push 2
mov ecx, eax
call fcn.1000f480
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [eax + 0x14]
lea edx, [eax + 0x10]
mov dword [ebp - 0xd4], ecx
sub ecx, dword [edx]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xd0], ecx
cmp ecx, 0x989680
ja 0x1004da83
mov ecx, dword [eax + 0xc]
add ecx, 4
cmp dword [ebp - 0xd0], ecx
jae 0x1004da65
mov eax, dword [edx + 8]
sub eax, dword [edx]
cmp ecx, eax
jbe 0x1004da39
push ecx
push ecx
mov ecx, edx
call fcn.1000f7d0
mov edx, dword [ebp - 0xe0]
jmp 0x1004da65
sub ecx, dword [ebp - 0xd0]
push ecx
push 0
push dword [ebp - 0xd4]
mov dword [ebp - 0x14], ecx
call fcn.1006a010
mov edx, dword [ebp - 0xe0]
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xd4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edx]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0xcc]
add dword [eax + 0xc], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xdc], ecx
cmp eax, 0x4000
ja 0x1004dab7
mov ecx, dword ds:[0x10096be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0xdc]
call dword [0x10096be0]
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1004dad3
push 4
push esi
call edi
test eax, eax
jne 0x1004dad0
push eax
mov ecx, esi
call dword [0x1009f5f4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004d7bc
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004db05
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebc0
push edx
push ecx
call fcn.10067ef6
add esp, 8
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1004db49
cmp ecx, eax
jne 0x1004db49
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1004d7bc
push 4
push esi
call edi
test eax, eax
jne 0x1004d7bc
push eax
mov ecx, esi
call dword [0x1009f5f4]
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1004de0d
cmp ecx, eax
jne 0x1004de0d
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004db79
push 4
push eax
call edi
test eax, eax
jne 0x1004db79
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x1009f5f4]
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004dd57
push 4
push eax
call edi
test eax, eax
jne 0x1004dd57
mov ecx, 0x10b7b10
call fcn.10015d00
cmp dword [ebp - 0x14], eax
jne 0x1004dd57
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0x65
lea ecx, [ebp - 0xcb]
mov byte [ebp - 0xcb], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004dbd5
sub ecx, edx
lea eax, [ebp - 0xcb]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100048a0
mov dword [ebp - 4], 0x14
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004dc15
push 4
push eax
call edi
test eax, eax
jne 0x1004dc15
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
call dword [0x1009f610]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004dc50
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004dc46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebc5
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov cl, 0xe
mov dword [ebp - 0xf8], 0x6f6b5d0e
mov dword [ebp - 0xf4], 0x2e666d7c
xor eax, eax
mov dword [ebp - 0xf0], 0x636b7a47
mov byte [ebp - 0xec], 0
nop dword [eax]
xor byte [ebp + eax - 0xf7], cl
inc eax
cmp eax, 0xb
jae 0x1004dc95
mov cl, byte [ebp - 0xf8]
jmp 0x1004dc80
xorps xmm0, xmm0
mov byte [ebp - 0xec], 0
lea ecx, [ebp - 0xf7]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004dcc0
sub ecx, edx
lea eax, [ebp - 0xf7]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100048a0
mov dword [ebp - 4], 0x15
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004dd00
push 4
push eax
call edi
test eax, eax
jne 0x1004dd00
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
call dword [0x1009f654]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004dd3b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004dd31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebca
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004dd57
push 4
push eax
call edi
test eax, eax
jne 0x1004dd57
mov ecx, dword [ebp - 0x14]
call dword [0x1009f618]
mov eax, dword [esi + 0x34]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004dda0
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004dda0
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004dda0
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004dda0
push 4
push eax
call edi
test eax, eax
jne 0x1004dda0
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x1009f5f4]
mov eax, dword [esi + 0xfc]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ddef
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004ddef
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004ddef
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ddef
push 4
push eax
call edi
test eax, eax
jne 0x1004ddef
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x1009f5f4]
push 1
mov ecx, esi
mov dword [esi + 0x188], 1
call fcn.10055790
mov esi, dword [esi + 0x1c8]
jmp 0x1004df99
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1004de29
cmp ecx, eax
jne 0x1004de29
mov ecx, esi
call fcn.100548e0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x104]
test eax, eax
je 0x1004de45
cmp ecx, eax
jne 0x1004de45
mov ecx, esi
call fcn.10054cb0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x108]
test eax, eax
je 0x1004de7e
cmp ecx, eax
jne 0x1004de7e
mov esi, dword [esi + 0xfc]
test esi, esi
je 0x1004d7bc
push 4
push esi
call edi
test eax, eax
jne 0x1004d7bc
push eax
mov ecx, esi
call dword [0x1009f5f4]
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1004de9a
cmp ecx, eax
jne 0x1004de9a
mov ecx, esi
call fcn.10054680
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x1004dfbf
cmp ecx, eax
jne 0x1004dfbf
mov eax, dword [esi + 0x1c8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ded0
push 4
push eax
call edi
test eax, eax
jne 0x1004ded0
mov ecx, dword [ebp - 0x14]
push eax
call dword [0x1009f5f4]
mov eax, dword [esi + 0x1a8]
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004df0c
mov eax, dword [ebp - 0x14]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
jne 0x1004df0c
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
je 0x1004df0c
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.100159c0
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004df2f
push 4
push eax
call edi
test eax, eax
jne 0x1004df2f
mov ecx, dword [ebp - 0x14]
mov dl, 3
add ecx, 0xb8
call fcn.10015c30
sub esp, 0x18
mov dword [esi + 0x1c], 0
mov edx, esp
mov dword [esi + 0x14], 1
lea ecx, [ebp - 0xcb]
mov word [ebp - 0xcc], 0x6f
xorps xmm0, xmm0
mov byte [ebp - 0xcb], 0
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004df72
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
push 0
push 1
mov ecx, esi
call fcn.100518c0
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x1004d7bc
push 4
push esi
call edi
test eax, eax
jne 0x1004d7bc
push 1
mov ecx, esi
call dword [0x1009f5f4]
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x1004e33b
cmp ecx, eax
jne 0x1004e33b
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000f550
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov ecx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], edx
cmp edx, 0x989680
ja 0x1004e0ba
mov edx, dword [ebp - 0x24]
inc edx
cmp dword [ebp - 0xd4], edx
jae 0x1004e0a4
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004e07d
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000f7d0
jmp 0x1004e0a1
sub edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
push edx
push 0
push eax
lea esi, [eax + edx]
call fcn.1006a010
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xd0], eax
sub eax, ecx
mov dword [ebp - 4], 0x18
mov dword [ebp - 0xd4], eax
cmp eax, 0x989680
ja 0x1004e120
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004e116
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004e0ed
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1000f7d0
jmp 0x1004e113
sub edx, dword [ebp - 0xd4]
push edx
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0x14], edx
call fcn.1006a010
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa4
inc dword [ebp - 0x24]
push 0xb
lea ecx, [ebp - 0x30]
call fcn.1000f480
push 4
mov ecx, eax
call fcn.1000f480
mov edx, eax
mov eax, dword [esi + 0x190]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x194]
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + 0x14]
lea ecx, [edx + 0x10]
mov dword [ebp - 0xdc], eax
sub eax, dword [ecx]
mov dword [ebp - 0xd4], edx
add edx, 0xc
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd0], edx
cmp eax, 0x989680
ja 0x1004e20d
mov eax, dword [edx]
add eax, 8
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xe8], eax
jae 0x1004e1e1
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov edx, dword [ebp - 0xcc]
cmp edx, eax
jbe 0x1004e1a9
push ecx
push edx
call fcn.1000f7d0
jmp 0x1004e1db
sub edx, dword [ebp - 0xe8]
push edx
push 0
push dword [ebp - 0xdc]
mov dword [ebp - 0xcc], edx
call fcn.1006a010
mov ecx, dword [ebp - 0xd4]
add esp, 0xc
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0xdc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [edx]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ecx + eax], esi
mov esi, dword [ebp - 0xe4]
mov dword [ecx + eax + 4], esi
add dword [edx], 8
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xd8]
jmp 0x1004e213
mov dword [ebp - 0xd0], edx
mov eax, dword [esi + 0x198]
mov dword [ebp - 0xe4], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xe8], eax
sub eax, ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], eax
cmp eax, 0x989680
ja 0x1004e2c0
mov ecx, dword [edx]
add ecx, 4
cmp eax, ecx
jae 0x1004e2a3
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x18]
sub eax, dword [ebp - 0xd8]
cmp ecx, eax
jbe 0x1004e26b
push ecx
push ecx
lea ecx, [edx + 0x10]
call fcn.1000f7d0
jmp 0x1004e29d
sub ecx, dword [ebp - 0xdc]
push ecx
push 0
push dword [ebp - 0xe8]
mov dword [ebp - 0xd8], ecx
call fcn.1006a010
mov ecx, dword [ebp - 0xd4]
add esp, 0xc
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xe8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx]
mov dword [ecx + eax], esi
add dword [edx], 4
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe4], ecx
cmp eax, 0x4000
ja 0x1004e2fa
mov ecx, dword ds:[0x10096be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0xd8]
push dword [ebp - 0xe4]
call dword [0x10096be0]
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x1a8]
test esi, esi
je 0x1004e319
push 4
push esi
call edi
test eax, eax
jne 0x1004e316
push eax
mov ecx, esi
call dword [0x1009f5f4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004d7bc
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
call fcn.1000f790
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1004e35d
cmp ecx, eax
jne 0x1004e35d
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.100159c0
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x208]
test eax, eax
je 0x1004e393
cmp ecx, eax
jne 0x1004e393
mov eax, dword [esi + 0x188]
cmp eax, dword [esi + 0x18c]
jge 0x1004d7bc
inc eax
push eax
mov ecx, esi
mov dword [esi + 0x188], eax
call fcn.10055790
mov al, 1
jmp 0x1004eb8a
mov eax, dword [esi + 0x200]
test eax, eax
je 0x1004e3b3
cmp ecx, eax
jne 0x1004e3b3
mov eax, dword [esi + 0x188]
cmp eax, 1
jle 0x1004d7bc
dec eax
jmp 0x1004e37e
xor edi, edi
lea eax, [esi + 0x68]
mov edx, 4
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x14], edx
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1004e4d5
cmp dword [ebp + 8], ecx
jne 0x1004e4d5
lea eax, [esi + 0x68]
mov dword [ebp - 0xdc], 4
mov dword [ebp - 0xd8], eax
mov esi, eax
mov edi, dword [esi]
test edi, edi
je 0x1004e418
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e418
lea ecx, [edi + 0xb8]
mov dl, 2
call fcn.10015c30
add esi, 4
sub dword [ebp - 0xdc], 1
jne 0x1004e3f8
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xe0]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x1004e45e
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call edi
test eax, eax
jne 0x1004e45e
mov ecx, dword [ebp - 0xd8]
mov dl, 3
add ecx, 0xb8
call fcn.10015c30
mov edi, dword [ebp - 0xe8]
lea ecx, [ebp - 0xcb]
sub esp, 0x18
mov dword [esi + 0x1c], edi
mov edx, esp
mov dword [esi + 0x14], 1
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0x6f
lea eax, [ecx + 1]
mov byte [ebp - 0xcb], 0
mov dword [ebp - 0xd8], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e4a6
sub ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
push edi
push 1
mov ecx, esi
call fcn.100518c0
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x14]
inc edi
add eax, 4
sub edx, 1
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x14], edx
jne 0x1004e3d0
cmp byte [ebp - 0xd4], 0
jne 0x1004d7bc
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xc4]
sub eax, ecx
sar eax, 6
mov dword [ebp - 0xd4], 0
test eax, eax
je 0x1004e8dd
xor edi, edi
mov edx, ecx
mov dword [ebp - 0xd0], edi
mov eax, dword [edi + ecx + 0x2c]
movaps xmm1, xmmword [str._yFL_]
test eax, eax
je 0x1004e64f
cmp dword [ebp + 8], eax
jne 0x1004e64f
mov eax, dword [edi + ecx]
mov dword [esi + 0x20], eax
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + edx + 4]
xor edi, edi
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0xd0]
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0xd4]
sub eax, edx
sar eax, 6
test eax, eax
je 0x1004e641
lea ecx, [edx + 0x1c]
nop
mov eax, dword [ebp - 0xd8]
cmp dword [ecx - 4], eax
jne 0x1004e592
mov eax, dword [ecx]
cmp eax, dword [esi + 0x24]
je 0x1004e5aa
mov eax, dword [esi + 0xd4]
inc edi
sub eax, edx
add ecx, 0x40
sar eax, 6
cmp edi, eax
jb 0x1004e580
jmp 0x1004e641
mov eax, dword [ebp - 0xe4]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1004e623
mov eax, edi
lea ecx, [edx + 0x30]
shl eax, 6
lea edx, [esi + 0x50]
add ecx, eax
mov dword [ebp - 0xd8], eax
cmp edx, ecx
je 0x1004e5e9
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x50]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.10013e00
mov eax, dword [ebp - 0xd8]
mov ecx, dword [esi + 0xd0]
add ecx, eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x1004e623
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e623
push dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xe4]
call dword [0x1009f658]
mov ecx, dword [esi + 0xd0]
shl edi, 6
mov eax, dword [edi + ecx + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + ecx + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [edi + ecx + 0x20]
mov dword [esi + 0x28], eax
mov ecx, esi
call fcn.10052df0
movaps xmm1, xmmword [str._yFL_]
mov edi, dword [esi + 0xc4]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + edi + 0x30]
test eax, eax
je 0x1004e8a9
cmp dword [ebp + 8], eax
jne 0x1004e8a9
mov eax, dword [esi + 0xd4]
xor edx, edx
mov ecx, dword [esi + 0xd0]
sub eax, ecx
sar eax, 6
test eax, eax
je 0x1004e8a9
add ecx, 0x1c
mov eax, dword [ebp - 0xd0]
cmp dword [edi + eax + 4], 0
jbe 0x1004e6a5
cmp dword [eax + edi + 4], 0x5f5e100
jb 0x1004e6ee
mov esi, dword [ecx - 4]
cmp esi, dword [eax + edi]
mov dword [ebp - 0xe4], esi
mov esi, dword [ebp - 0xe0]
jne 0x1004e6d1
mov esi, dword [ecx]
cmp esi, dword [eax + edi + 4]
mov dword [ebp - 0xd8], esi
mov esi, dword [ebp - 0xe0]
je 0x1004e885
mov eax, dword [esi + 0xd4]
inc edx
sub eax, dword [esi + 0xd0]
add ecx, 0x40
sar eax, 6
cmp edx, eax
jae 0x1004e8a9
jmp 0x1004e68e
movups xmmword [ebp - 0xf8], xmm1
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp - 0xf8]
xor byte [ebp + ecx - 0xf7], al
inc ecx
cmp ecx, 0xe
jb 0x1004e700
xorps xmm0, xmm0
mov byte [ebp - 0xe9], 0
lea ecx, [ebp - 0xf7]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e738
sub ecx, edx
lea eax, [ebp - 0xf7]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100048a0
mov dword [ebp - 4], 0x19
xor ecx, ecx
movaps xmm0, xmmword [0x100a1050]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0x30c56
movaps xmm0, xmmword [0x100a11f0]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x22
jb 0x1004e777
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x37]
mov dword [ebp - 0x108], 0
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x104], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e7b0
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.100048a0
push 0
push ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x50]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x118]
push eax
push eax
call dword [0x1009f680]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x1004e82d
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004e823
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
cmp ecx, 0xf
jbe 0x1004e8a9
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004e879
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
jmp 0x1004e8a9
mov eax, dword [esi + 0xd0]
mov ecx, esi
shl edx, 6
push dword [edx + eax + 0x28]
push dword [edx + eax + 0x24]
push dword [ebp - 0xd8]
push dword [ebp - 0xe4]
call fcn.10053f70
mov ecx, dword [esi + 0xc4]
mov edx, ecx
mov eax, dword [esi + 0xc8]
mov edi, dword [ebp - 0xd0]
sub eax, ecx
inc dword [ebp - 0xd4]
add edi, 0x40
sar eax, 6
mov dword [ebp - 0xd0], edi
cmp dword [ebp - 0xd4], eax
jb 0x1004e52b
mov edi, dword [esi + 0x20c]
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov eax, 0x66666667
mov ecx, dword [esi + 0x210]
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004d7bc
xor ecx, ecx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], ecx
nop dword [eax + eax]
mov eax, dword [ecx + edi + 0x10]
test eax, eax
je 0x1004eb3d
cmp dword [ebp + 8], eax
jne 0x1004eb3d
mov eax, dword [ecx + edi + 0x1c]
xor edx, edx
mov dword [esi + 0x198], eax
mov eax, dword [esi + 0x21c]
mov edi, dword [esi + 0x218]
sub eax, edi
sar eax, 5
test eax, eax
je 0x1004eb30
xor ecx, ecx
nop dword [eax]
mov eax, dword [edi + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + ecx + 0x1c]
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov esi, dword [eax + edi + 0x20]
cmp dword [ebp - 0x14], esi
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xdc]
mov edi, dword [esi + 0x218]
jne 0x1004e9c1
mov edi, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd4]
cmp eax, dword [esi + edi + 0x24]
mov esi, dword [ebp - 0xe0]
mov edi, dword [esi + 0x218]
jne 0x1004e9c1
mov eax, dword [edi + ecx]
cmp eax, dword [esi + 0x198]
je 0x1004e9d9
mov eax, dword [esi + 0x21c]
inc edx
sub eax, edi
add ecx, 0x20
sar eax, 5
cmp edx, eax
jb 0x1004e960
jmp 0x1004eb30
mov eax, dword [ebp - 0x14]
mov ecx, edi
shl edx, 5
mov dword [esi + 0x190], eax
mov eax, dword [ebp - 0xdc]
mov dword [esi + 0x194], eax
mov eax, dword [edx + ecx + 8]
mov dword [esi + 0x1a0], eax
mov eax, dword [edx + ecx + 0xc]
mov dword [esi + 0x1a4], eax
mov eax, dword [edx + ecx + 4]
mov dword [esi + 0x19c], eax
mov edx, dword [edx + ecx + 0x10]
lea ecx, [ebp - 0x98]
call fcn.100101f0
mov edx, eax
mov dword [ebp - 4], 0x1b
cmp dword [edx + 0x14], 0xf
jbe 0x1004ea31
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ea50
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100048a0
mov byte [ebp - 4], 0x1c
mov edi, dword [esi + 0x1b0]
test edi, edi
je 0x1004ea8a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ea8a
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call dword [0x1009f658]
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004eac2
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004eab8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x1004eb15
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004eb0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ebac
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov ecx, esi
call fcn.10056350
mov ecx, dword [ebp - 0xd0]
mov edi, dword [esi + 0x20c]
add ecx, 0x28
inc dword [ebp - 0xcc]
mov eax, 0x66666667
mov dword [ebp - 0xd0], ecx
mov ecx, dword [esi + 0x210]
sub ecx, edi
mov dword [ebp - 0xd4], edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xcc], eax
jae 0x1004d7bc
mov ecx, dword [ebp - 0xd0]
jmp 0x1004e920
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067e95
mov esp, ebp
pop ebp
ret 8
call fcn.10004740
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
int3