Function at 0x10020520
Capabilities:
Encode data using xor

Disassembly:
push 0xa4
mov eax, 0x10037686
call fcn.10035531
mov esi, ecx
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xec]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10020c8b
movzx eax, word [esi + 0xf6]
xor ebx, ebx
movaps xmm0, xmmword [0x1003f340]
mov edx, ebx
push eax
movzx eax, word [esi + 0xf4]
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x236268
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x12
jb 0x10020620
sub esp, 0x18
mov byte [ebp - 0x15], bl
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10002845
lea eax, [ebp - 0x58]
push eax
call fcn.10004ac0
add esp, 0x24
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x10020655
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002845
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, dword [esi + 0x50]
call fcn.10009ed2
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.100026f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.100026f1
mov cl, 0x6b
mov byte [ebp - 0x6e], bl
mov al, 0x46
mov byte [ebp - 0x70], cl
xor al, cl
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x6f], al
lea eax, [ebp - 0x6f]
push eax
call fcn.10002845
mov dword [ebp - 4], 2
lea edx, [ebp - 0x40]
mov ecx, dword [esi + 0x54]
call fcn.10009ed2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.100026f1
movsd xmm0, qword [0x1003ece0]
mov edx, ebx
push ecx
push ecx
movsd qword [esp], xmm0
movaps xmm0, xmmword [0x1003efb0]
movups xmmword [ebp - 0x80], xmm0
mov cl, byte [ebp - 0x80]
xor byte [ebp + edx - 0x7f], cl
inc edx
cmp edx, 0xe
jb 0x100206df
sub esp, 0x18
mov byte [ebp - 0x71], bl
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.10002845
lea eax, [ebp - 0xb0]
push eax
call fcn.10004ac0
add esp, 0x24
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1002071b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98]
call fcn.10002845
mov byte [ebp - 4], 4
lea edx, [ebp - 0x98]
mov ecx, dword [esi + 0x58]
call fcn.10009ed2
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.100026f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
push ebx
push 1
call fcn.100026f1
mov ecx, esi
call fcn.100200ce
mov ecx, dword [esi]
mov dl, 1
call fcn.10009671
mov byte [esi + 0xfa], 1
call fcn.100354db
ret