Function at 0x10029856
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x10040024
call fcn.1003d3d1
mov esi, ecx
mov dword [ebp - 0x100], esi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x10056b48], eax
test edi, edi
je 0x1002a897
xor eax, eax
inc eax
cmp dword [ebp + 0xc], eax
jne 0x1002a897
mov byte [ebp - 0xf0], 0
call fcn.1000a536
mov ecx, dword [esi + 0xdc]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x14], edx
call fcn.1000c9c0
test al, al
je 0x100298db
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xf4]
mov ecx, dword [esi + 0xdc]
call fcn.1000c76f
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.1000c9c0
test al, al
je 0x10029910
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x34]
call fcn.1000c76f
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.1000c9c0
test al, al
je 0x1002994b
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xf4]
mov ecx, dword [esi + 0xfc]
call fcn.1000c76f
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.1000c9c0
test al, al
je 0x10029988
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x1a8]
call fcn.1000c76f
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 0x1002998b
xor edx, edx
inc edx
cmp dword [esi + 4], 0
je 0x100299a2
cmp edi, dword [esi + 4]
jne 0x100299a2
mov ecx, esi
call fcn.1002b3b0
jmp 0x10029e34
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x100299bf
cmp edi, eax
jne 0x100299bf
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jge 0x10029e34
inc eax
jmp 0x100299d9
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x10029a01
cmp edi, eax
jne 0x10029a01
mov eax, dword [esi + 0x14]
cmp eax, edx
jle 0x10029e34
dec eax
sub esp, 0x18
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x34
mov ecx, esp
mov byte [ebp - 0x13], 0
push eax
call fcn.10003da0
push dword [esi + 0x1c]
mov ecx, esi
push dword [esi + 0x14]
jmp 0x10029e81
cmp dword [esi + 0x78], 0
je 0x10029a18
cmp edi, dword [esi + 0x78]
jne 0x10029a18
mov ecx, esi
call fcn.1002bad6
jmp 0x10029e34
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x10029e3c
cmp edi, eax
jne 0x10029e3c
mov ecx, dword [esi + 0xe0]
call fcn.1000cb48
push eax
lea ecx, [ebp - 0xa0]
call fcn.10003926
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x90]
mov byte [ebp - 0x11], 0
test edi, edi
je 0x10029a8c
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 0x10029a8c
mov al, byte [ebp - 0x11]
inc al
movzx ecx, al
mov byte [ebp - 0x11], al
cmp ecx, edi
jb 0x10029a59
cmp edi, 4
jne 0x10029c15
mov ecx, dword [esi + 0xe4]
call fcn.1000cb48
push eax
lea ecx, [ebp - 0x88]
call fcn.10003926
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [esi + 0xe8]
call fcn.1000cb48
push eax
lea ecx, [ebp - 0xe8]
call fcn.10003926
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xec]
call fcn.1000cb48
push eax
lea ecx, [ebp - 0xd0]
call fcn.10003926
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xf0]
call fcn.1000cb48
push eax
lea ecx, [ebp - 0xb8]
call fcn.10003926
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x180]
call fcn.10008a2b
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.100056bb
push eax
lea ecx, [ebp - 0x48]
call fcn.100039ac
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.100056bb
push eax
lea ecx, [ebp - 0x168]
call fcn.100039ac
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.100056bb
push eax
lea ecx, [ebp - 0x30]
call fcn.100039ac
lea ecx, [ebp - 0x168]
call fcn.10003b9e
lea ecx, [ebp - 0x48]
call fcn.10003b9e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
call fcn.10003b9e
cmp dword [ebp - 0x20], 0x14
je 0x10029d24
lea ecx, [ebp - 0x30]
call fcn.10003b9e
lea ecx, [ebp - 0xb8]
call fcn.10003b9e
lea ecx, [ebp - 0xd0]
call fcn.10003b9e
lea ecx, [ebp - 0xe8]
call fcn.10003b9e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.10003b9e
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1003ce50
addss xmm0, dword [0x1004b780]
xor ecx, ecx
movss dword [esi + 0x10], xmm0
movaps xmm0, xmmword [0x1004b840]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x10029c3c
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10003da0
mov byte [ebp - 4], 0xe
xor edx, edx
movaps xmm0, xmmword [0x1004bc60]
mov ecx, edx
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x110], 0x1b000703
movaps xmm0, xmmword [0x1004c2a0]
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x10c], 0x401d0b1a
movaps xmm0, xmmword [0x1004bad0]
movups xmmword [ebp - 0x130], xmm0
mov word [ebp - 0x108], 0x4f
movaps xmm0, xmmword [0x1004c3d0]
movups xmmword [ebp - 0x120], xmm0
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x48
jb 0x10029cb6
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x107], dl
push eax
lea ecx, [ebp - 0x88]
call fcn.10003da0
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 [0x1004a348]
lea ecx, [ebp - 0x88]
call fcn.10003b9e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.10003b9e
mov ecx, esi
call fcn.1002bb7b
jmp 0x10029e29
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.10008211
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.10008365
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.10008365
xor eax, eax
lea ecx, [ebp - 0x68]
inc eax
push eax
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push eax
call fcn.10008365
xor eax, eax
mov byte [ebp - 0x14], 3
inc eax
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008365
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x68]
cmova eax, dword [ebp - 0x30]
push eax
call fcn.1000814f
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xec], eax
cmp ecx, 0x4000
ja 0x10029ddf
mov ecx, dword ds:[0x1004188c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0xec]
call dword [0x10041888]
mov ecx, esi
call fcn.1002bb7b
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x68], vtable.ByteBuffer.0
call fcn.10008288
lea ecx, [ebp - 0x30]
call fcn.10003b9e
lea ecx, [ebp - 0xb8]
call fcn.10003b9e
lea ecx, [ebp - 0xd0]
call fcn.10003b9e
lea ecx, [ebp - 0xe8]
call fcn.10003b9e
lea ecx, [ebp - 0x88]
call fcn.10003b9e
lea ecx, [ebp - 0xa0]
call fcn.10003b9e
xor eax, eax
inc eax
jmp 0x1002a899
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x10029e53
cmp edi, eax
jne 0x10029e53
mov ecx, esi
call fcn.1002bb7b
jmp 0x10029e34
cmp dword [esi + 0x60], 0
je 0x10029e88
cmp edi, dword [esi + 0x60]
jne 0x10029e88
mov edi, dword [ebp - 0x100]
sub esp, 0x18
mov esi, esp
mov ecx, dword [edi + 0x64]
call fcn.1000cb48
push eax
mov ecx, esi
call fcn.10003926
push dword [edi + 0x1c]
mov ecx, edi
push dword [edi + 0x14]
call fcn.1002bdb5
jmp 0x10029e34
cmp dword [esi + 0x48], 0
je 0x10029f76
cmp edi, dword [esi + 0x48]
jne 0x10029f76
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.10008211
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.10008365
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.10008365
xor eax, eax
mov byte [ebp - 0x14], 0xb
inc eax
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008365
xor eax, eax
mov byte [ebp - 0x14], 2
inc eax
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008365
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10008365
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xec], eax
cmp ecx, 0x4000
ja 0x10029f5d
mov ecx, dword ds:[0x1004188c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0xec]
call dword [0x10041888]
mov ecx, dword [esi + 0x34]
xor dl, dl
call fcn.1000c87f
mov dword [ebp - 0x68], vtable.ByteBuffer.0
lea ecx, [ebp - 0x58]
jmp 0x1002a2a7
cmp dword [esi + 0x4c], 0
je 0x10029f89
cmp edi, dword [esi + 0x4c]
jne 0x10029f89
mov ecx, dword [esi + 0x34]
jmp 0x1002a2c5
cmp dword [esi + 0x7c], 0
je 0x1002a09f
cmp edi, dword [esi + 0x7c]
jne 0x1002a09f
mov ecx, dword [esi + 0x5c]
xor dl, dl
call fcn.1000c87f
mov ecx, dword [esi + 0x64]
call fcn.1000ccb8
test al, al
je 0x1002a04c
lea eax, [ebp - 0x13]
mov word [ebp - 0x14], 0x4a
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x13], 0
call fcn.10003da0
mov dword [ebp - 4], 0x12
lea edx, [ebp - 0x48]
mov ecx, dword [esi + 0x64]
call fcn.1000cbe4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b9e
mov cl, 0x6b
mov dword [ebp - 0x28], 0xa0e386b
mov dword [ebp - 0x24], 0x4b030819
xor eax, eax
mov dword [ebp - 0x20], 0x60e1f22
mov byte [ebp - 0x1c], 0
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xb
jae 0x1002a016
mov cl, byte [ebp - 0x28]
jmp 0x1002a007
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10003da0
mov dword [ebp - 4], 0x13
lea edx, [ebp - 0x48]
mov ecx, dword [esi + 0x64]
call fcn.1000d060
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b9e
mov ecx, dword [esi + 0x64]
call fcn.1000cc99
mov ecx, dword [esi + 0x34]
call fcn.1000c9c0
test al, al
je 0x1002a062
mov ecx, dword [esi + 0x34]
xor dl, dl
call fcn.1000c87f
mov ecx, dword [esi + 0xfc]
call fcn.1000c9c0
test al, al
je 0x1002a07e
mov ecx, dword [esi + 0xfc]
xor dl, dl
call fcn.1000c87f
xor eax, eax
mov ecx, esi
inc eax
push eax
mov dword [esi + 0x188], eax
call fcn.1002d76f
mov ecx, dword [esi + 0x1c8]
xor eax, eax
lea edx, [eax + 1]
jmp 0x1002a2c7
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1002a0b9
cmp edi, eax
jne 0x1002a0b9
mov ecx, esi
call fcn.1002d0b7
jmp 0x10029e34
mov eax, dword [esi + 0x104]
test eax, eax
je 0x1002a0d3
cmp edi, eax
jne 0x1002a0d3
mov ecx, esi
call fcn.1002d234
jmp 0x10029e34
mov eax, dword [esi + 0x108]
test eax, eax
je 0x1002a0ec
cmp edi, eax
jne 0x1002a0ec
mov ecx, dword [esi + 0xfc]
jmp 0x1002a2c5
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1002a106
cmp edi, eax
jne 0x1002a106
mov ecx, esi
call fcn.1002cfef
jmp 0x10029e34
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x1002a183
cmp edi, eax
jne 0x1002a183
mov ecx, dword [esi + 0x1c8]
xor dl, dl
call fcn.1000c87f
mov ecx, dword [esi + 0x1a8]
call fcn.1000c9c0
test al, al
je 0x1002a13d
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.1000c87f
mov ecx, dword [esi + 0x68]
mov dl, 3
call fcn.1000c953
xor eax, eax
mov word [ebp - 0x14], 0x34
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.10003da0
xor eax, eax
mov ecx, esi
push 0
inc eax
push eax
call fcn.1002bdb5
mov ecx, dword [esi + 0x5c]
xor eax, eax
lea edx, [eax + 1]
jmp 0x1002a2c7
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x1002a2b1
cmp edi, eax
jne 0x1002a2b1
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.10008211
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.10008365
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.10008365
xor eax, eax
mov byte [ebp - 0x14], 0xb
inc eax
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008365
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x4c]
mov edi, dword [ebp - 0x100]
mov esi, dword [esi + 0x190]
mov dword [ebp - 0x18], eax
xor eax, eax
inc eax
mov byte [ebp - 0x14], 4
mov edi, dword [edi + 0x194]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10008365
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], edi
call fcn.10008365
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10008365
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xec], eax
cmp ecx, 0x4000
ja 0x1002a28a
mov ecx, dword ds:[0x1004188c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x18]
push dword [ebp - 0xec]
call dword [0x10041888]
mov eax, dword [ebp - 0x100]
xor dl, dl
mov ecx, dword [eax + 0x1a8]
call fcn.1000c87f
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
lea ecx, [ebp - 0x3c]
call fcn.10008288
jmp 0x10029e34
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1002a2d1
cmp edi, eax
jne 0x1002a2d1
mov ecx, dword [esi + 0x1a8]
xor dl, dl
call fcn.1000c87f
jmp 0x10029e34
mov eax, dword [esi + 0x208]
test eax, eax
je 0x1002a2f4
cmp edi, eax
jne 0x1002a2f4
mov eax, dword [esi + 0x188]
cmp eax, dword [esi + 0x18c]
jge 0x10029e34
inc eax
jmp 0x1002a311
mov eax, dword [esi + 0x200]
test eax, eax
je 0x1002a324
cmp edi, eax
jne 0x1002a324
mov eax, dword [esi + 0x188]
cmp eax, edx
jle 0x10029e34
dec eax
push eax
mov ecx, esi
mov dword [esi + 0x188], eax
call fcn.1002d76f
jmp 0x10029e34
push 4
lea eax, [esi + 0x68]
xor ecx, ecx
pop edx
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], edx
cmp dword [eax], 0
je 0x1002a3bf
cmp edi, dword [eax]
jne 0x1002a3bf
mov edi, dword [ebp - 0x18]
push 4
pop esi
mov ecx, dword [edi]
mov dl, 2
call fcn.1000c953
lea edi, [edi + 4]
sub esi, 1
jne 0x1002a350
mov ecx, dword [ebp - 0xf8]
mov dl, 3
mov ecx, dword [ecx]
call fcn.1000c953
mov esi, dword [ebp - 0x100]
sub esp, 0x18
mov eax, dword [ebp - 0xf4]
mov ecx, esp
mov word [ebp - 0x14], 0x34
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.10003da0
push dword [esi + 0x1c]
mov ecx, esi
push dword [esi + 0x14]
call fcn.1002bdb5
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xfc]
inc ecx
add eax, 4
sub edx, 1
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], edx
jne 0x1002a341
cmp byte [ebp - 0xf0], 0
jne 0x10029e34
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 0x1002a6cb
movups xmm1, xmmword [0x1004b8d0]
xor edx, edx
mov dword [ebp - 0xf0], edx
mov eax, dword [ecx + edx + 0x2c]
test eax, eax
je 0x1002a4f6
cmp edi, eax
jne 0x1002a4f6
mov eax, dword [ecx + edx]
mov dword [esi + 0x20], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + edx + 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 - 0xf8], edx
sar eax, 6
mov dword [ebp - 0xec], eax
test eax, eax
je 0x1002a4e2
mov edi, dword [ebp - 0x18]
cmp dword [ecx + 0x18], edi
mov edi, dword [ebp + 8]
jne 0x1002a47d
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x24]
je 0x1002a48d
mov eax, dword [ebp - 0xec]
inc edx
add ecx, 0x40
mov dword [ebp - 0xf8], edx
cmp edx, eax
jb 0x1002a464
jmp 0x1002a4e2
mov eax, dword [ebp - 0xfc]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1002a4c4
lea eax, [ecx + 0x30]
push eax
lea ecx, [esi + 0x50]
call fcn.1000b1df
mov edx, dword [ebp - 0xf8]
mov ecx, dword [esi + 0x38]
shl edx, 6
add edx, dword [esi + 0xd0]
call fcn.1000d0e0
mov edx, dword [ebp - 0xf8]
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.1002c6e4
movups xmm1, xmmword [0x1004b8d0]
mov edx, dword [ebp - 0xf0]
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0xfc], eax
mov eax, dword [eax + edx + 0x30]
test eax, eax
je 0x1002a69e
cmp edi, eax
jne 0x1002a69e
mov ecx, dword [esi + 0xd4]
xor eax, eax
sub ecx, dword [esi + 0xd0]
sar ecx, 6
mov dword [ebp - 0xf8], ecx
test ecx, ecx
je 0x1002a69e
mov edi, dword [esi + 0xd0]
add edi, 0x1c
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0xfc]
cmp dword [esi + edx + 4], 0
mov esi, dword [ebp - 0x100]
jbe 0x1002a570
mov esi, dword [ebp - 0xfc]
cmp dword [esi + edx + 4], 0x5f5e100
mov esi, dword [ebp - 0x100]
jb 0x1002a5d5
mov edi, dword [ebp - 0xf4]
mov edi, dword [edi - 4]
mov dword [ebp - 0x18], edi
mov edi, dword [esi + 0xc4]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [edi + edx]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xf8]
jne 0x1002a5c0
mov edi, dword [ebp - 0xf4]
mov edi, dword [edi]
mov dword [ebp - 0xec], edi
mov edi, dword [esi + 0xc4]
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [edi + edx + 4]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xf8]
je 0x1002a677
add dword [ebp - 0xf4], 0x40
inc eax
cmp eax, ecx
jb 0x1002a547
jmp 0x1002a69e
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 0x1002a5db
lea eax, [ebp - 0x27]
mov byte [ebp - 0x19], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10003da0
mov dword [ebp - 4], 0x16
xor ecx, ecx
movups xmm0, xmmword [0x1004c2b0]
mov dword [ebp - 0x50], 0x30c56
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x1004c3f0]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x22
jb 0x1002a61e
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x4d], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.10003da0
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 [0x1004a348]
lea ecx, [ebp - 0x88]
call fcn.10003b9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b9e
jmp 0x1002a698
mov ecx, dword [esi + 0xd0]
shl eax, 6
push dword [eax + ecx + 0x28]
push dword [eax + ecx + 0x24]
mov ecx, esi
push dword [ebp - 0xec]
push dword [ebp - 0x18]
call fcn.1002cc6a
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 [0x1004b8d0]
sar eax, 6
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0x14], eax
jb 0x1002a417
mov eax, dword [esi + 0x210]
mov ecx, dword [esi + 0x20c]
sub eax, ecx
cdq
mov dword [ebp - 0xf8], 0x28
idiv dword [ebp - 0xf8]
and dword [ebp - 0xf0], 0
test eax, eax
je 0x10029e34
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xf4], eax
mov edx, dword [ecx + eax + 0x10]
test edx, edx
je 0x1002a856
cmp edi, edx
jne 0x1002a856
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 0x1002a849
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xf4]
mov esi, dword [edi + eax + 0x20]
mov eax, dword [edi + eax + 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 - 0xec], edi
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0xfc], edi
mov edi, dword [ebp - 0x104]
cmp dword [ebp - 0xec], edi
mov edi, dword [ebp + 8]
jne 0x1002a7a4
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0xfc], edi
mov edi, dword [ebp + 8]
jne 0x1002a7a4
mov eax, dword [eax]
cmp eax, dword [esi + 0x198]
je 0x1002a7b4
mov eax, dword [ebp - 0x18]
inc edx
add eax, 0x20
mov dword [ebp - 0x18], eax
cmp edx, ecx
jb 0x1002a766
jmp 0x1002a849
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xec]
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.100088da
mov dword [ebp - 4], 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x1002a80e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x168]
call fcn.10003da0
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x168]
mov ecx, dword [esi + 0x1b0]
call fcn.1000d0e0
lea ecx, [ebp - 0x168]
call fcn.10003b9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.10003b9e
mov ecx, esi
call fcn.1002dcef
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0xf8]
mov ecx, dword [esi + 0x20c]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x210]
sub eax, ecx
inc dword [ebp - 0xf0]
cdq
idiv dword [ebp - 0xf8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf4]
jb 0x1002a704
jmp 0x10029e34
xor al, al
call fcn.1003d38f
ret 8