Function at 0x10029aca
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x1004040d
call fcn.1003d7b1
mov esi, ecx
mov dword [ebp - 0x100], esi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x10057b6c], eax
test edi, edi
je 0x1002ab04
xor eax, eax
inc eax
cmp dword [ebp + 0xc], eax
jne 0x1002ab04
mov byte [ebp - 0xf0], 0
call fcn.1000a58f
mov ecx, dword [esi + 0xdc]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x14], edx
call fcn.1000c9ed
test al, al
je 0x10029b4f
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xec]
mov ecx, dword [esi + 0xdc]
call fcn.1000c799
pop ecx
mov ecx, dword [ebp - 0xf0]
test al, al
push 1
movzx ecx, cl
pop edx
cmovne ecx, edx
mov dword [ebp - 0xf0], ecx
mov ecx, dword [esi + 0x34]
call fcn.1000c9ed
test al, al
je 0x10029b84
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xec]
mov ecx, dword [esi + 0x34]
call fcn.1000c799
pop ecx
mov ecx, dword [ebp - 0xf0]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov byte [ebp - 0xf0], cl
mov ecx, dword [esi + 0xfc]
call fcn.1000c9ed
test al, al
je 0x10029bbf
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xec]
mov ecx, dword [esi + 0xfc]
call fcn.1000c799
pop ecx
mov ecx, dword [ebp - 0xf0]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov byte [ebp - 0xf0], cl
mov ecx, dword [esi + 0x1a8]
call fcn.1000c9ed
test al, al
je 0x10029bfc
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xec]
mov ecx, dword [esi + 0x1a8]
call fcn.1000c799
pop ecx
mov ecx, dword [ebp - 0xf0]
test al, al
push 1
movzx ecx, cl
pop edx
cmovne ecx, edx
mov byte [ebp - 0xf0], cl
jmp 0x10029bff
xor edx, edx
inc edx
cmp dword [esi + 4], 0
je 0x10029c16
cmp edi, dword [esi + 4]
jne 0x10029c16
mov ecx, esi
call fcn.1002b62a
jmp 0x1002a0a4
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x10029c33
cmp edi, eax
jne 0x10029c33
mov edi, dword [esi + 0x14]
cmp edi, dword [esi + 0x18]
jge 0x1002a0a4
inc edi
jmp 0x10029c4d
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x10029c72
cmp edi, eax
jne 0x10029c72
mov edi, dword [esi + 0x14]
cmp edi, edx
jle 0x1002a0a4
dec edi
sub esp, 0x18
mov dword [esi + 0x14], edi
mov esi, dword [esi + 0x1c]
lea eax, [ebp - 0x13]
mov ecx, esp
mov word [ebp - 0x14], 0x27
mov byte [ebp - 0x13], 0
push eax
call fcn.10003d99
push esi
push edi
jmp 0x1002a0f6
cmp dword [esi + 0x78], 0
je 0x10029c89
cmp edi, dword [esi + 0x78]
jne 0x10029c89
mov ecx, esi
call fcn.1002bd50
jmp 0x1002a0a4
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x1002a0ac
cmp edi, eax
jne 0x1002a0ac
mov ecx, dword [esi + 0xe0]
call fcn.1000cb75
push eax
lea ecx, [ebp - 0xa0]
call fcn.10003928
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x90]
mov byte [ebp - 0x11], 0
test edi, edi
je 0x10029cfd
xor ecx, ecx
cmp dword [ebp - 0x8c], 0xf
lea eax, [ebp - 0xa0]
cmova eax, dword [ebp - 0xa0]
movsx eax, byte [ecx + eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
pop ecx
test eax, eax
je 0x10029cfd
mov al, byte [ebp - 0x11]
inc al
movzx ecx, al
mov byte [ebp - 0x11], al
cmp ecx, edi
jb 0x10029cca
cmp edi, 4
jne 0x10029e86
mov ecx, dword [esi + 0xe4]
call fcn.1000cb75
push eax
lea ecx, [ebp - 0x88]
call fcn.10003928
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [esi + 0xe8]
call fcn.1000cb75
push eax
lea ecx, [ebp - 0xe8]
call fcn.10003928
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xec]
call fcn.1000cb75
push eax
lea ecx, [ebp - 0xd0]
call fcn.10003928
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xf0]
call fcn.1000cb75
push eax
lea ecx, [ebp - 0xb8]
call fcn.10003928
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x180]
call fcn.10008a4c
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0xf
push dword [ebp - 0xd8]
cmova ecx, dword [ebp - 0xe8]
push ecx
mov ecx, eax
call fcn.100056aa
push eax
lea ecx, [ebp - 0x48]
call fcn.100039a9
mov byte [ebp - 4], 6
lea eax, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 0xf
lea ecx, [ebp - 0x48]
push dword [ebp - 0xc0]
cmova eax, dword [ebp - 0xd0]
push eax
call fcn.100056aa
push eax
lea ecx, [ebp - 0x168]
call fcn.100039a9
mov byte [ebp - 4], 7
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 0xf
lea ecx, [ebp - 0x168]
push dword [ebp - 0xa8]
cmova eax, dword [ebp - 0xb8]
push eax
call fcn.100056aa
push eax
lea ecx, [ebp - 0x30]
call fcn.100039a9
lea ecx, [ebp - 0x168]
call fcn.10003b97
lea ecx, [ebp - 0x48]
call fcn.10003b97
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
call fcn.10003b97
cmp dword [ebp - 0x20], 0x14
je 0x10029f94
lea ecx, [ebp - 0x30]
call fcn.10003b97
lea ecx, [ebp - 0xb8]
call fcn.10003b97
lea ecx, [ebp - 0xd0]
call fcn.10003b97
lea ecx, [ebp - 0xe8]
call fcn.10003b97
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.10003b97
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1003d230
addss xmm0, dword [0x1004c758]
xor ecx, ecx
movss dword [esi + 0x10], xmm0
movaps xmm0, xmmword [0x1004ca50]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x10029ead
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10003d99
mov byte [ebp - 4], 0xe
xor ecx, ecx
movaps xmm0, xmmword [0x1004cb10]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x110], 0x150e090d
movaps xmm0, xmmword [0x1004d2f0]
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x10c], 0x4e130514
movaps xmm0, xmmword [0x1004cc50]
movups xmmword [ebp - 0x130], xmm0
mov word [ebp - 0x108], 0x41
movaps xmm0, xmmword [0x1004d150]
movups xmmword [ebp - 0x120], xmm0
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x48
jb 0x10029f25
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x107], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.10003d99
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 - 0x48]
push eax
lea eax, [ebp - 0x88]
push eax
push eax
call dword [0x1004b680]
lea ecx, [ebp - 0x88]
call fcn.10003b97
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.10003b97
mov ecx, esi
call fcn.1002bdf5
jmp 0x1002a099
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x68]
call fcn.10008222
xor eax, eax
mov byte [ebp - 4], 0xc
inc eax
mov dword [ebp - 0x68], vtable.Packet.0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.10008376
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 - 0x68]
call fcn.10008376
xor eax, eax
lea ecx, [ebp - 0x68]
inc eax
push eax
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push eax
call fcn.10008376
xor eax, eax
mov byte [ebp - 0x14], 3
inc eax
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008376
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x68]
cmova eax, dword [ebp - 0x30]
push eax
call fcn.10008160
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xf8], eax
cmp ecx, 0x4000
ja 0x1002a04f
mov ecx, dword ds:[0x10042be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0xf8]
call dword [0x10042be0]
mov ecx, esi
call fcn.1002bdf5
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x68], vtable.ByteBuffer.0
call fcn.10008299
lea ecx, [ebp - 0x30]
call fcn.10003b97
lea ecx, [ebp - 0xb8]
call fcn.10003b97
lea ecx, [ebp - 0xd0]
call fcn.10003b97
lea ecx, [ebp - 0xe8]
call fcn.10003b97
lea ecx, [ebp - 0x88]
call fcn.10003b97
lea ecx, [ebp - 0xa0]
call fcn.10003b97
xor eax, eax
inc eax
jmp 0x1002ab06
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x1002a0c3
cmp edi, eax
jne 0x1002a0c3
mov ecx, esi
call fcn.1002bdf5
jmp 0x1002a0a4
cmp dword [esi + 0x60], 0
je 0x1002a103
cmp edi, dword [esi + 0x60]
jne 0x1002a103
mov ecx, dword [ebp - 0x100]
sub esp, 0x18
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
mov esi, esp
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 0x64]
call fcn.1000cb75
push eax
mov ecx, esi
call fcn.10003928
push edi
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x100]
call fcn.1002c02f
jmp 0x1002a0a4
cmp dword [esi + 0x48], 0
je 0x1002a1f1
cmp edi, dword [esi + 0x48]
jne 0x1002a1f1
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x68]
call fcn.10008222
xor eax, eax
mov dword [ebp - 4], 0x10
inc eax
mov dword [ebp - 0x68], vtable.Packet.0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.10008376
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 - 0x68]
call fcn.10008376
xor eax, eax
mov byte [ebp - 0x14], 0xb
inc eax
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008376
xor eax, eax
mov byte [ebp - 0x14], 2
inc eax
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008376
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10008376
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xf8], eax
cmp ecx, 0x4000
ja 0x1002a1d8
mov ecx, dword ds:[0x10042be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0xf8]
call dword [0x10042be0]
mov ecx, dword [esi + 0x34]
xor dl, dl
call fcn.1000c8aa
mov dword [ebp - 0x68], vtable.ByteBuffer.0
lea ecx, [ebp - 0x58]
jmp 0x1002a510
cmp dword [esi + 0x4c], 0
je 0x1002a204
cmp edi, dword [esi + 0x4c]
jne 0x1002a204
mov ecx, dword [esi + 0x34]
jmp 0x1002a52e
cmp dword [esi + 0x7c], 0
je 0x1002a31a
cmp edi, dword [esi + 0x7c]
jne 0x1002a31a
mov ecx, dword [esi + 0x5c]
xor dl, dl
call fcn.1000c8aa
mov ecx, dword [esi + 0x64]
call fcn.1000cce6
test al, al
je 0x1002a2c7
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x13
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x13], 0
call fcn.10003d99
mov dword [ebp - 4], 0x12
lea edx, [ebp - 0x48]
mov ecx, dword [esi + 0x64]
call fcn.1000cc12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b97
mov cl, 0x7b
mov dword [ebp - 0x28], 0x1a1e287b
mov dword [ebp - 0x24], 0x5b131809
xor eax, eax
mov dword [ebp - 0x20], 0x161e0f32
mov byte [ebp - 0x1c], 0
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xb
jae 0x1002a291
mov cl, byte [ebp - 0x28]
jmp 0x1002a282
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10003d99
mov dword [ebp - 4], 0x13
lea edx, [ebp - 0x48]
mov ecx, dword [esi + 0x64]
call fcn.1000d094
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b97
mov ecx, dword [esi + 0x64]
call fcn.1000ccc7
mov ecx, dword [esi + 0x34]
call fcn.1000c9ed
test al, al
je 0x1002a2dd
mov ecx, dword [esi + 0x34]
xor dl, dl
call fcn.1000c8aa
mov ecx, dword [esi + 0xfc]
call fcn.1000c9ed
test al, al
je 0x1002a2f9
mov ecx, dword [esi + 0xfc]
xor dl, dl
call fcn.1000c8aa
xor eax, eax
mov ecx, esi
inc eax
push eax
mov dword [esi + 0x188], eax
call fcn.1002d9ee
mov ecx, dword [esi + 0x1c8]
xor eax, eax
lea edx, [eax + 1]
jmp 0x1002a530
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1002a334
cmp edi, eax
jne 0x1002a334
mov ecx, esi
call fcn.1002d330
jmp 0x1002a0a4
mov eax, dword [esi + 0x104]
test eax, eax
je 0x1002a34e
cmp edi, eax
jne 0x1002a34e
mov ecx, esi
call fcn.1002d4ad
jmp 0x1002a0a4
mov eax, dword [esi + 0x108]
test eax, eax
je 0x1002a367
cmp edi, eax
jne 0x1002a367
mov ecx, dword [esi + 0xfc]
jmp 0x1002a52e
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1002a381
cmp edi, eax
jne 0x1002a381
mov ecx, esi
call fcn.1002d268
jmp 0x1002a0a4
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x1002a3fe
cmp edi, eax
jne 0x1002a3fe
mov ecx, dword [esi + 0x1c8]
xor dl, dl
call fcn.1000c8aa
mov ecx, dword [esi + 0x1a8]
call fcn.1000c9ed
test al, al
je 0x1002a3b8
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.1000c8aa
mov ecx, dword [esi + 0x68]
mov dl, 3
call fcn.1000c97f
xor eax, eax
mov word [ebp - 0x14], 0x27
sub esp, 0x18
mov dword [esi + 0x1c], eax
xor edx, edx
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x13]
inc edx
mov ecx, esp
mov dword [esi + 0x14], edx
push eax
call fcn.10003d99
xor eax, eax
mov ecx, esi
push 0
inc eax
push eax
call fcn.1002c02f
mov ecx, dword [esi + 0x5c]
xor eax, eax
lea edx, [eax + 1]
jmp 0x1002a530
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x1002a51a
cmp edi, eax
jne 0x1002a51a
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.10008222
xor eax, eax
mov dword [ebp - 4], 0x14
inc eax
mov dword [ebp - 0x4c], vtable.Packet.0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10008376
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 - 0x4c]
call fcn.10008376
xor eax, eax
mov byte [ebp - 0x14], 0xb
inc eax
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008376
xor eax, eax
mov byte [ebp - 0x14], 4
inc eax
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008376
mov eax, dword [esi + 0x190]
mov ecx, dword [esi + 0x194]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push 8
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.10008376
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10008376
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xf8], eax
cmp ecx, 0x4000
ja 0x1002a4f9
mov ecx, dword ds:[0x10042be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0xf8]
call dword [0x10042be0]
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.1000c8aa
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
lea ecx, [ebp - 0x3c]
call fcn.10008299
jmp 0x1002a0a4
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1002a53a
cmp edi, eax
jne 0x1002a53a
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.1000c8aa
jmp 0x1002a0a4
mov eax, dword [esi + 0x208]
test eax, eax
je 0x1002a55d
cmp edi, eax
jne 0x1002a55d
mov eax, dword [esi + 0x188]
cmp eax, dword [esi + 0x18c]
jge 0x1002a0a4
inc eax
jmp 0x1002a57a
mov eax, dword [esi + 0x200]
test eax, eax
je 0x1002a58d
cmp edi, eax
jne 0x1002a58d
mov eax, dword [esi + 0x188]
cmp eax, edx
jle 0x1002a0a4
dec eax
push eax
mov ecx, esi
mov dword [esi + 0x188], eax
call fcn.1002d9ee
jmp 0x1002a0a4
push 4
lea eax, [esi + 0x68]
xor ecx, ecx
pop edx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xfc], edx
cmp dword [eax], 0
je 0x1002a62c
cmp edi, dword [eax]
jne 0x1002a62c
mov edi, dword [ebp - 0x18]
push 4
pop esi
mov ecx, dword [edi]
mov dl, 2
call fcn.1000c97f
lea edi, [edi + 4]
sub esi, 1
jne 0x1002a5b9
mov ecx, dword [ebp - 0xf4]
mov dl, 3
mov ecx, dword [ecx]
call fcn.1000c97f
mov esi, dword [ebp - 0x100]
sub esp, 0x18
mov eax, dword [ebp - 0xec]
mov ecx, esp
mov word [ebp - 0x14], 0x27
mov byte [ebp - 0x13], 0
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x13]
push eax
call fcn.10003d99
push dword [ebp - 0xec]
xor eax, eax
mov ecx, esi
inc eax
push eax
call fcn.1002c02f
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xfc]
inc ecx
add eax, 4
sub edx, 1
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xfc], edx
jne 0x1002a5aa
cmp byte [ebp - 0xf0], 0
jne 0x1002a0a4
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xc4]
sub eax, ecx
and dword [ebp - 0x14], 0
sar eax, 6
test eax, eax
je 0x1002a938
movups xmm1, xmmword [str.Z_n5___w]
xor edx, edx
mov dword [ebp - 0xf0], edx
mov eax, dword [ecx + edx + 0x2c]
test eax, eax
je 0x1002a763
cmp edi, eax
jne 0x1002a763
mov eax, dword [ecx + edx]
mov dword [esi + 0x20], eax
mov dword [ebp - 0x18], eax
mov eax, dword [edx + ecx + 4]
xor edx, edx
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0xd0]
mov dword [ebp - 0xfc], eax
mov eax, dword [esi + 0xd4]
sub eax, ecx
mov dword [ebp - 0xf4], edx
sar eax, 6
mov dword [ebp - 0xf8], eax
test eax, eax
je 0x1002a74f
mov edi, dword [ebp - 0x18]
cmp dword [ecx + 0x18], edi
mov edi, dword [ebp + 8]
jne 0x1002a6ea
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x24]
je 0x1002a6fa
mov eax, dword [ebp - 0xf8]
inc edx
add ecx, 0x40
mov dword [ebp - 0xf4], edx
cmp edx, eax
jb 0x1002a6d1
jmp 0x1002a74f
mov eax, dword [ebp - 0xfc]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1002a731
lea eax, [ecx + 0x30]
push eax
lea ecx, [esi + 0x50]
call fcn.1000b237
mov edx, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x38]
shl edx, 6
add edx, dword [esi + 0xd0]
call fcn.1000d114
mov edx, dword [ebp - 0xf4]
mov ecx, dword [esi + 0xd0]
shl edx, 6
mov eax, dword [edx + ecx + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + ecx + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [edx + ecx + 0x20]
mov dword [esi + 0x28], eax
mov ecx, esi
call fcn.1002c95d
movups xmm1, xmmword [str.Z_n5___w]
mov edx, dword [ebp - 0xf0]
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0xfc], eax
mov eax, dword [edx + eax + 0x30]
test eax, eax
je 0x1002a90b
cmp edi, eax
jne 0x1002a90b
mov ecx, dword [esi + 0xd4]
xor eax, eax
sub ecx, dword [esi + 0xd0]
sar ecx, 6
mov dword [ebp - 0xf4], ecx
test ecx, ecx
je 0x1002a90b
mov edi, dword [esi + 0xd0]
add edi, 0x1c
mov dword [ebp - 0xec], edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0xfc]
cmp dword [edx + esi + 4], 0
mov esi, dword [ebp - 0x100]
jbe 0x1002a7dd
mov esi, dword [ebp - 0xfc]
cmp dword [edx + esi + 4], 0x5f5e100
mov esi, dword [ebp - 0x100]
jb 0x1002a842
mov edi, dword [ebp - 0xec]
mov edi, dword [edi - 4]
mov dword [ebp - 0x18], edi
mov edi, dword [esi + 0xc4]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [edx + edi]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xf4]
jne 0x1002a82d
mov edi, dword [ebp - 0xec]
mov edi, dword [edi]
mov dword [ebp - 0xf8], edi
mov edi, dword [esi + 0xc4]
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [edx + edi + 4]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xf4]
je 0x1002a8e4
add dword [ebp - 0xec], 0x40
inc eax
cmp eax, ecx
jb 0x1002a7b4
jmp 0x1002a90b
movups xmmword [ebp - 0x28], xmm1
xor ecx, ecx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1002a848
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10003d99
mov dword [ebp - 4], 0x16
xor ecx, ecx
movups xmm0, xmmword [0x1004d5d0]
mov dword [ebp - 0x50], 0x252a70
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x1004d7e0]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x22
jb 0x1002a88b
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x4d], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.10003d99
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 - 0x48]
push eax
lea eax, [ebp - 0x88]
push eax
push eax
call dword [0x1004b680]
lea ecx, [ebp - 0x88]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b97
jmp 0x1002a905
mov ecx, dword [esi + 0xd0]
shl eax, 6
push dword [eax + ecx + 0x28]
push dword [eax + ecx + 0x24]
mov ecx, esi
push dword [ebp - 0xf8]
push dword [ebp - 0x18]
call fcn.1002cee3
mov edx, dword [ebp - 0xf0]
mov eax, dword [esi + 0xc8]
add edx, 0x40
mov ecx, dword [esi + 0xc4]
sub eax, ecx
inc dword [ebp - 0x14]
movups xmm1, xmmword [str.Z_n5___w]
sar eax, 6
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0x14], eax
jb 0x1002a684
mov eax, dword [esi + 0x210]
mov ecx, dword [esi + 0x20c]
sub eax, ecx
cdq
mov dword [ebp - 0xf4], 0x28
idiv dword [ebp - 0xf4]
and dword [ebp - 0xf0], 0
test eax, eax
je 0x1002a0a4
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xec], eax
mov edx, dword [ecx + eax + 0x10]
test edx, edx
je 0x1002aac3
cmp edi, edx
jne 0x1002aac3
mov eax, dword [ecx + eax + 0x1c]
xor edx, edx
mov dword [esi + 0x198], eax
mov eax, dword [esi + 0x218]
mov ecx, dword [esi + 0x21c]
sub ecx, eax
mov dword [ebp - 0x14], eax
sar ecx, 5
test ecx, ecx
je 0x1002aab6
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xec]
mov esi, dword [eax + edi + 0x20]
mov eax, dword [eax + edi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x104], esi
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0x18], eax
mov edi, dword [eax + 0x18]
mov dword [ebp - 0xf8], edi
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0xfc], edi
mov edi, dword [ebp - 0x104]
cmp dword [ebp - 0xf8], edi
mov edi, dword [ebp + 8]
jne 0x1002aa11
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0xfc], edi
mov edi, dword [ebp + 8]
jne 0x1002aa11
mov eax, dword [eax]
cmp eax, dword [esi + 0x198]
je 0x1002aa21
mov eax, dword [ebp - 0x18]
inc edx
add eax, 0x20
mov dword [ebp - 0x18], eax
cmp edx, ecx
jb 0x1002a9d3
jmp 0x1002aab6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xf8]
shl edx, 5
mov dword [esi + 0x190], eax
mov eax, dword [ebp - 0xfc]
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 - 0x180]
call fcn.100088fa
mov dword [ebp - 4], 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x1002aa7b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x168]
call fcn.10003d99
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x168]
mov ecx, dword [esi + 0x1b0]
call fcn.1000d114
lea ecx, [ebp - 0x168]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.10003b97
mov ecx, esi
call fcn.1002dfa0
mov eax, dword [ebp - 0xec]
add eax, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x20c]
mov dword [ebp - 0xec], eax
mov eax, dword [esi + 0x210]
sub eax, ecx
inc dword [ebp - 0xf0]
cdq
idiv dword [ebp - 0xf4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xec]
jb 0x1002a971
jmp 0x1002a0a4
xor al, al
call fcn.1003d76f
ret 8