Function at 0x1002772f
Capabilities:
Encode data using xor

Disassembly:
push 0xb4
mov eax, 0x10077c4d
call fcn.1004605f
mov esi, ecx
mov dword [ebp - 0xa4], esi
xor ecx, ecx
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x8c], ecx
xor eax, eax
stosd dword es:[edi], eax
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], ecx
lea edx, [esi + 0xd8]
mov al, byte [esi + 0x13a]
mov ecx, dword [esi + 8]
mov byte [esi + 0x140], al
mov eax, dword [esi + 0x114]
mov dword [esi + 0x148], eax
mov ax, word [esi + 0x136]
mov word [esi + 0x142], ax
mov ax, word [esi + 0x138]
mov word [esi + 0x144], ax
call fcn.10010c45
cmp byte [esi + 0x140], 0
movzx eax, word [esi + 0x144]
push eax
movzx eax, word [esi + 0x142]
push eax
je 0x1002780f
movaps xmm0, xmmword [0x1008ea20]
xor ecx, ecx
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0x7e33727f
mov byte [ebp - 0x68], 0
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x13
jb 0x100277d9
sub esp, 0x18
mov byte [ebp - 0x68], 0
lea eax, [ebp - 0x7b]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0x64]
push eax
call fcn.10007414
add esp, 0x24
mov edx, eax
xor eax, eax
mov byte [ebp - 4], 1
inc eax
jmp 0x1002785f
mov cl, 7
mov dword [ebp - 0x20], 0x27632207
mov dword [ebp - 0x1c], 0x22276168
xor eax, eax
mov word [ebp - 0x18], 0x63
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 8
jae 0x10027836
mov cl, byte [ebp - 0x20]
jmp 0x10027827
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xbc]
push eax
call fcn.10007414
add esp, 0x24
mov edx, eax
push 2
pop eax
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
call fcn.10010c45
mov eax, dword [ebp - 0x88]
test al, 2
je 0x1002789b
push 0
and eax, 0xfffffffd
lea ecx, [ebp - 0xbc]
push 1
mov dword [ebp - 0x88], eax
call fcn.10001e1f
mov eax, dword [ebp - 0x88]
and dword [ebp - 4], 0
test al, 1
je 0x100278af
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.10001e1f
xor al, al
mov byte [ebp - 0x7d], al
movzx edx, al
imul ecx, edx, 0x18
mov dword [ebp - 0x88], edx
movzx eax, word [esi + edx*2 + 0x124]
mov dword [ebp - 0x84], ecx
mov dword [ecx + esi + 0x44], eax
lea eax, [edx + 3]
imul eax, eax, 0x18
mov dword [ebp - 0x8c], eax
mov ax, word [esi + edx*2 + 0x12a]
mov edx, dword [ebp - 0x8c]
mov word [edx + esi], ax
mov al, byte [esi + 0x13b]
mov byte [ecx + esi + 0x4a], al
mov ecx, dword [ecx + esi + 0x44]
mov byte [ebp - 0x8d], al
call fcn.10008886
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10027a3b
mov eax, dword [ebp - 0x8c]
movzx ecx, word [eax + esi]
xor eax, eax
push ecx
mov cl, 0x35
mov dword [ebp - 0x5c], 0x5b407d35
mov dword [ebp - 0x58], 0x15181541
mov dword [ebp - 0x54], 0x151a1505
mov word [ebp - 0x50], 0x5110
mov byte [ebp - 0x4e], 0
xor byte [ebp + eax - 0x5b], cl
inc eax
cmp eax, 0xd
jae 0x10027954
mov cl, byte [ebp - 0x5c]
jmp 0x10027945
sub esp, 0x18
mov byte [ebp - 0x4e], 0
lea eax, [ebp - 0x5b]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xbc]
push eax
call fcn.10007414
add esp, 0x20
mov ecx, dword [ebp - 0x84]
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [ecx + esi + 0x50]
call fcn.10010c45
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.10001e1f
mov eax, dword [ebp - 0x84]
or edx, 0xffffffff
mov ecx, dword [eax + esi + 0x50]
call fcn.10010cf9
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + esi + 0x54]
call fcn.10010a4d
mov eax, dword [ebp - 0x88]
xorps xmm3, xmm3
pop ecx
xorps xmm2, xmm2
movzx eax, word [esi + eax*2 + 0x130]
movd xmm1, eax
mov eax, dword [ebp - 0x84]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + esi + 0x54]
call fcn.10010aa2
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [eax + esi + 0x58]
lea edx, [edx + 4]
call fcn.10010c45
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov ecx, 0x35a4fc88
mov byte [ebp - 4], 4
call fcn.100087f9
test eax, eax
je 0x10027c0b
push 0x35a4fc88
jmp 0x10027be2
cmp ecx, 1
jne 0x10027c43
cmp byte [ebp - 0x8d], 0
je 0x10027c43
mov eax, dword [ebp - 0x8c]
mov cl, 0x1d
movzx eax, word [eax + esi]
push eax
mov dword [ebp - 0x2c], 0x323d2d1d
xor eax, eax
mov dword [ebp - 0x28], 0x79383d
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 6
jae 0x10027a7d
mov cl, byte [ebp - 0x2c]
jmp 0x10027a6e
sub esp, 0x18
mov byte [ebp - 0x25], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xbc]
push eax
call fcn.10007414
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + esi + 0x50]
call fcn.10010c45
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.10001e1f
mov eax, dword [ebp - 0x84]
or edx, 0xffffffff
mov ecx, dword [eax + esi + 0x50]
call fcn.10010cf9
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + esi + 0x54]
call fcn.10010a4d
mov eax, dword [ebp - 0x88]
xorps xmm3, xmm3
pop ecx
xorps xmm2, xmm2
movzx eax, word [esi + eax*2 + 0x130]
movd xmm1, eax
mov eax, dword [ebp - 0x84]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + esi + 0x54]
call fcn.10010aa2
mov eax, dword [ebp - 0x84]
cmp byte [eax + esi + 0x4a], 1
jne 0x10027b5c
xor edx, edx
mov dword [ebp - 0x3c], 0x5079003c
mov cl, 0x3c
mov dword [ebp - 0x38], 0x4e53711c
mov dword [ebp - 0x34], 0x2585d
mov eax, edx
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xa
jae 0x10027b54
mov cl, byte [ebp - 0x3c]
jmp 0x10027b45
mov byte [ebp - 0x31], dl
lea eax, [ebp - 0x3b]
jmp 0x10027b88
mov cl, 0x70
mov dword [ebp - 0x20], 0x113b4c70
mov dword [ebp - 0x1c], 0x4e030502
xor eax, eax
mov byte [ebp - 0x18], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 7
jae 0x10027b81
mov cl, byte [ebp - 0x20]
jmp 0x10027b72
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10001f6a
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 6
mov ecx, dword [eax + esi + 0x58]
call fcn.10010c45
push 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.10001e1f
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov ecx, 0x35a50840
mov byte [ebp - 4], 7
call fcn.100087f9
test eax, eax
je 0x10027c0b
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.100089bb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.10003ac6
push 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.10001e1f
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x7c]
mov ecx, dword [eax + esi + 0x4c]
call fcn.10010909
mov eax, dword [ebp - 0x88]
mov dl, 1
mov ecx, dword [esi + eax*4 + 0x24]
call fcn.10010276
push 0
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.10001e1f
jmp 0x10027df1
mov eax, dword [ebp - 0x88]
xor dl, dl
mov ecx, dword [esi + eax*4 + 0x24]
call fcn.10010276
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
sub esp, 0x18
mov word [ebp - 0x94], 0x14
lea eax, [ebp - 0x93]
mov byte [ebp - 0x93], 0
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xbc]
push eax
call fcn.10007414
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + esi + 0x50]
call fcn.10010c45
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.10001e1f
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + esi + 0x54]
call fcn.10010a4d
mov eax, dword [ebp - 0x88]
xorps xmm3, xmm3
pop ecx
xorps xmm2, xmm2
movzx eax, word [esi + eax*2 + 0x130]
movd xmm1, eax
mov eax, dword [ebp - 0x84]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + esi + 0x54]
call fcn.10010aa2
lea eax, [ebp - 0x97]
mov word [ebp - 0x98], 0x28
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x97], 0
call fcn.10001f6a
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 9
mov ecx, dword [eax + esi + 0x58]
call fcn.10010c45
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.10001e1f
lea eax, [ebp - 0x9b]
mov word [ebp - 0x9c], 0x38
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x9b], 0
call fcn.10001f6a
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax + esi + 0x4c]
call fcn.10010909
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.10001e1f
lea eax, [ebp - 0x7d]
cmp eax, edi
jae 0x10027dcf
cmp ebx, eax
ja 0x10027dcf
sub eax, ebx
mov dword [ebp - 0xa0], eax
cmp edi, dword [ebp - 0x44]
jne 0x10027dc6
push 1
lea ecx, [ebp - 0x4c]
call fcn.100085ea
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0xa0]
test edi, edi
je 0x10027ded
mov al, byte [ebx + eax]
jmp 0x10027deb
cmp edi, dword [ebp - 0x44]
jne 0x10027de4
push 1
lea ecx, [ebp - 0x4c]
call fcn.100085ea
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x10027ded
mov al, byte [ebp - 0x7d]
mov byte [edi], al
inc edi
mov dword [ebp - 0x48], edi
mov al, byte [ebp - 0x7d]
inc al
mov byte [ebp - 0x7d], al
cmp al, 3
jb 0x100278b4
cmp ebx, edi
je 0x10027eaa
mov ecx, edi
sub ecx, ebx
mov dword [ebp - 0xa0], ecx
movzx eax, byte [ebx]
cmp ecx, 2
lea edi, [eax - 1]
cmovb edi, eax
mov ecx, dword [esi + edi*4 + 0x24]
call fcn.10010192
mov ecx, dword [ebp - 0xa4]
mov esi, edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ecx + edi*4 + 0x24]
call fcn.10010192
push esi
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0x28], edx
mov edx, eax
mov ecx, dword [esi + 0x30]
call fcn.1001022d
pop ecx
mov ecx, dword [esi]
lea eax, [ebp - 0x24]
push eax
call fcn.100100cd
mov esi, eax
lea edi, [ebp - 0x5c]
pop ecx
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x74]
push eax
movsd dword es:[edi], dword [esi]
mov ecx, dword [ecx + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100100cd
mov esi, eax
lea edi, [ebp - 0x40]
pop ecx
lea edx, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov ecx, dword [esi]
call fcn.1001011e
mov ecx, dword [ebp - 0xa0]
inc ebx
cmp ebx, dword [ebp - 0x48]
jne 0x10027e13
jmp 0x10027f14
mov ecx, dword [esi + 0x2c]
call fcn.10010192
mov ebx, dword [ebp - 0xa4]
mov esi, edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx + 0x2c]
call fcn.10010192
lea ecx, [esi + 0x32]
mov dword [ebp - 0x28], edx
push ecx
mov ecx, dword [ebx + 0x30]
mov edx, eax
call fcn.1001022d
pop ecx
mov ecx, dword [ebx]
lea eax, [ebp - 0x74]
push eax
call fcn.100100cd
mov esi, eax
lea edi, [ebp - 0x5c]
pop ecx
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 0x74]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100100cd
mov esi, eax
lea edi, [ebp - 0x40]
pop ecx
lea edx, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
mov esi, ebx
mov dword [ebp - 0x50], eax
mov ecx, dword [esi]
call fcn.1001011e
mov eax, dword [esi + 0xfc]
mov ecx, esi
movss xmm0, dword [esi + 0x118]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x104]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
movss dword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x20]
movss xmm0, dword [esi + 0x11c]
push eax
movss dword [ebp - 0x38], xmm0
lea eax, [ebp - 0x30]
movss xmm0, dword [esi + 0x120]
push eax
movss dword [ebp - 0x34], xmm0
call fcn.10028428
mov ecx, dword [esi + 0x18]
xor dl, dl
mov byte [esi + 0xd4], 1
call fcn.10010276
mov ecx, dword [esi + 0x14]
mov dl, 1
call fcn.10010276
mov ecx, dword [esi + 0x20]
mov dl, 1
call fcn.10010276
mov ecx, dword [esi + 0x30]
mov dl, 1
call fcn.10010276
mov ecx, esi
call fcn.100272fb
mov ecx, esi
call fcn.1002653d
cmp byte [esi + 0xd4], 0
je 0x10027fd3
mov ecx, dword [esi]
mov dl, 1
call fcn.10010276
lea ecx, [ebp - 0x4c]
call fcn.10008772
call fcn.10046009
ret