Function at 0x10048680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093d68
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x100bb084]
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 - 0xe0], edi
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x100c3da0], eax
test esi, esi
je 0x1004997c
cmp dword [ebp + 0xc], 1
jne 0x1004997c
mov ecx, 0x10b8218
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], 0
call fcn.10012080
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xcc], ecx
test ecx, ecx
je 0x1004872d
push 4
push ecx
call eax
test eax, eax
jne 0x10048728
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0xc8], ecx
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [edi + 0xdc]
push 4
push ecx
mov dword [ebp - 0xcc], ecx
call eax
test eax, eax
jne 0x100487ba
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 0x100487ba
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x100487ba
mov eax, dword [edi + 0xdc]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100487ba
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100487ba
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x100ada70]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [edi + 0x34]
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10048845
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 0x10048845
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x10048845
mov eax, dword [edi + 0x34]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10048845
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10048845
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x100ada70]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd8], cl
mov eax, dword [edi + 0xfc]
push 4
push eax
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100488d6
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 0x100488d6
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x100488d6
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100488d6
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100488d6
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x100ada70]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd8], cl
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 0x10048967
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 0x10048967
mov eax, dword [ebp - 0xcc]
mov al, byte [eax]
test al, al
je 0x10048967
mov eax, dword [edi + 0x1a8]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10048967
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10048967
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call dword [0x100ada70]
mov ecx, dword [ebp - 0xd8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xd8], cl
mov eax, dword [edi + 4]
test eax, eax
je 0x10048980
cmp esi, eax
jne 0x10048980
mov ecx, edi
call fcn.1004ac20
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x1004899d
cmp esi, eax
jne 0x1004899d
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x18]
jge 0x10049978
inc eax
jmp 0x100489b8
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x100489f0
cmp esi, eax
jne 0x100489f0
mov eax, dword [edi + 0x14]
cmp eax, 1
jle 0x10049978
dec eax
sub esp, 0x18
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xc7]
mov word [ebp - 0xc8], 4
mov ecx, esp
mov byte [ebp - 0xc7], 0
push eax
call fcn.10004e00
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.1004bd70
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10048a09
cmp esi, eax
jne 0x10048a09
mov ecx, edi
call fcn.1004b7c0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10048e7a
cmp esi, eax
jne 0x10048e7a
mov ecx, dword [edi + 0xe0]
call fcn.10011ab0
push eax
lea ecx, [ebp - 0x94]
call fcn.10004550
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x84]
mov byte [ebp - 0xc5], 0
test eax, eax
je 0x10048a95
xor ecx, ecx
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
movsx eax, byte [eax + ecx]
push eax
call fcn.10079a7b
add esp, 4
test eax, eax
je 0x10048a8f
mov al, byte [ebp - 0xc5]
inc al
movzx ecx, al
mov byte [ebp - 0xc5], al
mov eax, dword [ebp - 0x84]
cmp ecx, eax
jb 0x10048a50
jmp 0x10048a95
mov eax, dword [ebp - 0x84]
cmp eax, 4
jne 0x10048c25
mov ecx, dword [edi + 0xe4]
call fcn.10011ab0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call fcn.10004890
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xe8]
call fcn.10011ab0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
call fcn.10004890
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xec]
call fcn.10011ab0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
call fcn.10004890
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0xf0]
call fcn.10011ab0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
call fcn.10004890
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x148]
call fcn.1000a9d0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.10050210
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x160]
call fcn.10050210
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.10050210
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.10004790
lea ecx, [ebp - 0x178]
call fcn.10004790
lea ecx, [ebp - 0x148]
call fcn.10004790
cmp dword [ebp - 0x3c], 0x14
je 0x10048d49
lea ecx, [ebp - 0x4c]
call fcn.10004790
lea ecx, [ebp - 0xc4]
call fcn.10004790
lea ecx, [ebp - 0xac]
call fcn.10004790
lea ecx, [ebp - 0x7c]
call fcn.10004790
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10004790
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10090570
cvtsd2ss xmm0, xmm0
xor ecx, ecx
addss xmm0, dword [0x100aee1c]
movss dword [edi + 0x10], xmm0
movaps xmm0, xmmword [0x100af070]
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x10048c50
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10004e00
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x100af630]
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0xf0], 0x2b303733
movaps xmm0, xmmword [0x100afc20]
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0xec], 0x702d3b2a
movaps xmm0, xmmword [0x100af570]
movups xmmword [ebp - 0x110], xmm0
mov word [ebp - 0xe8], 0x7f
movaps xmm0, xmmword [0x100afdc0]
movups xmmword [ebp - 0x100], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x130]
xor byte [ebp + ecx - 0x12f], al
inc ecx
cmp ecx, 0x48
jb 0x10048cd0
lea eax, [ebp - 0x12f]
mov byte [ebp - 0xe7], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10004e00
push 0
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x7c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x64]
push eax
push eax
call dword [0x100adb0c]
lea ecx, [ebp - 0x64]
call fcn.10004790
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.10004790
mov ecx, edi
call fcn.1004b920
lea ecx, [ebp - 0x94]
call fcn.10004790
mov al, 1
jmp 0x1004997e
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.10009d60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10048de1
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10048dd5
push esi
lea ecx, [ebp - 0x1c]
call fcn.10009f00
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
push 3
push 1
push 0xa4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.10009bf0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.10012190
mov ecx, edi
call fcn.1004b920
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10009e90
lea ecx, [ebp - 0x4c]
call fcn.10004790
lea ecx, [ebp - 0xc4]
call fcn.10004790
lea ecx, [ebp - 0xac]
call fcn.10004790
lea ecx, [ebp - 0x7c]
call fcn.10004790
lea ecx, [ebp - 0x64]
call fcn.10004790
lea ecx, [ebp - 0x94]
call fcn.10004790
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10048e96
cmp esi, eax
jne 0x10048e96
mov ecx, edi
call fcn.1004b920
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x60]
test eax, eax
je 0x10048ec8
cmp esi, eax
jne 0x10048ec8
mov ecx, dword [edi + 0x64]
call fcn.10011ab0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10004550
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.1004bd70
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x48]
test eax, eax
je 0x10048fd6
cmp esi, eax
jne 0x10048fd6
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x11
call fcn.10009d60
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10048f79
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10048f6d
push esi
lea ecx, [ebp - 0x1c]
call fcn.10009f00
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
push dword [edi + 0x20]
push 2
push 0xb
push 0xa4
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.100175e0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.10012190
mov ecx, dword [edi + 0x34]
xor dl, dl
call fcn.100119c0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10009e90
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x10048ff2
cmp esi, eax
jne 0x10048ff2
mov ecx, dword [edi + 0x34]
xor dl, dl
call fcn.100119c0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x10049121
cmp esi, eax
jne 0x10049121
mov ecx, dword [edi + 0x5c]
xor dl, dl
call fcn.100119c0
mov ecx, dword [edi + 0x64]
call fcn.10011c00
test al, al
je 0x100490c8
lea eax, [ebp - 0xc7]
mov word [ebp - 0xc8], 0x26
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 0xc7], 0
call fcn.10004e00
mov dword [ebp - 4], 0x14
lea edx, [ebp - 0x64]
mov ecx, dword [edi + 0x64]
call fcn.10011b60
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.10004790
mov cl, 0x74
mov dword [ebp - 0x44], 0x15112774
mov dword [ebp - 0x40], 0x541c1706
xor eax, eax
mov dword [ebp - 0x3c], 0x1911003d
mov byte [ebp - 0x38], 0
nop dword [eax]
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xb
jae 0x1004908f
mov cl, byte [ebp - 0x44]
jmp 0x10049080
lea eax, [ebp - 0x43]
mov byte [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10004e00
mov dword [ebp - 4], 0x15
lea edx, [ebp - 0x64]
mov ecx, dword [edi + 0x64]
call fcn.10011ea0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.10004790
mov ecx, dword [edi + 0x64]
call fcn.10011be0
mov ecx, dword [edi + 0x34]
call fcn.10011a80
test al, al
je 0x100490de
mov ecx, dword [edi + 0x34]
xor dl, dl
call fcn.100119c0
mov ecx, dword [edi + 0xfc]
call fcn.10011a80
test al, al
je 0x100490fa
mov ecx, dword [edi + 0xfc]
xor dl, dl
call fcn.100119c0
push 1
mov ecx, edi
mov dword [edi + 0x188], 1
call fcn.1004ea50
mov ecx, dword [edi + 0x1c8]
mov dl, 1
call fcn.100119c0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x1004913d
cmp esi, eax
jne 0x1004913d
mov ecx, edi
call fcn.1004dbf0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x104]
test eax, eax
je 0x10049159
cmp esi, eax
jne 0x10049159
mov ecx, edi
call fcn.1004df60
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x108]
test eax, eax
je 0x1004917b
cmp esi, eax
jne 0x1004917b
mov ecx, dword [edi + 0xfc]
xor dl, dl
call fcn.100119c0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x10049197
cmp esi, eax
jne 0x10049197
mov ecx, edi
call fcn.1004da20
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x1cc]
test eax, eax
je 0x10049227
cmp esi, eax
jne 0x10049227
mov ecx, dword [edi + 0x1c8]
xor dl, dl
call fcn.100119c0
mov ecx, dword [edi + 0x1a8]
call fcn.10011a80
test al, al
je 0x100491d2
mov ecx, dword [edi + 0x1a8]
xor dl, dl
call fcn.100119c0
mov ecx, dword [edi + 0x68]
mov dl, 3
call fcn.10011a20
sub esp, 0x18
mov word [ebp - 0xc8], 4
lea eax, [ebp - 0xc7]
mov dword [edi + 0x1c], 0
mov ecx, esp
mov dword [edi + 0x14], 1
mov byte [ebp - 0xc7], 0
push eax
call fcn.10004e00
push 0
push 1
mov ecx, edi
call fcn.1004bd70
mov ecx, dword [edi + 0x5c]
mov dl, 1
call fcn.100119c0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x10049351
cmp esi, eax
jne 0x10049351
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x16
call fcn.10009d60
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x100492db
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x100492cf
push esi
lea ecx, [ebp - 0x1c]
call fcn.10009f00
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x2c]
push dword [edi + 0x198]
push dword [edi + 0x194]
push dword [edi + 0x190]
push 4
push 0xb
push 0xa4
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10009cc0
mov ecx, eax
call fcn.10051a60
mov ecx, eax
call fcn.100175e0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.10012190
mov ecx, dword [edi + 0x1a8]
xor dl, dl
call fcn.100119c0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10009e90
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x10049373
cmp esi, eax
jne 0x10049373
mov ecx, dword [edi + 0x1a8]
xor dl, dl
call fcn.100119c0
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x208]
test eax, eax
je 0x100493a9
cmp esi, eax
jne 0x100493a9
mov eax, dword [edi + 0x188]
cmp eax, dword [edi + 0x18c]
jge 0x10049978
inc eax
mov ecx, edi
push eax
mov dword [edi + 0x188], eax
call fcn.1004ea50
mov al, 1
jmp 0x1004997e
mov eax, dword [edi + 0x200]
test eax, eax
je 0x100493dc
cmp esi, eax
jne 0x100493dc
mov eax, dword [edi + 0x188]
cmp eax, 1
jle 0x10049978
dec eax
mov ecx, edi
push eax
mov dword [edi + 0x188], eax
call fcn.1004ea50
mov al, 1
jmp 0x1004997e
lea eax, [edi + 0x68]
mov dword [ebp - 0xcc], 4
xor edx, edx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], eax
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x10049493
cmp esi, ecx
jne 0x10049493
mov esi, dword [ebp - 0xdc]
mov edi, 4
nop dword [eax]
mov ecx, dword [esi]
mov dl, 2
call fcn.10011a20
lea esi, [esi + 4]
sub edi, 1
jne 0x10049420
mov ecx, dword [ebp - 0xd0]
mov dl, 3
mov ecx, dword [ecx]
call fcn.10011a20
mov edi, dword [ebp - 0xe0]
sub esp, 0x18
mov eax, dword [ebp - 0xd4]
mov ecx, esp
mov word [ebp - 0xc8], 4
mov byte [ebp - 0xc7], 0
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0xc7]
push eax
mov dword [edi + 0x14], 1
call fcn.10004e00
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.1004bd70
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0xd4]
inc edx
add eax, 4
sub dword [ebp - 0xcc], 1
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], eax
jne 0x10049400
mov ecx, dword [ebp - 0xd8]
test cl, cl
jne 0x10049978
mov eax, dword [edi + 0xc8]
sub eax, dword [edi + 0xc4]
sar eax, 6
mov dword [ebp - 0xd4], 0
test eax, eax
je 0x100497a0
xor esi, esi
mov dword [ebp - 0xd0], esi
nop word [eax + eax]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp + 8]
cmp dword [eax + esi + 0x2c], 0
je 0x10049604
cmp ecx, dword [eax + esi + 0x2c]
jne 0x10049604
mov eax, dword [esi + eax]
xor edx, edx
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0xc4]
mov dword [ebp - 0xcc], edx
mov eax, dword [esi + eax + 4]
mov dword [ebp - 0xdc], eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xd4]
sub eax, dword [edi + 0xd0]
sar eax, 6
test eax, eax
je 0x100495fa
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [edi + 0xd0]
mov esi, dword [edi + 0x20]
cmp dword [eax + ecx + 0x18], esi
mov esi, dword [ebp - 0xd0]
jne 0x1004956e
mov eax, dword [eax + ecx + 0x1c]
cmp eax, dword [edi + 0x24]
je 0x1004958d
mov eax, dword [edi + 0xd4]
inc edx
sub eax, dword [edi + 0xd0]
add ecx, 0x40
sar eax, 6
mov dword [ebp - 0xcc], edx
cmp edx, eax
jb 0x10049550
jmp 0x100495fa
mov eax, dword [ebp - 0xdc]
dec eax
cmp eax, 0x5f5e0fe
ja 0x100495d0
mov eax, dword [edi + 0xd0]
lea ecx, [edi + 0x50]
mov esi, edx
add eax, 0x30
shl esi, 6
add eax, esi
push eax
call fcn.10051960
mov edx, dword [edi + 0xd0]
mov ecx, dword [edi + 0x38]
add edx, esi
call fcn.10011f20
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [edi + 0xd0]
shl edx, 6
mov eax, dword [eax + edx + 0x24]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0xd0]
mov eax, dword [edx + eax + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0xd0]
mov eax, dword [eax + edx + 0x20]
mov dword [edi + 0x28], eax
mov ecx, edi
call fcn.1004cca0
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0xc4]
cmp dword [esi + eax + 0x30], 0
je 0x10049773
cmp ecx, dword [eax + esi + 0x30]
jne 0x10049773
mov eax, dword [edi + 0xd4]
xor ecx, ecx
sub eax, dword [edi + 0xd0]
sar eax, 6
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x10049773
xor edx, edx
mov eax, dword [edi + 0xc4]
cmp dword [eax + esi + 4], 0
jbe 0x10049657
cmp dword [esi + eax + 4], 0x5f5e100
jb 0x100496a4
mov ecx, eax
mov eax, dword [edi + 0xd0]
mov eax, dword [edx + eax + 0x18]
cmp eax, dword [esi + ecx]
jne 0x1004967c
mov eax, dword [edi + 0xd0]
mov eax, dword [eax + edx + 0x1c]
cmp eax, dword [esi + ecx + 4]
je 0x1004974d
mov eax, dword [edi + 0xd4]
add edx, 0x40
mov ecx, dword [ebp - 0xd0]
sub eax, dword [edi + 0xd0]
inc ecx
sar eax, 6
mov dword [ebp - 0xd0], ecx
cmp ecx, eax
jb 0x10049640
jmp 0x10049773
movaps xmm0, xmmword [str.sLTFQ]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x100496b1
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10004e00
mov dword [ebp - 4], 0x19
xor ecx, ecx
movaps xmm0, xmmword [0x100af830]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0xc0359
movaps xmm0, xmmword [0x100afa00]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x22
jb 0x100496f4
lea eax, [ebp - 0x33]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10004e00
push 0
push ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x7c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x64]
push eax
push eax
call dword [0x100adb0c]
lea ecx, [ebp - 0x64]
call fcn.10004790
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004790
jmp 0x10049773
mov eax, dword [edi + 0xd0]
mov ecx, dword [ebp - 0xd0]
shl ecx, 6
push dword [ecx + eax + 0x28]
push dword [eax + ecx + 0x24]
push dword [ecx + eax + 0x1c]
push dword [ecx + eax + 0x18]
mov ecx, edi
call fcn.1004d580
mov eax, dword [edi + 0xc8]
add esi, 0x40
mov ecx, dword [ebp - 0xd4]
sub eax, dword [edi + 0xc4]
inc ecx
sar eax, 6
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], esi
cmp ecx, eax
jb 0x100494f0
mov ecx, dword [edi + 0x210]
mov eax, 0x66666667
sub ecx, dword [edi + 0x20c]
xor esi, esi
imul ecx
mov dword [ebp - 0xcc], esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10049978
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
mov eax, dword [edi + 0x20c]
cmp dword [ecx + eax + 0x10], 0
je 0x1004993d
mov edx, dword [ebp + 8]
cmp edx, dword [eax + ecx + 0x10]
jne 0x1004993d
mov eax, dword [eax + ecx + 0x1c]
xor esi, esi
mov dword [edi + 0x198], eax
mov eax, dword [edi + 0x21c]
sub eax, dword [edi + 0x218]
sar eax, 5
test eax, eax
je 0x1004992a
mov eax, dword [edi + 0x20c]
mov edx, dword [eax + ecx + 0x20]
mov dword [ebp - 0xdc], edx
mov edx, dword [eax + ecx + 0x24]
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [edi + 0x218]
mov edi, dword [ebp - 0xdc]
cmp dword [ecx + eax + 0x18], edi
mov edi, dword [ebp - 0xe0]
jne 0x1004985f
cmp dword [ecx + eax + 0x1c], edx
jne 0x1004985f
mov eax, dword [edi + 0x218]
mov eax, dword [ecx + eax]
cmp eax, dword [edi + 0x198]
je 0x1004987b
mov eax, dword [edi + 0x21c]
inc esi
sub eax, dword [edi + 0x218]
add ecx, 0x20
sar eax, 5
cmp esi, eax
jb 0x10049830
jmp 0x1004992a
mov ecx, dword [edi + 0x218]
shl esi, 5
mov eax, dword [esi + ecx + 0x18]
mov dword [edi + 0x190], eax
mov eax, dword [esi + ecx + 0x1c]
lea ecx, [ebp - 0x148]
mov dword [edi + 0x194], eax
mov eax, dword [edi + 0x218]
mov eax, dword [esi + eax + 8]
mov dword [edi + 0x1a0], eax
mov eax, dword [edi + 0x218]
mov eax, dword [esi + eax + 0xc]
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x218]
mov eax, dword [esi + eax + 4]
mov dword [edi + 0x19c], eax
mov edx, dword [edi + 0x218]
mov edx, dword [edx + esi + 0x10]
call fcn.1000a750
mov dword [ebp - 4], 0x1b
cmp dword [eax + 0x14], 0x10
jb 0x100498ec
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xac]
call fcn.10004e00
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0xac]
mov ecx, dword [edi + 0x1b0]
call fcn.10011f20
lea ecx, [ebp - 0xac]
call fcn.10004790
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
call fcn.10004790
mov ecx, edi
call fcn.1004f390
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
add ecx, 0x28
mov eax, 0x66666667
mov dword [ebp - 0xd0], ecx
inc esi
mov ecx, dword [edi + 0x210]
sub ecx, dword [edi + 0x20c]
imul ecx
mov ecx, dword [ebp - 0xd0]
sar edx, 4
mov eax, edx
mov dword [ebp - 0xcc], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x100497d3
mov al, 1
jmp 0x1004997e
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.10059ed0
mov esp, ebp
pop ebp
ret 8