Function at 0x100299d1
Capabilities:
Encode data using xor

Disassembly:
push 0x164
mov eax, 0x100742e2
call fcn.1003bd50
mov ebx, ecx
mov dword [ebp - 0xf0], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [0x10098e88], eax
test edi, edi
je 0x1002a98c
xor eax, eax
inc eax
cmp dword [ebp + 0xc], eax
jne 0x1002a98c
mov byte [ebp - 0xec], 0
call fcn.1000b1e4
mov ecx, dword [ebx + 0xdc]
mov esi, eax
mov dword [ebp - 0x14], edx
call fcn.1000d4a2
test al, al
je 0x10029a4e
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0xdc]
mov edx, esi
call fcn.1000d24f
pop ecx
mov ecx, dword [ebp - 0xec]
test al, al
push 1
movzx ecx, cl
pop edx
cmovne ecx, edx
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebx + 0x34]
call fcn.1000d4a2
test al, al
je 0x10029a7f
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0x34]
mov edx, esi
call fcn.1000d24f
pop ecx
mov ecx, dword [ebp - 0xec]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov byte [ebp - 0xec], cl
mov ecx, dword [ebx + 0xfc]
call fcn.1000d4a2
test al, al
je 0x10029ab6
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0xfc]
mov edx, esi
call fcn.1000d24f
pop ecx
mov ecx, dword [ebp - 0xec]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov byte [ebp - 0xec], cl
mov ecx, dword [ebx + 0x1a8]
call fcn.1000d4a2
test al, al
je 0x10029aef
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0x1a8]
mov edx, esi
call fcn.1000d24f
pop ecx
mov ecx, dword [ebp - 0xec]
test al, al
push 1
movzx ecx, cl
pop edx
cmovne ecx, edx
mov byte [ebp - 0xec], cl
jmp 0x10029af2
xor edx, edx
inc edx
cmp dword [ebx + 4], 0
je 0x10029b09
cmp edi, dword [ebx + 4]
jne 0x10029b09
mov ecx, ebx
call fcn.1002b4da
jmp 0x1002a987
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x10029b26
cmp edi, eax
jne 0x10029b26
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge 0x1002a987
inc eax
jmp 0x10029b40
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x10029b60
cmp edi, eax
jne 0x10029b60
mov eax, dword [ebx + 0x14]
cmp eax, edx
jle 0x1002a987
dec eax
sub esp, 0x18
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0xd
mov ecx, esp
mov byte [ebp - 0x13], 0
push eax
call fcn.1000416d
jmp 0x10029fd4
cmp dword [ebx + 0x78], 0
je 0x10029b77
cmp edi, dword [ebx + 0x78]
jne 0x10029b77
mov ecx, ebx
call fcn.1002bb94
jmp 0x1002a987
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x10029f9c
cmp edi, eax
jne 0x10029f9c
mov ecx, dword [ebx + 0xe0]
call fcn.1000d62a
push eax
lea ecx, [ebp - 0xa0]
call fcn.10003b96
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x90]
mov byte [ebp - 0x11], 0
test eax, eax
je 0x10029bf8
xor ecx, ecx
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
movsx eax, byte [eax + ecx]
push eax
call fcn.1005ab9d
pop ecx
test eax, eax
je 0x10029bf2
mov al, byte [ebp - 0x11]
inc al
movzx ecx, al
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x90]
cmp ecx, eax
jb 0x10029bb8
jmp 0x10029bf8
mov eax, dword [ebp - 0x90]
cmp eax, 4
jne 0x10029d57
mov ecx, dword [ebx + 0xe4]
call fcn.1000d62a
push eax
lea ecx, [ebp - 0x6c]
call fcn.10003b96
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebx + 0xe8]
call fcn.1000d62a
push eax
lea ecx, [ebp - 0xb8]
call fcn.10003b96
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0xec]
call fcn.1000d62a
push eax
lea ecx, [ebp - 0xd0]
call fcn.10003b96
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0xf0]
call fcn.1000d62a
push eax
lea ecx, [ebp - 0xe8]
call fcn.10003b96
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x158]
call fcn.10009558
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.1002e53d
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x170]
call fcn.1002e53d
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.1002e53d
add esp, 0x10
xor eax, eax
lea ecx, [ebp - 0x170]
xor esi, esi
inc eax
push esi
push eax
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0x84]
push esi
inc eax
push eax
call fcn.10004022
xor eax, eax
mov byte [ebp - 4], 0xb
push esi
inc eax
lea ecx, [ebp - 0x158]
push eax
call fcn.10004022
xor eax, eax
cmp dword [ebp - 0x20], 0x14
je 0x10029e91
push esi
inc eax
lea ecx, [ebp - 0x30]
push eax
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0xe8]
push esi
inc eax
push eax
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0xd0]
push esi
inc eax
push eax
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0xb8]
push esi
inc eax
push eax
call fcn.10004022
xor eax, eax
mov byte [ebp - 4], 0
push esi
inc eax
lea ecx, [ebp - 0x6c]
push eax
call fcn.10004022
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10071a20
cvtsd2ss xmm0, xmm0
xor ecx, ecx
addss xmm0, dword [0x100890c4]
movss dword [ebx + 0x10], xmm0
movaps xmm0, xmmword [str._lSKYN]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x10029d82
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push eax
lea ecx, [ebp - 0xb8]
call fcn.1000416d
mov byte [ebp - 4], 0xe
xor edx, edx
movaps xmm0, xmmword [0x100892d0]
mov ecx, edx
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x100], 0x100b0c08
movaps xmm0, xmmword [0x10089d10]
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0xfc], 0x4b160011
movaps xmm0, xmmword [0x100894b0]
movups xmmword [ebp - 0x120], xmm0
mov word [ebp - 0xf8], 0x44
movaps xmm0, xmmword [0x10089c80]
movups xmmword [ebp - 0x110], xmm0
mov al, byte [ebp + ecx - 0x13f]
xor al, byte [ebp - 0x140]
mov byte [ebp + ecx - 0x13f], al
inc ecx
cmp ecx, 0x48
jb 0x10029e03
lea eax, [ebp - 0x13f]
mov byte [ebp - 0xf7], dl
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000416d
xor eax, eax
mov byte [ebp - 4], 0xf
push eax
push ecx
and dword [esp], eax
push eax
push eax
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x6c]
push eax
push eax
call dword [0x10087fc4]
xor eax, eax
lea ecx, [ebp - 0x6c]
xor esi, esi
inc eax
push esi
push eax
call fcn.10004022
xor eax, eax
mov byte [ebp - 4], 0
push esi
inc eax
lea ecx, [ebp - 0xb8]
push eax
call fcn.10004022
mov ecx, ebx
call fcn.1002bc40
xor eax, eax
lea ecx, [ebp - 0xa0]
push esi
inc eax
push eax
call fcn.10004022
jmp 0x1002a987
push 7
pop ecx
lea edi, [ebp - 0x4c]
mov byte [ebp - 0x14], 0xa1
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x4c]
call fcn.10008c26
xor eax, eax
mov byte [ebp - 4], 0xc
inc eax
mov dword [ebp - 0x4c], vtable.Packet.0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10008dd0
xor eax, eax
mov byte [ebp - 4], 0xd
inc eax
mov byte [ebp - 0x14], 0xa4
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10008dd0
xor eax, eax
lea ecx, [ebp - 0x4c]
inc eax
push eax
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push eax
call fcn.10008dd0
xor eax, eax
mov byte [ebp - 0x14], 3
inc eax
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008dd0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.10008bcd
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub edx, ecx
call fcn.1000ddda
mov ecx, ebx
call fcn.1002bc40
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
call fcn.10008d64
xor eax, eax
lea ecx, [ebp - 0x30]
xor ebx, ebx
inc eax
push ebx
push eax
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0xe8]
push ebx
inc eax
push eax
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0xd0]
push ebx
inc eax
push eax
call fcn.10004022
xor eax, eax
push ebx
inc eax
push eax
lea ecx, [ebp - 0xb8]
call fcn.10004022
xor eax, eax
lea ecx, [ebp - 0x6c]
push ebx
inc eax
push eax
call fcn.10004022
push ebx
inc ebx
lea ecx, [ebp - 0xa0]
push ebx
call fcn.10004022
mov al, bl
jmp 0x1002a98e
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x10029fb6
cmp edi, eax
jne 0x10029fb6
mov ecx, ebx
call fcn.1002bc40
jmp 0x1002a987
cmp dword [ebx + 0x60], 0
je 0x10029fe6
cmp edi, dword [ebx + 0x60]
jne 0x10029fe6
mov ecx, dword [ebx + 0x64]
call fcn.1000d62a
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10003b96
push dword [ebx + 0x1c]
mov ecx, ebx
push dword [ebx + 0x14]
call fcn.1002be94
jmp 0x1002a987
cmp dword [ebx + 0x48], 0
je 0x1002a0af
cmp edi, dword [ebx + 0x48]
jne 0x1002a0af
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x4c]
call fcn.10008c26
xor eax, eax
mov dword [ebp - 4], 0x10
inc eax
mov dword [ebp - 0x4c], vtable.Packet.0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10008dd0
xor eax, eax
mov dword [ebp - 4], 0x11
inc eax
mov byte [ebp - 0x14], 0xa4
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10008dd0
xor eax, eax
mov byte [ebp - 0x14], 0xb
inc eax
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008dd0
xor eax, eax
mov byte [ebp - 0x14], 2
inc eax
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008dd0
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10008dd0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub edx, ecx
call fcn.1000ddda
mov ecx, dword [ebx + 0x34]
xor dl, dl
call fcn.1000d361
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
lea ecx, [ebp - 0x3c]
jmp 0x1002a3d4
cmp dword [ebx + 0x4c], 0
je 0x1002a0c2
cmp edi, dword [ebx + 0x4c]
jne 0x1002a0c2
mov ecx, dword [ebx + 0x34]
jmp 0x1002a3f2
cmp dword [ebx + 0x7c], 0
je 0x1002a1e5
cmp edi, dword [ebx + 0x7c]
jne 0x1002a1e5
mov ecx, dword [ebx + 0x5c]
xor dl, dl
call fcn.1000d361
mov ecx, dword [ebx + 0x64]
call fcn.1000d79d
test al, al
je 0x1002a192
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x73
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x13], 0
call fcn.1000416d
mov dword [ebp - 4], 0x12
lea edx, [ebp - 0x6c]
mov ecx, dword [ebx + 0x64]
call fcn.1000d6c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
xor eax, eax
xor esi, esi
push esi
inc eax
push eax
call fcn.10004022
mov dl, 0x7a
mov dword [ebp - 0x28], 0x1b1f297a
mov dword [ebp - 0x24], 0x5a121908
xor ecx, ecx
mov dword [ebp - 0x20], 0x171f0e33
mov byte [ebp - 0x1c], 0
xor byte [ebp + ecx - 0x27], dl
inc ecx
cmp ecx, 0xb
jae 0x1002a156
mov dl, byte [ebp - 0x28]
jmp 0x1002a147
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000416d
mov dword [ebp - 4], 0x13
lea edx, [ebp - 0x6c]
mov ecx, dword [ebx + 0x64]
call fcn.1000db48
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
xor eax, eax
push 0
inc eax
push eax
call fcn.10004022
mov ecx, dword [ebx + 0x64]
call fcn.1000d77e
mov ecx, dword [ebx + 0x34]
call fcn.1000d4a2
test al, al
je 0x1002a1a8
mov ecx, dword [ebx + 0x34]
xor dl, dl
call fcn.1000d361
mov ecx, dword [ebx + 0xfc]
call fcn.1000d4a2
test al, al
je 0x1002a1c4
mov ecx, dword [ebx + 0xfc]
xor dl, dl
call fcn.1000d361
xor eax, eax
mov ecx, ebx
inc eax
push eax
mov dword [ebx + 0x188], eax
call fcn.1002d80f
mov ecx, dword [ebx + 0x1c8]
xor eax, eax
lea edx, [eax + 1]
jmp 0x1002a3f4
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x1002a1ff
cmp edi, eax
jne 0x1002a1ff
mov ecx, ebx
call fcn.1002d141
jmp 0x1002a987
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x1002a219
cmp edi, eax
jne 0x1002a219
mov ecx, ebx
call fcn.1002d2d3
jmp 0x1002a987
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x1002a232
cmp edi, eax
jne 0x1002a232
mov ecx, dword [ebx + 0xfc]
jmp 0x1002a3f2
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x1002a24c
cmp edi, eax
jne 0x1002a24c
mov ecx, ebx
call fcn.1002d075
jmp 0x1002a987
mov eax, dword [ebx + 0x1cc]
test eax, eax
je 0x1002a2c9
cmp edi, eax
jne 0x1002a2c9
mov ecx, dword [ebx + 0x1c8]
xor dl, dl
call fcn.1000d361
mov ecx, dword [ebx + 0x1a8]
call fcn.1000d4a2
test al, al
je 0x1002a283
mov ecx, dword [ebx + 0x1a8]
xor dl, dl
call fcn.1000d361
mov ecx, dword [ebx + 0x68]
mov dl, 3
call fcn.1000d435
xor eax, eax
mov word [ebp - 0x14], 0xd
sub esp, 0x18
mov dword [ebx + 0x1c], eax
xor edx, edx
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x13]
inc edx
mov ecx, esp
mov dword [ebx + 0x14], edx
push eax
call fcn.1000416d
xor eax, eax
mov ecx, ebx
push 0
inc eax
push eax
call fcn.1002be94
mov ecx, dword [ebx + 0x5c]
xor eax, eax
lea edx, [eax + 1]
jmp 0x1002a3f4
mov eax, dword [ebx + 0x1c0]
test eax, eax
je 0x1002a3de
cmp edi, eax
jne 0x1002a3de
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x88]
call fcn.10008c26
xor eax, eax
mov dword [ebp - 4], 0x14
inc eax
mov dword [ebp - 0x88], vtable.Packet.0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x88]
call fcn.10008dd0
xor eax, eax
mov dword [ebp - 4], 0x15
inc eax
mov byte [ebp - 0x14], 0xa4
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x88]
call fcn.10008dd0
xor eax, eax
mov byte [ebp - 0x14], 0xb
inc eax
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008dd0
xor eax, eax
mov byte [ebp - 0x14], 4
inc eax
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008dd0
mov eax, dword [ebx + 0x190]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x194]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push 8
push eax
call fcn.10008dd0
mov eax, dword [ebx + 0x198]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10008dd0
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
sub edx, ecx
call fcn.1000ddda
mov ecx, dword [ebx + 0x1a8]
xor dl, dl
call fcn.1000d361
mov dword [ebp - 0x88], vtable.ByteBuffer.0
lea ecx, [ebp - 0x78]
call fcn.10008d64
jmp 0x1002a987
mov eax, dword [ebx + 0x1c4]
test eax, eax
je 0x1002a3fe
cmp edi, eax
jne 0x1002a3fe
mov ecx, dword [ebx + 0x1a8]
xor dl, dl
call fcn.1000d361
jmp 0x1002a987
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x1002a421
cmp edi, eax
jne 0x1002a421
mov eax, dword [ebx + 0x188]
cmp eax, dword [ebx + 0x18c]
jge 0x1002a987
inc eax
jmp 0x1002a43e
mov eax, dword [ebx + 0x200]
test eax, eax
je 0x1002a451
cmp edi, eax
jne 0x1002a451
mov eax, dword [ebx + 0x188]
cmp eax, edx
jle 0x1002a987
dec eax
push eax
mov ecx, ebx
mov dword [ebx + 0x188], eax
call fcn.1002d80f
jmp 0x1002a987
push 4
xor eax, eax
lea edx, [ebx + 0x68]
pop ecx
mov dword [ebp - 0xf4], eax
mov esi, edx
mov dword [ebp - 0x18], ecx
cmp dword [esi], 0
je 0x1002a4d5
cmp edi, dword [esi]
jne 0x1002a4d5
push 4
mov edi, edx
pop ebx
mov ecx, dword [edi]
mov dl, 2
call fcn.1000d435
lea edi, [edi + 4]
sub ebx, 1
jne 0x1002a472
mov ecx, dword [esi]
mov dl, 3
call fcn.1000d435
mov ebx, dword [ebp - 0xf0]
sub esp, 0x18
mov eax, dword [ebp - 0xf4]
mov ecx, esp
mov word [ebp - 0x14], 0xd
mov byte [ebp - 0x13], 0
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x13]
push eax
call fcn.1000416d
push dword [ebx + 0x1c]
mov ecx, ebx
push dword [ebx + 0x14]
call fcn.1002be94
mov edi, dword [ebp + 8]
lea edx, [ebx + 0x68]
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x18]
inc eax
add esi, 4
sub ecx, 1
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x18], ecx
jne 0x1002a464
mov ecx, dword [ebp - 0xec]
test cl, cl
jne 0x1002a987
mov eax, dword [ebx + 0xc8]
xor ecx, ecx
sub eax, dword [ebx + 0xc4]
sar eax, 6
mov dword [ebp - 0xec], ecx
test eax, eax
je 0x1002a7ca
xor esi, esi
mov dword [ebp - 0xf4], esi
mov eax, dword [ebx + 0xc4]
cmp dword [esi + eax + 0x2c], 0
je 0x1002a620
cmp edi, dword [esi + eax + 0x2c]
jne 0x1002a620
mov eax, dword [esi + eax]
xor ecx, ecx
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 0x18], ecx
mov eax, dword [esi + eax + 4]
mov dword [ebp - 0xf0], eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0xd4]
sub eax, dword [ebx + 0xd0]
sar eax, 6
test eax, eax
je 0x1002a613
xor edx, edx
mov eax, dword [ebx + 0xd0]
mov edi, dword [ebx + 0x20]
cmp dword [edx + eax + 0x18], edi
mov edi, dword [ebp + 8]
jne 0x1002a58d
mov eax, dword [edx + eax + 0x1c]
cmp eax, dword [ebx + 0x24]
je 0x1002a5a9
mov eax, dword [ebx + 0xd4]
inc ecx
sub eax, dword [ebx + 0xd0]
add edx, 0x40
sar eax, 6
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jb 0x1002a572
jmp 0x1002a613
mov eax, dword [ebp - 0xf0]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1002a5e9
mov eax, dword [ebx + 0xd0]
mov esi, ecx
add eax, 0x30
shl esi, 6
add eax, esi
lea ecx, [ebx + 0x50]
push eax
call fcn.1002f578
mov edx, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0x38]
add edx, esi
call fcn.1000dbc1
mov esi, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xd0]
shl ecx, 6
mov eax, dword [eax + ecx + 0x24]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0xd0]
mov eax, dword [ecx + eax + 0x28]
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0xd0]
mov eax, dword [ecx + eax + 0x20]
mov dword [ebx + 0x28], eax
mov ecx, ebx
call fcn.1002c756
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebx + 0xc4]
cmp dword [esi + eax + 0x30], 0
je 0x1002a7a3
cmp edi, dword [esi + eax + 0x30]
jne 0x1002a7a3
mov eax, dword [ebx + 0xd4]
xor edx, edx
sub eax, dword [ebx + 0xd0]
sar eax, 6
test eax, eax
je 0x1002a7a3
and dword [ebp - 0x14], edx
mov eax, dword [ebx + 0xc4]
cmp dword [esi + eax + 4], 0
jbe 0x1002a66e
cmp dword [eax + esi + 4], 0x5f5e100
jb 0x1002a6c0
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xc4]
mov eax, dword [edi + eax + 0x18]
mov edi, dword [ebp + 8]
cmp eax, dword [esi + ecx]
jne 0x1002a6a3
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx + 0xd0]
mov eax, dword [edi + eax + 0x1c]
mov edi, dword [ebp + 8]
cmp eax, dword [esi + ecx + 4]
je 0x1002a77d
mov eax, dword [ebx + 0xd4]
inc edx
sub eax, dword [ebx + 0xd0]
add dword [ebp - 0x14], 0x40
sar eax, 6
cmp edx, eax
jb 0x1002a657
jmp 0x1002a79d
movaps xmm0, xmmword [0x10089170]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1002a6cd
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push eax
lea ecx, [ebp - 0xb8]
call fcn.1000416d
mov dword [ebp - 4], 0x16
xor ecx, ecx
movaps xmm0, xmmword [0x10089b10]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], 0x707f25
movaps xmm0, xmmword [0x10089890]
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x22
jb 0x1002a717
lea eax, [ebp - 0x53]
mov byte [ebp - 0x31], 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000416d
xor eax, eax
mov byte [ebp - 4], 0x17
push eax
push ecx
and dword [esp], eax
push eax
push eax
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x6c]
push eax
push eax
call dword [0x10087fc4]
xor eax, eax
lea ecx, [ebp - 0x6c]
push 0
inc eax
push eax
call fcn.10004022
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
xor eax, eax
push 0
inc eax
push eax
call fcn.10004022
jmp 0x1002a79d
mov eax, dword [ebx + 0xd0]
mov ecx, ebx
shl edx, 6
push dword [eax + edx + 0x28]
push dword [edx + eax + 0x24]
push dword [edx + eax + 0x1c]
push dword [eax + edx + 0x18]
call fcn.1002cd01
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebx + 0xc8]
inc ecx
sub eax, dword [ebx + 0xc4]
add esi, 0x40
sar eax, 6
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xf4], esi
cmp ecx, eax
jb 0x1002a520
mov eax, dword [ebx + 0x210]
xor ecx, ecx
sub eax, dword [ebx + 0x20c]
push 0x28
pop esi
cdq
idiv esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xec], esi
test eax, eax
je 0x1002a987
xor esi, esi
mov eax, dword [ebx + 0x20c]
cmp dword [esi + eax + 0x10], 0
je 0x1002a963
cmp edi, dword [esi + eax + 0x10]
jne 0x1002a963
mov eax, dword [esi + eax + 0x1c]
xor edx, edx
mov dword [ebx + 0x198], eax
mov eax, dword [ebx + 0x21c]
sub eax, dword [ebx + 0x218]
sar eax, 5
test eax, eax
je 0x1002a959
mov eax, dword [ebx + 0x20c]
mov ecx, dword [esi + eax + 0x20]
mov eax, dword [esi + eax + 0x24]
mov dword [ebp - 0xf0], ecx
xor ecx, ecx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x218]
mov edi, dword [ebp - 0xf0]
cmp dword [ecx + eax + 0x18], edi
mov edi, dword [ebp + 8]
jne 0x1002a87a
mov edi, dword [ebp - 0xf4]
cmp dword [ecx + eax + 0x1c], edi
mov edi, dword [ebp + 8]
jne 0x1002a87a
mov eax, dword [ecx + eax]
cmp eax, dword [ebx + 0x198]
je 0x1002a896
mov eax, dword [ebx + 0x21c]
inc edx
sub eax, dword [ebx + 0x218]
add ecx, 0x20
sar eax, 5
cmp edx, eax
jb 0x1002a84b
jmp 0x1002a959
mov ecx, dword [ebx + 0x218]
shl edx, 5
mov dword [ebp - 0xf0], edx
mov eax, dword [edx + ecx + 0x18]
mov dword [ebx + 0x190], eax
mov eax, dword [edx + ecx + 0x1c]
lea ecx, [ebp - 0x158]
mov dword [ebx + 0x194], eax
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + edx + 8]
mov dword [ebx + 0x1a0], eax
mov eax, dword [ebx + 0x218]
mov eax, dword [edx + eax + 0xc]
mov dword [ebx + 0x1a4], eax
mov eax, dword [ebx + 0x218]
mov eax, dword [edx + eax + 4]
mov dword [ebx + 0x19c], eax
mov edx, dword [ebx + 0x218]
add edx, dword [ebp - 0xf0]
mov edx, dword [edx + 0x10]
call fcn.100093d6
mov dword [ebp - 4], 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1002a912
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000416d
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0xd0]
mov ecx, dword [ebx + 0x1b0]
call fcn.1000dbc1
xor eax, eax
lea ecx, [ebp - 0xd0]
push 0
inc eax
push eax
call fcn.10004022
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
xor eax, eax
push 0
inc eax
push eax
call fcn.10004022
mov ecx, ebx
call fcn.1002ddd8
mov ecx, dword [ebp - 0x18]
push 0x28
pop eax
add esi, eax
inc ecx
mov eax, dword [ebx + 0x210]
sub eax, dword [ebx + 0x20c]
cdq
idiv dword [ebp - 0xec]
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jb 0x1002a7f1
xor eax, eax
inc eax
jmp 0x1002a98e
xor al, al
call fcn.1003bcfa
ret 8