Function at 0x10018601
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x1006af86
call fcn.10035d00
mov esi, ecx
mov dword [ebp - 0xa4], esi
xor ecx, ecx
lea edi, [ebp - 0x50]
mov dword [ebp - 0x90], 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 - 0x50], ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov al, byte [esi + 0x13a]
mov byte [esi + 0x13c], al
mov eax, dword [esi + 0x114]
mov dword [esi + 0x144], eax
mov ax, word [esi + 0x136]
mov word [esi + 0x13e], ax
mov ax, word [esi + 0x138]
mov word [esi + 0x140], ax
lea eax, [esi + 0xd8]
cmp dword [eax + 0x14], 0x10
jb 0x1001867a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000289a
mov byte [ebp - 4], 1
lea edx, [ebp - 0x80]
mov ecx, dword [esi + 8]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.1000274f
cmp byte [esi + 0x13c], 0
movzx eax, word [esi + 0x140]
push eax
movzx eax, word [esi + 0x13e]
push eax
je 0x10018707
movaps xmm0, xmmword [0x10080bc0]
xor edx, edx
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0xd40010c
mov byte [ebp - 0x6c], 0
mov cl, byte [ebp - 0x80]
xor byte [ebp + edx - 0x7f], cl
inc edx
cmp edx, 0x13
jb 0x100186d3
sub esp, 0x18
mov byte [ebp - 0x6c], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.1000289a
lea eax, [ebp - 0x44]
push eax
call fcn.10007288
add esp, 0x24
xor ecx, ecx
mov byte [ebp - 4], 2
inc ecx
jmp 0x10018759
mov dl, 0x3a
mov dword [ebp - 0x1c], 0x1a5e1f3a
mov dword [ebp - 0x18], 0x1f1a5c55
xor ecx, ecx
mov word [ebp - 0x14], 0x5e
xor byte [ebp + ecx - 0x1b], dl
inc ecx
cmp ecx, 8
jae 0x1001872e
mov dl, byte [ebp - 0x1c]
jmp 0x1001871f
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.1000289a
lea eax, [ebp - 0xbc]
push eax
call fcn.10007288
add esp, 0x24
push 2
mov dword [ebp - 4], 3
pop ecx
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
jb 0x1001876d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000289a
mov dword [ebp - 4], 4
lea edx, [ebp - 0x68]
mov ecx, dword [esi + 0xc]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.1000274f
mov eax, dword [ebp - 0x8c]
test al, 2
je 0x100187bc
push 0
and eax, 0xfffffffd
lea ecx, [ebp - 0xbc]
push 1
mov dword [ebp - 0x8c], eax
call fcn.1000274f
mov eax, dword [ebp - 0x8c]
and dword [ebp - 4], 0
test al, 1
je 0x100187d0
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.1000274f
xor al, al
mov byte [ebp - 0x81], al
movzx edx, al
imul ecx, edx, 0x18
mov dword [ebp - 0x90], edx
movzx eax, word [esi + edx*2 + 0x124]
mov dword [ebp - 0x88], ecx
mov dword [ecx + esi + 0x44], eax
lea eax, [edx + 3]
imul edx, eax, 0x18
mov eax, dword [ebp - 0x90]
mov ax, word [esi + eax*2 + 0x12a]
mov dword [ebp - 0x8c], edx
mov word [edx + esi], ax
mov al, byte [esi + 0x13b]
mov byte [ecx + esi + 0x4a], al
mov ecx, dword [ecx + esi + 0x44]
call fcn.10007692
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100189b1
mov ecx, dword [ebp - 0x8c]
mov dl, 0x5f
movzx ecx, word [ecx + esi]
push ecx
mov dword [ebp - 0x60], 0x312a175f
xor ecx, ecx
mov dword [ebp - 0x5c], 0x7f727f2b
mov dword [ebp - 0x58], 0x7f707f6f
mov word [ebp - 0x54], 0x3b7a
mov byte [ebp - 0x52], 0
xor byte [ebp + ecx - 0x5f], dl
inc ecx
cmp ecx, 0xd
jae 0x10018872
mov dl, byte [ebp - 0x60]
jmp 0x10018863
sub esp, 0x18
mov byte [ebp - 0x52], 0
lea eax, [ebp - 0x5f]
mov ecx, esp
push eax
call fcn.1000289a
lea eax, [ebp - 0xd8]
push eax
call fcn.10007288
add esp, 0x20
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1001889f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000289a
mov ecx, dword [ebp - 0x88]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 6
mov ecx, dword [ecx + esi + 0x50]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.1000274f
push 0
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.1000274f
mov eax, dword [ebp - 0x88]
or edx, 0xffffffff
mov ecx, dword [eax + esi + 0x50]
call fcn.1000c401
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + esi + 0x54]
call fcn.1000c209
mov eax, dword [ebp - 0x90]
xorps xmm3, xmm3
pop ecx
xorps xmm2, xmm2
movzx eax, word [esi + eax*2 + 0x130]
movd xmm1, eax
mov eax, dword [ebp - 0x88]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + esi + 0x54]
call fcn.1000c25e
mov eax, dword [ebp - 0xa0]
add eax, 4
cmp dword [eax + 0x14], 0x10
jb 0x1001894e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000289a
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 7
mov ecx, dword [eax + esi + 0x58]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.1000274f
and dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov ecx, 0x35a4fc88
mov byte [ebp - 4], 8
call fcn.10007606
test eax, eax
je 0x10018b84
push 0x35a4fc88
jmp 0x10018b5b
mov eax, dword [ebp - 0x88]
cmp dword [eax + esi + 0x44], 1
jne 0x10018bbc
cmp byte [eax + esi + 0x4a], 0
je 0x10018bbc
mov eax, dword [ebp - 0x8c]
mov dl, 0x14
xor ecx, ecx
movzx eax, word [eax + esi]
push eax
mov dword [ebp - 0x28], 0x3b342414
mov dword [ebp - 0x24], 0x703134
xor byte [ebp + ecx - 0x27], dl
inc ecx
cmp ecx, 6
jae 0x100189f9
mov dl, byte [ebp - 0x28]
jmp 0x100189ea
sub esp, 0x18
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.1000289a
lea eax, [ebp - 0xd8]
push eax
call fcn.10007288
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + esi + 0x50]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.1000274f
mov eax, dword [ebp - 0x88]
or edx, 0xffffffff
mov ecx, dword [eax + esi + 0x50]
call fcn.1000c401
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + esi + 0x54]
call fcn.1000c209
mov eax, dword [ebp - 0x90]
xorps xmm3, xmm3
pop ecx
xorps xmm2, xmm2
movzx eax, word [esi + eax*2 + 0x130]
movd xmm1, eax
mov eax, dword [ebp - 0x88]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + esi + 0x54]
call fcn.1000c25e
mov eax, dword [ebp - 0x88]
xor ecx, ecx
cmp byte [eax + esi + 0x4a], 1
jne 0x10018ad7
mov dl, 0x45
mov dword [ebp - 0x38], 0x29007945
mov dword [ebp - 0x34], 0x372a0865
mov dword [ebp - 0x30], 0x7b2124
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 0xa
jae 0x10018ace
mov dl, byte [ebp - 0x38]
jmp 0x10018abf
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x37]
jmp 0x10018b01
mov dl, 0x1f
mov dword [ebp - 0x1c], 0x7e54231f
mov dword [ebp - 0x18], 0x216c6a6d
mov byte [ebp - 0x14], 0
xor byte [ebp + ecx - 0x1b], dl
inc ecx
cmp ecx, 7
jae 0x10018afa
mov dl, byte [ebp - 0x1c]
jmp 0x10018aeb
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1b]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000289a
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax + esi + 0x58]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.1000274f
and dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov ecx, 0x35a50840
mov byte [ebp - 4], 0xb
call fcn.10007606
test eax, eax
je 0x10018b84
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0xd8]
call fcn.100076ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.100046b8
push 0
push 1
lea ecx, [ebp - 0xd8]
call fcn.1000274f
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x80]
mov ecx, dword [eax + esi + 0x4c]
call fcn.1000c036
mov eax, dword [ebp - 0x90]
mov dl, 1
mov ecx, dword [esi + eax*4 + 0x24]
call fcn.1000bb59
push 0
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.1000274f
jmp 0x10018d9b
mov eax, dword [ebp - 0x90]
xor dl, dl
mov ecx, dword [esi + eax*4 + 0x24]
call fcn.1000bb59
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
sub esp, 0x18
mov word [ebp - 0x94], 0x4f
lea eax, [ebp - 0x93]
mov byte [ebp - 0x93], 0
mov ecx, esp
push eax
call fcn.1000289a
lea eax, [ebp - 0xd8]
push eax
call fcn.10007288
add esp, 0x20
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10018c14
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000289a
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
mov ecx, dword [eax + esi + 0x50]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.1000274f
push 0
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.1000274f
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax + esi]
push eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + esi + 0x54]
call fcn.1000c209
mov eax, dword [ebp - 0x90]
xorps xmm3, xmm3
pop ecx
xorps xmm2, xmm2
movzx eax, word [esi + eax*2 + 0x130]
movd xmm1, eax
mov eax, dword [ebp - 0x88]
cvtdq2ps xmm1, xmm1
mov ecx, dword [eax + esi + 0x54]
call fcn.1000c25e
lea eax, [ebp - 0x97]
mov word [ebp - 0x98], 0x16
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x97], 0
call fcn.1000289a
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax + esi + 0x58]
call fcn.1000c3bb
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.1000274f
lea eax, [ebp - 0x9b]
mov word [ebp - 0x9c], 0x32
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x9b], 0
call fcn.1000289a
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xf
mov ecx, dword [eax + esi + 0x4c]
call fcn.1000c036
push 0
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.1000274f
lea eax, [ebp - 0x81]
cmp eax, edi
jae 0x10018d76
cmp ebx, eax
ja 0x10018d76
sub eax, ebx
mov dword [ebp - 0xa0], eax
cmp edi, dword [ebp - 0x48]
jne 0x10018d6d
push 1
lea ecx, [ebp - 0x50]
call fcn.100074f2
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xa0]
test edi, edi
je 0x10018d97
mov al, byte [ebx + eax]
jmp 0x10018d95
cmp edi, dword [ebp - 0x48]
jne 0x10018d8b
push 1
lea ecx, [ebp - 0x50]
call fcn.100074f2
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x10018d97
mov al, byte [ebp - 0x81]
mov byte [edi], al
inc edi
mov dword [ebp - 0x4c], edi
mov al, byte [ebp - 0x81]
inc al
mov byte [ebp - 0x81], al
cmp al, 3
jb 0x100187d8
cmp ebx, edi
je 0x10018e5a
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.1000ba75
mov ecx, dword [ebp - 0xa4]
mov esi, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx + edi*4 + 0x24]
call fcn.1000ba75
push esi
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0x24], edx
mov edx, eax
mov ecx, dword [esi + 0x30]
call fcn.1000bb10
pop ecx
mov ecx, dword [esi]
lea eax, [ebp - 0x20]
push eax
call fcn.1000b996
mov esi, eax
lea edi, [ebp - 0x60]
pop ecx
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x78]
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.1000b996
mov esi, eax
lea edi, [ebp - 0x3c]
pop ecx
lea edx, [ebp - 0x60]
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 - 0x30]
mov dword [ebp - 0x54], eax
mov ecx, dword [esi]
call fcn.1000b9e7
mov ecx, dword [ebp - 0xa0]
inc ebx
cmp ebx, dword [ebp - 0x4c]
jne 0x10018dc3
jmp 0x10018ec4
mov ecx, dword [esi + 0x2c]
call fcn.1000ba75
mov ebx, dword [ebp - 0xa4]
mov esi, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0x2c]
call fcn.1000ba75
lea ecx, [esi + 0x32]
mov dword [ebp - 0x24], edx
push ecx
mov ecx, dword [ebx + 0x30]
mov edx, eax
call fcn.1000bb10
pop ecx
mov ecx, dword [ebx]
lea eax, [ebp - 0x78]
push eax
call fcn.1000b996
mov esi, eax
lea edi, [ebp - 0x60]
pop ecx
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 0x78]
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.1000b996
mov esi, eax
lea edi, [ebp - 0x3c]
pop ecx
lea edx, [ebp - 0x60]
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 - 0x30]
mov esi, ebx
mov dword [ebp - 0x54], eax
mov ecx, dword [esi]
call fcn.1000b9e7
mov eax, dword [esi + 0xfc]
mov ecx, esi
movss xmm0, dword [esi + 0x118]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x104]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
movss dword [ebp - 0x38], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [esi + 0x11c]
push eax
movss dword [ebp - 0x34], xmm0
lea eax, [ebp - 0x2c]
movss xmm0, dword [esi + 0x120]
push eax
movss dword [ebp - 0x30], xmm0
call fcn.100194e2
mov ecx, dword [esi + 0x18]
xor dl, dl
mov byte [esi + 0xd4], 1
call fcn.1000bb59
mov ecx, dword [esi + 0x14]
mov dl, 1
call fcn.1000bb59
mov ecx, dword [esi + 0x20]
mov dl, 1
call fcn.1000bb59
mov ecx, dword [esi + 0x30]
mov dl, 1
call fcn.1000bb59
mov ecx, esi
call fcn.100181b6
mov ecx, esi
call fcn.100174bf
cmp byte [esi + 0xd4], 0
je 0x10018f83
mov ecx, dword [esi]
mov dl, 1
call fcn.1000bb59
lea ecx, [ebp - 0x50]
call fcn.1000754a
call fcn.10035caa
ret