Function at 0x1004e890
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009043a
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe4], edi
cmp dword [ebp + 8], 0
mov eax, dword [edi]
mov dword [0x100b2304], eax
je 0x10050802
cmp dword [ebp + 0xc], 1
jne 0x10050802
mov ecx, 0x10b8218
mov byte [ebp - 0xdc], 0
call fcn.10016570
mov esi, eax
test esi, esi
je 0x1004e918
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e918
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x20]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe0], esi
jmp 0x1004e92c
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xe0], 0
mov esi, dword [edi + 0xdc]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e99a
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e99a
cmp byte [esi], al
je 0x1004e99a
mov esi, dword [edi + 0xdc]
test esi, esi
je 0x1004e99a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e99a
push dword [ebp - 0xe0]
mov ecx, esi
push dword [ebp - 0xd4]
call dword [0x100a312c]
mov ecx, dword [ebp - 0xdc]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xdc], ecx
mov esi, dword [edi + 0x34]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ea02
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ea02
cmp byte [esi], al
je 0x1004ea02
mov esi, dword [edi + 0x34]
test esi, esi
je 0x1004ea02
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ea02
push dword [ebp - 0xe0]
mov ecx, esi
push dword [ebp - 0xd4]
call dword [0x100a312c]
mov ecx, dword [ebp - 0xdc]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xdc], cl
mov esi, dword [edi + 0xfc]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ea7d
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ea7d
cmp byte [esi], al
je 0x1004ea7d
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1004ea7d
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0xd4]
test eax, eax
jne 0x1004ea83
push dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xcc]
push esi
call dword [0x100a312c]
mov ecx, dword [ebp - 0xdc]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xdc], cl
jmp 0x1004ea83
mov esi, dword [ebp - 0xd4]
mov eax, dword [edi + 0x1a8]
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004eb0f
mov eax, dword [ebp - 0xcc]
add eax, 0xe5
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004eb0f
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x1004eb0f
mov eax, dword [edi + 0x1a8]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1004eb0f
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004eb0f
push dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xcc]
push esi
call dword [0x100a312c]
mov ecx, dword [ebp - 0xdc]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xdc], cl
mov eax, dword [edi + 4]
mov esi, dword [ebp + 8]
test eax, eax
je 0x1004eb2b
cmp esi, eax
jne 0x1004eb2b
mov ecx, edi
call fcn.100520d0
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x1004ebac
cmp esi, eax
jne 0x1004ebac
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x18]
jge 0x1004f4f5
inc eax
mov word [ebp - 0xd4], 0x42
sub esp, 0x18
mov dword [edi + 0x14], eax
mov edx, esp
mov byte [ebp - 0xd3], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xd3]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004eb80
sub ecx, esi
lea eax, [ebp - 0xd3]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.100535e0
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x1004ec2c
cmp esi, eax
jne 0x1004ec2c
mov eax, dword [edi + 0x14]
cmp eax, 1
jle 0x1004f4f5
dec eax
mov word [ebp - 0xd4], 0x42
sub esp, 0x18
mov dword [edi + 0x14], eax
mov edx, esp
mov byte [ebp - 0xd3], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xd3]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ec00
sub ecx, esi
lea eax, [ebp - 0xd3]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.100535e0
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x78]
test eax, eax
je 0x1004ec45
cmp esi, eax
jne 0x1004ec45
mov ecx, edi
call fcn.10052f00
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x1004f547
cmp esi, eax
jne 0x1004f547
mov ecx, dword [edi + 0xe0]
call fcn.10016260
push eax
lea ecx, [ebp - 0x80]
call fcn.10004c90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x80]
mov byte [ebp - 0xd1], 0
test eax, eax
je 0x1004eccd
mov edi, dword [ebp - 0x6c]
xor ecx, ecx
nop dword [eax]
cmp edi, 0xf
lea eax, [ebp - 0x80]
cmova eax, esi
movsx eax, byte [eax + ecx]
push eax
call fcn.100757b0
add esp, 4
test eax, eax
je 0x1004ecc4
mov al, byte [ebp - 0xd1]
inc al
movzx ecx, al
mov byte [ebp - 0xd1], al
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x1004ec90
jmp 0x1004ecc7
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0xe4]
cmp eax, 4
jne 0x1004efea
mov ecx, dword [edi + 0xe4]
call fcn.10016260
push eax
lea ecx, [ebp - 0x50]
call fcn.10004c90
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xe8]
call fcn.10016260
push eax
lea ecx, [ebp - 0x98]
call fcn.10004c90
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xec]
call fcn.10016260
push eax
lea ecx, [ebp - 0xc8]
call fcn.10004c90
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0xf0]
call fcn.10016260
push eax
lea ecx, [ebp - 0xb0]
call fcn.10004c90
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
cmp edx, 0x7ffffffb
ja 0x10050821
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x80]
push edx
cmova ecx, esi
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 - 0x14]
lea ecx, [ebp - 0x178]
call fcn.10010d00
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x178]
lea ecx, [ebp - 0x160]
call fcn.10058a40
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.10058a40
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.10058a40
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xe8]
cmp ecx, 0xf
jbe 0x1004ee01
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004edf7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x1004ee5a
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ee50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x1004eeb3
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004eea9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
add esp, 8
cmp dword [ebp - 0x58], 0x14
je 0x1004f1c9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1004eef5
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004eeeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1004ef33
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ef29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1004ef71
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ef67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1004efaf
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004efa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004efe7
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004efdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov esi, dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1006ac30
addss xmm0, dword [0x100a4718]
xor ecx, ecx
movss dword [edi + 0x10], xmm0
movaps xmm0, xmmword [0x100a4960]
movups xmmword [ebp - 0xf4], xmm0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0xe
jb 0x1004f020
xorps xmm0, xmm0
mov byte [ebp - 0xe5], 0
lea ecx, [ebp - 0xf3]
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f058
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.100051e0
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x100a4e90]
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x108], 0x253e393d
movaps xmm0, xmmword [0x100a5840]
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x104], 0x7e233524
movaps xmm0, xmmword [0x100a5010]
movups xmmword [ebp - 0x128], xmm0
mov word [ebp - 0x100], 0x71
movaps xmm0, xmmword [0x100a5690]
movups xmmword [ebp - 0x118], xmm0
nop dword [eax]
mov al, byte [ebp - 0x148]
xor byte [ebp + ecx - 0x147], al
inc ecx
cmp ecx, 0x48
jb 0x1004f0d0
xorps xmm0, xmm0
mov byte [ebp - 0xff], 0
lea ecx, [ebp - 0x147]
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 0x1004f108
sub ecx, edx
lea eax, [ebp - 0x147]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051e0
push 0
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x68]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x50]
push eax
push eax
call dword [0x100a31c8]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004f17c
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f172
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005082b
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x1004f506
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f4fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005082b
jmp 0x1004f4fc
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 - 0xcc]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xcc], 0x1000
call fcn.1000fe70
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x1c]
mov esi, edx
mov ecx, dword [ebp - 0x20]
sub esi, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xe4], edx
cmp esi, 0x989680
ja 0x1004f29a
mov edx, dword [ebp - 0x24]
inc edx
cmp esi, edx
jae 0x1004f284
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004f267
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.100100b0
jmp 0x1004f281
mov eax, dword [ebp - 0xe4]
sub edx, esi
push edx
push 0
push eax
lea esi, [edx + eax]
call fcn.1006bd80
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov edx, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xe4], edx
mov eax, edx
mov byte [ebp - 4], 0xe
sub eax, ecx
mov dword [ebp - 0xd8], eax
cmp eax, 0x989680
ja 0x1004f2f6
mov esi, dword [ebp - 0x24]
inc esi
cmp eax, esi
jae 0x1004f2ec
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp esi, eax
jbe 0x1004f2cc
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.100100b0
jmp 0x1004f2e9
sub esi, dword [ebp - 0xd8]
push esi
push 0
push edx
call fcn.1006bd80
mov eax, dword [ebp - 0xe4]
add esp, 0xc
add eax, esi
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 3
push 1
lea ecx, [ebp - 0x30]
call fcn.1000fda0
mov ecx, eax
call fcn.1000fda0
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x68]
cmova ecx, dword [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.1000fc30
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xd0], eax
cmp ecx, 0x4000
ja 0x1004f354
mov ecx, dword ds:[0x1009a70c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
call dword [0x1009a708]
mov ecx, edi
call fcn.10053060
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004f3ab
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004f38c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push edx
push ecx
call fcn.10069bf1
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 0x1004f3df
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f3d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1004f419
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f40f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x1004f453
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f449
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1004f48d
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f483
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004f4c1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f4b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1004f4f5
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f4eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050830
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov al, 1
jmp 0x10050804
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, edi
call fcn.10053060
mov eax, dword [ebp - 0x6c]
cmp eax, 0xf
jbe 0x1004f4f5
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004f536
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050835
push ecx
push esi
call fcn.10069bf1
add esp, 8
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x1004f563
cmp esi, eax
jne 0x1004f563
mov ecx, edi
call fcn.10053060
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x60]
test eax, eax
je 0x1004f597
cmp esi, eax
jne 0x1004f597
mov ecx, dword [edi + 0x64]
sub esp, 0x18
mov esi, esp
call fcn.10016260
push eax
mov ecx, esi
call fcn.10004c90
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.100535e0
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x48]
test eax, eax
je 0x1004f81d
cmp esi, eax
jne 0x1004f81d
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 - 0xcc]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xcc], 0x1000
call fcn.1000fe70
mov dword [ebp - 4], 0x12
mov edx, dword [ebp - 0x1c]
mov esi, edx
mov ecx, dword [ebp - 0x20]
sub esi, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xe4], edx
cmp esi, 0x989680
ja 0x1004f681
mov edx, dword [ebp - 0x24]
inc edx
cmp esi, edx
jae 0x1004f66b
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004f64e
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.100100b0
jmp 0x1004f668
mov eax, dword [ebp - 0xe4]
sub edx, esi
push edx
push 0
push eax
lea esi, [edx + eax]
call fcn.1006bd80
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
mov edx, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 4], 0x13
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, edx
sub eax, ecx
mov dword [ebp - 0xd8], eax
cmp eax, 0x989680
ja 0x1004f6e9
mov esi, dword [ebp - 0x24]
inc esi
cmp eax, esi
jae 0x1004f6df
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp esi, eax
jbe 0x1004f6bf
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.100100b0
jmp 0x1004f6dc
sub esi, dword [ebp - 0xd8]
push esi
push 0
push edx
call fcn.1006bd80
mov eax, dword [ebp - 0xe4]
add esp, 0xc
add eax, esi
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 2
push 0xb
lea ecx, [ebp - 0x30]
call fcn.1000fda0
mov ecx, eax
call fcn.1000fda0
mov edx, eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xe4], eax
sub eax, dword [edx + 0x10]
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], eax
lea ecx, [edx + 0x10]
mov dword [ebp - 0xe0], ecx
cmp eax, 0x989680
ja 0x1004f788
mov esi, dword [edx + 0xc]
add esi, 4
cmp eax, esi
jae 0x1004f776
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x1004f748
push ecx
push esi
call fcn.100100b0
mov ecx, dword [ebp - 0xe0]
jmp 0x1004f770
sub esi, dword [ebp - 0xd8]
push esi
push 0
push dword [ebp - 0xe4]
call fcn.1006bd80
mov ecx, dword [ebp - 0xe0]
add esp, 0xc
mov eax, dword [ebp - 0xe4]
add eax, esi
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [ebp - 0xcc]
mov dword [ecx + eax], esi
add dword [edx + 0xc], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd0], ecx
cmp eax, 0x4000
ja 0x1004f7c2
mov ecx, dword ds:[0x1009a70c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
call dword [0x1009a708]
mov ecx, dword [ebp - 0x20]
mov esi, dword [edi + 0x34]
test esi, esi
je 0x1004f7e2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f7df
push eax
mov ecx, esi
call dword [0x100a313c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004f4f5
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004fff3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005083a
jmp 0x1004fff3
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1004f830
cmp esi, eax
jne 0x1004f830
mov esi, dword [edi + 0x34]
jmp 0x10050018
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x1004fb08
cmp esi, eax
jne 0x1004fb08
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x1004f860
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f860
push eax
mov ecx, esi
call dword [0x100a313c]
mov esi, dword [edi + 0x64]
test esi, esi
je 0x1004fa37
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fa37
mov ecx, 0x10b7b10
call fcn.10016570
cmp esi, eax
jne 0x1004fa37
xorps xmm0, xmm0
mov word [ebp - 0xd4], 0x6f
lea ecx, [ebp - 0xd3]
mov byte [ebp - 0xd3], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f8c0
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051e0
mov dword [ebp - 4], 0x14
mov esi, dword [edi + 0x64]
test esi, esi
je 0x1004f900
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f900
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x100a3158]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004f93b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f931
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005083f
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov cl, 0x58
mov dword [ebp - 0xf4], 0x393d0b58
mov dword [ebp - 0xf0], 0x78303b2a
xor eax, eax
mov dword [ebp - 0xec], 0x353d2c11
mov byte [ebp - 0xe8], 0
xor byte [ebp + eax - 0xf3], cl
inc eax
cmp eax, 0xb
jae 0x1004f979
mov cl, byte [ebp - 0xf4]
jmp 0x1004f964
xorps xmm0, xmm0
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0xf3]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f9a0
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051e0
mov dword [ebp - 4], 0x15
mov esi, dword [edi + 0x64]
test esi, esi
je 0x1004f9e0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f9e0
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x100a319c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1004fa1b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fa11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050844
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov esi, dword [edi + 0x64]
test esi, esi
je 0x1004fa37
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fa37
mov ecx, esi
call dword [0x100a3160]
mov esi, dword [edi + 0x34]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fa7b
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fa7b
cmp byte [esi], al
je 0x1004fa7b
mov esi, dword [edi + 0x34]
test esi, esi
je 0x1004fa7b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fa7b
push eax
mov ecx, esi
call dword [0x100a313c]
mov esi, dword [edi + 0xfc]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fac5
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fac5
cmp byte [esi], al
je 0x1004fac5
mov esi, dword [edi + 0xfc]
test esi, esi
je 0x1004fac5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fac5
push eax
mov ecx, esi
call dword [0x100a313c]
push 1
mov ecx, edi
mov dword [edi + 0x188], 1
call fcn.10057470
mov esi, dword [edi + 0x1c8]
test esi, esi
je 0x1004f4f5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f4f5
push 1
mov ecx, esi
call dword [0x100a313c]
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x1004fb24
cmp esi, eax
jne 0x1004fb24
mov ecx, edi
call fcn.100565a0
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x104]
test eax, eax
je 0x1004fb40
cmp esi, eax
jne 0x1004fb40
mov ecx, edi
call fcn.10056970
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x108]
test eax, eax
je 0x1004fb59
cmp esi, eax
jne 0x1004fb59
mov esi, dword [edi + 0xfc]
jmp 0x10050018
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x1004fb75
cmp esi, eax
jne 0x1004fb75
mov ecx, edi
call fcn.10056340
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x1cc]
test eax, eax
je 0x1004fca6
cmp esi, eax
jne 0x1004fca6
mov esi, dword [edi + 0x1c8]
test esi, esi
je 0x1004fbab
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fbab
push eax
mov ecx, esi
call dword [0x100a313c]
mov esi, dword [edi + 0x1a8]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fbf5
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fbf5
cmp byte [esi], al
je 0x1004fbf5
mov esi, dword [edi + 0x1a8]
test esi, esi
je 0x1004fbf5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fbf5
push eax
mov ecx, esi
call dword [0x100a313c]
mov esi, dword [edi + 0x68]
test esi, esi
je 0x1004fc16
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc16
lea ecx, [esi + 0xb8]
mov dl, 3
call fcn.100164a0
sub esp, 0x18
mov dword [edi + 0x1c], 0
mov edx, esp
mov dword [edi + 0x14], 1
xorps xmm0, xmm0
mov word [ebp - 0xd4], 0x42
lea ecx, [ebp - 0xd3]
mov byte [ebp - 0xd3], 0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fc56
sub ecx, esi
lea eax, [ebp - 0xd3]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
push 0
push 1
mov ecx, edi
call fcn.100535e0
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x1004f4f5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f4f5
push 1
mov ecx, esi
call dword [0x100a313c]
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x10050004
cmp esi, eax
jne 0x10050004
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 - 0xcc]
mov dword [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xcc], 0x1000
call fcn.1000fe70
mov dword [ebp - 4], 0x17
mov esi, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd8], eax
cmp eax, 0x989680
ja 0x1004fd94
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004fd84
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004fd65
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.100100b0
jmp 0x1004fd81
sub edx, dword [ebp - 0xd8]
push edx
push 0
push dword [ebp - 0xcc]
add esi, edx
call fcn.1006bd80
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], 0xa1
inc dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0x18
mov eax, dword [edi + 0x198]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x190]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 0x194]
mov dword [ebp - 0xe0], eax
mov eax, esi
sub eax, ecx
mov dword [ebp - 0xd8], eax
cmp eax, 0x989680
ja 0x1004fe1a
mov edx, dword [ebp - 0x24]
inc edx
cmp eax, edx
jae 0x1004fe10
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edx, eax
jbe 0x1004fdea
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.100100b0
jmp 0x1004fe0d
sub edx, dword [ebp - 0xd8]
push edx
push 0
push esi
mov dword [ebp - 0xcc], edx
call fcn.1006bd80
mov eax, dword [ebp - 0xcc]
add esp, 0xc
add eax, esi
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 4
push 0xb
lea ecx, [ebp - 0x30]
call fcn.1000fda0
mov ecx, eax
call fcn.1000fda0
mov edx, eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xe4], eax
sub eax, dword [edx + 0x10]
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], eax
lea ecx, [edx + 0x10]
mov dword [ebp - 0xd4], ecx
lea esi, [edx + 0xc]
cmp eax, 0x989680
ja 0x1004fe9e
mov edx, dword [esi]
add edx, 8
cmp eax, edx
jae 0x1004fe77
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp edx, eax
jbe 0x1004fef1
push ecx
push edx
call fcn.100100b0
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x10]
mov ecx, dword [esi]
mov edx, dword [ebp - 0xd0]
mov dword [ecx + eax], edx
mov edx, dword [ebp - 0xe0]
mov dword [ecx + eax + 4], edx
add dword [esi], 8
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ecx + 4]
mov edx, eax
mov ecx, dword [ecx]
sub edx, ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xcc], ecx
cmp edx, 0x989680
ja 0x1004ff6a
mov ecx, dword [esi]
add ecx, 4
cmp edx, ecx
jae 0x1004ff56
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0xcc]
cmp ecx, eax
jbe 0x1004ff28
push ecx
push ecx
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx + 0x10]
call fcn.100100b0
jmp 0x1004ff56
sub edx, dword [ebp - 0xd8]
push edx
push 0
push dword [ebp - 0xe4]
mov dword [ebp - 0xcc], edx
call fcn.1006bd80
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0xe4]
mov dword [edx + 0x14], eax
jmp 0x1004fe7d
sub ecx, edx
push ecx
push 0
push dword [ebp - 0xd8]
mov dword [ebp - 0xcc], ecx
call fcn.1006bd80
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0xd8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xdc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [esi]
mov dword [ecx + eax], edx
add dword [esi], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xcc], ecx
cmp eax, 0x4000
ja 0x1004ff9e
mov ecx, dword ds:[0x1009a70c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0xcc]
call dword [0x1009a708]
mov ecx, dword [ebp - 0x20]
mov esi, dword [edi + 0x1a8]
test esi, esi
je 0x1004ffc1
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ffbe
push eax
mov ecx, esi
call dword [0x100a313c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
test ecx, ecx
je 0x1004f4f5
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004fff3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050849
push edx
push ecx
call fcn.10069bf1
add esp, 8
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x10050041
cmp esi, eax
jne 0x10050041
mov esi, dword [edi + 0x1a8]
test esi, esi
je 0x1004f4f5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f4f5
push eax
mov ecx, esi
call dword [0x100a313c]
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x208]
test eax, eax
je 0x10050077
cmp esi, eax
jne 0x10050077
mov eax, dword [edi + 0x188]
cmp eax, dword [edi + 0x18c]
jge 0x1004f4f5
inc eax
push eax
mov ecx, edi
mov dword [edi + 0x188], eax
call fcn.10057470
mov al, 1
jmp 0x10050804
mov eax, dword [edi + 0x200]
test eax, eax
je 0x10050097
cmp esi, eax
jne 0x10050097
mov eax, dword [edi + 0x188]
cmp eax, 1
jle 0x1004f4f5
dec eax
jmp 0x10050062
xor ecx, ecx
lea eax, [edi + 0x68]
mov edx, 4
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xcc], edx
mov eax, dword [eax]
test eax, eax
je 0x100501a2
cmp esi, eax
jne 0x100501a2
lea eax, [edi + 0x68]
mov dword [ebp - 0xd0], 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, dword [edi]
test esi, esi
je 0x100500f7
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100500f7
lea ecx, [esi + 0xb8]
mov dl, 2
call fcn.100164a0
add edi, 4
sub dword [ebp - 0xd0], 1
jne 0x100500d7
mov esi, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xe4]
mov esi, dword [esi]
test esi, esi
je 0x1005012f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005012f
lea ecx, [esi + 0xb8]
mov dl, 3
call fcn.100164a0
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xd3]
sub esp, 0x18
mov dword [edi + 0x1c], eax
mov edx, esp
mov dword [edi + 0x14], 1
xorps xmm0, xmm0
mov word [ebp - 0xd4], 0x42
mov byte [ebp - 0xd3], 0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050171
sub ecx, esi
lea eax, [ebp - 0xd3]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.100535e0
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd8]
inc ecx
mov esi, dword [ebp + 8]
add eax, 4
sub edx, 1
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xcc], edx
jne 0x100500b3
cmp byte [ebp - 0xdc], 0
jne 0x1004f4f5
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xc4]
sub eax, ecx
sar eax, 6
mov dword [ebp - 0xd8], 0
test eax, eax
je 0x10050573
xor edx, edx
mov esi, ecx
mov dword [ebp - 0xdc], edx
mov eax, dword [edx + ecx + 0x2c]
movaps xmm1, xmmword [0x100a47c0]
test eax, eax
je 0x10050314
cmp dword [ebp + 8], eax
jne 0x10050314
mov eax, dword [edx + ecx]
mov dword [edi + 0x20], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + edx + 4]
xor esi, esi
mov dword [edi + 0x24], eax
mov edx, dword [edi + 0xd0]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0xd4]
sub eax, edx
sar eax, 6
test eax, eax
je 0x10050306
lea ecx, [edx + 0x1c]
mov eax, dword [ebp - 0x14]
cmp dword [ecx - 4], eax
jne 0x10050263
mov eax, dword [ecx]
cmp eax, dword [edi + 0x24]
je 0x1005027b
mov eax, dword [edi + 0xd4]
inc esi
sub eax, edx
add ecx, 0x40
sar eax, 6
cmp esi, eax
jb 0x10050254
jmp 0x10050306
mov eax, dword [ebp - 0xcc]
dec eax
cmp eax, 0x5f5e0fe
ja 0x100502e8
mov eax, esi
lea ecx, [edx + 0x30]
shl eax, 6
lea edx, [edi + 0x50]
add ecx, eax
mov dword [ebp - 0x14], eax
cmp edx, ecx
je 0x100502b4
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
lea ecx, [edi + 0x50]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.10014680
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0xd0]
add ecx, eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100502e8
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100502e8
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0xcc]
call dword [0x100a31a0]
mov ecx, dword [edi + 0xd0]
shl esi, 6
mov eax, dword [esi + ecx + 0x24]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + ecx + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [esi + ecx + 0x20]
mov dword [edi + 0x28], eax
mov ecx, edi
call fcn.10054ab0
movaps xmm1, xmmword [0x100a47c0]
mov edx, dword [edi + 0xc4]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + edx + 0x30]
test eax, eax
je 0x1005053f
cmp dword [ebp + 8], eax
jne 0x1005053f
mov eax, dword [edi + 0xd4]
xor esi, esi
mov ecx, dword [edi + 0xd0]
sub eax, ecx
sar eax, 6
test eax, eax
je 0x1005053f
add ecx, 0x1c
mov eax, dword [ebp - 0xdc]
cmp dword [edx + eax + 4], 0
jbe 0x1005036a
cmp dword [eax + edx + 4], 0x5f5e100
jb 0x100503b6
mov edi, dword [ebp - 0xdc]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + edx]
mov edi, dword [ebp - 0xe4]
jne 0x10050399
mov edi, dword [ebp - 0xdc]
mov eax, dword [ecx]
cmp eax, dword [edi + edx + 4]
mov edi, dword [ebp - 0xe4]
je 0x10050523
mov eax, dword [edi + 0xd4]
inc esi
sub eax, dword [edi + 0xd0]
add ecx, 0x40
sar eax, 6
cmp esi, eax
jae 0x1005053f
jmp 0x10050353
movups xmmword [ebp - 0xf4], xmm1
xor ecx, ecx
nop
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0xe
jb 0x100503c0
xorps xmm0, xmm0
mov byte [ebp - 0xe5], 0
lea ecx, [ebp - 0xf3]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100503f8
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.100051e0
mov dword [ebp - 4], 0x19
xor ecx, ecx
movaps xmm0, xmmword [0x100a5040]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0x30c56
movaps xmm0, xmmword [0x100a52c0]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x22
jb 0x10050437
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x37]
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 0x10050463
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100051e0
push 0
push ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x80]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x50]
push eax
push eax
call dword [0x100a31c8]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x100504d4
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100504ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x1005053f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050517
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
add esp, 8
jmp 0x1005053f
mov ecx, dword [edi + 0xd0]
shl esi, 6
push dword [esi + ecx + 0x28]
push dword [esi + ecx + 0x24]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.10055c30
mov ecx, dword [edi + 0xc4]
mov esi, ecx
mov eax, dword [edi + 0xc8]
mov edx, dword [ebp - 0xdc]
sub eax, ecx
inc dword [ebp - 0xd8]
add edx, 0x40
sar eax, 6
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xd8], eax
jb 0x10050204
mov esi, dword [edi + 0x20c]
xor ecx, ecx
mov dword [ebp - 0xd8], ecx
mov eax, 0x66666667
mov ecx, dword [edi + 0x210]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004f4f5
xor edx, edx
mov dword [ebp - 0xe0], edx
mov eax, dword [edx + esi + 0x10]
mov ecx, esi
test eax, eax
je 0x100507bd
cmp dword [ebp + 8], eax
jne 0x100507bd
mov eax, dword [edx + esi + 0x1c]
xor edx, edx
mov dword [edi + 0x198], eax
mov eax, dword [edi + 0x21c]
mov esi, dword [edi + 0x218]
sub eax, esi
sar eax, 5
test eax, eax
je 0x100507b0
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi + ecx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + ecx + 0x24]
xor ecx, ecx
mov dword [ebp - 0xd0], eax
nop dword [eax]
mov eax, dword [esi + ecx + 0x18]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + ecx + 0x1c]
cmp dword [ebp - 0xcc], edi
mov edi, dword [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
jne 0x1005063e
cmp eax, dword [ebp - 0xd0]
jne 0x1005063e
mov eax, dword [edi + 0x218]
mov eax, dword [eax + ecx]
cmp eax, dword [edi + 0x198]
je 0x10050656
mov eax, dword [edi + 0x21c]
inc edx
sub eax, esi
add ecx, 0x20
sar eax, 5
cmp edx, eax
jb 0x10050600
jmp 0x100507b0
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x190], eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x194], eax
mov ecx, dword [edi + 0x218]
shl edx, 5
mov eax, dword [ecx + edx + 8]
mov dword [edi + 0x1a0], eax
mov eax, dword [ecx + edx + 0xc]
mov dword [edi + 0x1a4], eax
mov eax, dword [ecx + edx + 4]
mov dword [edi + 0x19c], eax
mov edx, dword [ecx + edx + 0x10]
lea ecx, [ebp - 0x98]
call fcn.10010ad0
mov edx, eax
mov dword [ebp - 4], 0x1b
cmp dword [edx + 0x14], 0xf
jbe 0x100506b5
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 esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100506d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100051e0
mov byte [ebp - 4], 0x1c
mov esi, dword [edi + 0x1b0]
test esi, esi
je 0x1005070a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005070a
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call dword [0x100a31a0]
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x10050742
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050738
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
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 0x10050795
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005078b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050826
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov ecx, edi
call fcn.100580a0
mov edx, dword [ebp - 0xe0]
mov ecx, dword [edi + 0x210]
add edx, 0x28
mov esi, dword [edi + 0x20c]
mov eax, 0x66666667
inc dword [ebp - 0xd8]
sub ecx, esi
mov dword [ebp - 0xe0], edx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd8], eax
jae 0x1004f4f5
mov edx, dword [ebp - 0xe0]
jmp 0x100505a8
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.10069b90
mov esp, ebp
pop ebp
ret 8
call fcn.10005080
call fcn.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
int3