Function at 0x1001c460
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf0
lea eax, [esp + 0x70]
push esi
push dword [esp + 0x100]
mov esi, dword [esp + 0x100]
push esi
push eax
call fcn.1001cef0
push esi
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x110]
call fcn.1001cb70
add esp, 0x1c
test eax, eax
jne 0x1001cb61
mov edx, dword [esp + 0xc]
mov eax, edx
shr eax, 0x10
mov word [esp + 4], ax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
push ebx
movzx ebx, dx
shrd eax, edx, 0x10
push ebp
mov ebp, dword [esp + 0x2c]
push edi
movzx edi, ax
shr ebp, 0x10
mov eax, edi
xor eax, ebx
shr edx, 0x10
xor eax, ebp
mov edx, dword [esp + 0x20]
xor eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
shrd eax, ecx, 0x10
mov esi, eax
shr ecx, 0x10
xor esi, dword [esp + 0x40]
xor esi, edi
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x1c]
xor esi, ebx
xor esi, dword [esp + 0x10]
mov eax, edx
xor esi, edi
mov ecx, edi
shrd ecx, eax, 0x10
mov dword [esp + 0x50], esi
xor esi, dword [esp + 0x30]
xor esi, ecx
shr eax, 0x10
mov eax, dword [esp + 0x10]
xor esi, ebx
mov ebx, esi
mov dword [esp + 0x34], esi
xor ebx, eax
xor ebx, edi
mov dword [esp + 0x34], ebx
mov esi, ebx
mov dword [esp + 0x10], esi
movzx ebx, dx
xor dword [esp + 0x10], ebx
xor dword [esp + 0x10], ecx
xor dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x10]
xor ebp, eax
shr edx, 0x10
xor ebp, edi
mov dword [esp + 0x10], ebp
mov ebp, edx
mov eax, edx
xor eax, ebx
mov ebx, dword [esp + 0x24]
xor eax, ecx
mov ecx, dword [esp + 0x10]
xor ecx, eax
xor ecx, dword [esp + 0x40]
xor ecx, edi
mov edi, dword [esp + 0x28]
mov esi, ecx
mov dword [esp + 0x48], ecx
xor esi, dword [esp + 0x50]
mov ecx, ebx
xor esi, ebx
xor esi, eax
mov eax, edi
shrd ecx, eax, 0x10
mov dword [esp + 0x54], esi
shr eax, 0x10
xor esi, dword [esp + 0x34]
movzx edx, cx
xor esi, ebx
movzx eax, di
xor esi, edx
shr edi, 0x10
xor esi, ebp
xor esi, dword [esp + 0x20]
mov dword [esp + 0x58], esi
xor esi, dword [esp + 0x10]
xor esi, ebx
xor esi, eax
xor esi, edx
xor esi, ebp
mov ebp, edi
mov dword [esp + 0x4c], esi
mov ecx, ebp
xor ecx, eax
xor esi, dword [esp + 0x48]
mov eax, ecx
xor esi, ebx
xor eax, edx
mov ebx, dword [esp + 0x58]
xor esi, eax
mov dword [esp + 0x38], esi
xor esi, dword [esp + 0x54]
xor esi, eax
mov eax, dword [esp + 0x2c]
xor esi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], esi
xor esi, ebx
xor esi, ecx
xor esi, dword [esp + 0x3c]
xor esi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
movzx eax, ax
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x34]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x50]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x40]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x4c]
movzx eax, ax
cdq
mov dword [esp + 0x1c], ecx
mov edi, edx
mov ecx, eax
movzx eax, bx
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x54]
shld edi, ecx, 0x10
movzx eax, ax
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x48]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov dword [esp + 0x28], edi
mov eax, esi
mov dword [esp + 0x24], ecx
xor eax, dword [esp + 0x4c]
xor eax, ebp
xor eax, dword [esp + 0x30]
xor eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x2c]
movzx eax, ax
cdq
mov ecx, eax
mov edi, edx
shld edi, ecx, 0x10
movzx eax, si
mov esi, dword [esp + 0x108]
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x44]
shld edi, ecx, 0x10
movzx eax, ax
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x38]
shld edi, ecx, 0x10
movzx eax, ax
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
mov edx, dword [esp + 0x10c]
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, eax
sub edx, ecx
mov dword [esp + 0x30], edi
mov ecx, 2
lea ebx, [ebx]
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
movdqu xmm1, xmmword [edx + eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
dec ecx
jne 0x1001c710
mov edx, dword [esp + 0x18]
mov ebx, edx
mov ecx, dword [esp + 0x14]
mov ebp, ecx
mov eax, dword [esp + 0x30]
shr eax, 0x10
mov edi, dword [esp + 0x1c]
shr edx, 0x10
xor dx, ax
xor dx, word [esp + 0x18]
shrd ebp, ebx, 0x10
xor dx, bp
shr ebx, 0x10
xor dx, cx
xor ecx, ecx
xor dx, word [esp + 0x2c]
or ecx, ebp
movzx eax, dx
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x2c]
movzx eax, di
cdq
shl eax, 0x10
or eax, ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
shrd edi, ecx, 0x10
movzx eax, bx
cdq
shl eax, 0x10
xor edx, edx
shr ecx, 0x10
or edx, edi
or eax, ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
shrd ebx, ecx, 0x10
movzx eax, bp
cdq
shl eax, 0x10
xor edx, edx
shr ecx, 0x10
or edx, ebx
or eax, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
xor ecx, ecx
mov eax, dword [esp + 0x38]
movzx eax, ax
cdq
mov edx, dword [esp + 0x30]
shrd ebp, edx, 0x10
shl eax, 0x10
shr edx, 0x10
or ecx, ebp
or eax, edx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, esi
sub edx, esi
mov ecx, 2
jmp 0x1001c800
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
movdqu xmm1, xmmword [edx + eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
dec ecx
jne 0x1001c800
mov dword [esp + 0x3c], 5
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 4]
mov ebx, ecx
mov edx, dword [esi]
movzx edi, cx
mov dword [esp + 0x6c], eax
shr eax, 0x10
mov ebp, eax
mov dword [esp + 0x64], ecx
movzx eax, word [esi + 0x18]
shrd edx, ecx, 0x10
shr ebx, 0x10
xor eax, edx
shr ecx, 0x10
xor eax, edi
mov ecx, dword [esi + 0x1c]
xor eax, ebx
mov dword [esp + 0x38], ebp
xor eax, ebp
movzx ebp, word [esi + 8]
xor ax, word [esi]
mov word [esp + 0x14], ax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x18]
shrd eax, ecx, 0x10
shr ecx, 0x10
mov ecx, dword [esp + 0x14]
xor ecx, ebp
mov dword [esp + 0x44], eax
xor ecx, eax
xor ecx, edx
mov edx, dword [esi + 0xc]
xor ecx, edi
mov dword [esp + 0x74], edx
xor ecx, ebx
mov eax, edx
mov word [esp + 0x16], cx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 8]
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, dword [esp + 0x16]
xor eax, ecx
xor eax, dword [esp + 0x6c]
xor eax, ebp
xor eax, edi
xor eax, ebx
mov word [esp + 0x18], ax
mov dword [esp + 0x58], eax
movzx eax, dx
mov edi, eax
shr edx, 0x10
xor edi, dword [esp + 0x18]
xor edi, ecx
xor edi, ebp
xor edi, ebx
mov ebx, edx
xor edi, dword [esp + 0x38]
mov edx, dword [esi + 0x14]
mov word [esp + 0x1a], di
mov dword [esp + 0x38], edi
mov edi, ebx
xor edi, eax
mov dword [esp + 0x7c], edx
mov eax, edi
xor eax, ecx
mov ecx, eax
xor ecx, dword [esp + 0x1a]
xor ecx, dword [esp + 0x14]
xor ecx, ebp
movzx ebp, word [esi + 0x10]
mov dword [esp + 0x34], ecx
mov word [esp + 0x1c], cx
mov ecx, ebp
xor ecx, eax
mov eax, edx
xor ecx, dword [esp + 0x1c]
xor ecx, dword [esp + 0x16]
mov dword [esp + 0x40], ecx
mov word [esp + 0x1e], cx
mov ecx, dword [esi + 0x10]
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ecx
xor eax, ebp
xor eax, edi
xor eax, dword [esp + 0x1e]
xor eax, dword [esp + 0x18]
mov word [esp + 0x20], ax
mov dword [esp + 0x50], eax
movzx eax, dx
mov edi, eax
shr edx, 0x10
xor edi, ecx
xor edi, ebp
xor edi, ebx
mov ebx, edx
xor edi, dword [esp + 0x20]
xor edx, eax
xor edi, dword [esp + 0x1a]
mov eax, edx
xor eax, ecx
mov word [esp + 0x22], di
mov ecx, eax
mov dword [esp + 0x54], edi
xor ecx, ebp
xor ecx, dword [esp + 0x22]
xor ecx, dword [esp + 0x1c]
mov word [esp + 0x24], cx
xor eax, dword [esp + 0x24]
xor eax, dword [esp + 0x1e]
mov dword [esp + 0x5c], ecx
movzx ecx, word [esi + 0x18]
xor eax, ecx
mov word [esp + 0x26], ax
xor edx, dword [esp + 0x26]
xor edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
xor edx, eax
xor edx, ecx
mov word [esp + 0x28], dx
xor ebx, dword [esp + 0x28]
xor ebx, dword [esp + 0x22]
xor ebx, dword [esp + 0x6c]
xor ebx, eax
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x18]
xor ebx, ecx
mov dword [esi], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
movzx eax, ax
cdq
mov ecx, eax
mov word [esp + 0x2a], bx
mov eax, dword [esp + 0x58]
mov edi, edx
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x4c]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x48]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x54]
or edi, edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
movzx eax, ax
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x50]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x40]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x34]
shld edi, ecx, 0x10
movzx eax, ax
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ecx
movzx eax, bx
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x44]
shld edi, ecx, 0x10
movzx eax, ax
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x10]
shld edi, ecx, 0x10
movzx eax, ax
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x5c]
shld edi, ecx, 0x10
movzx eax, ax
shl ecx, 0x10
cdq
or ecx, eax
or edi, edx
dec dword [esp + 0x3c]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
jne 0x1001c822
mov ecx, dword [esi + 4]
mov edi, ecx
mov eax, dword [esi + 0x1c]
movzx ebp, word [esi + 0x18]
mov ebx, dword [esi]
shr eax, 0x10
mov dword [esp + 0x64], ecx
shr ecx, 0x10
xor cx, word [esp + 0x64]
xor cx, ax
xor cx, bp
xor cx, word [esi]
shrd ebx, edi, 0x10
xor cx, bx
shr edi, 0x10
movzx eax, cx
xor ecx, ecx
mov dword [esp + 0x5c], eax
or ecx, ebx
movzx eax, word [esi + 8]
cdq
shl eax, 0x10
or eax, edi
mov dword [esi], ecx
mov ecx, dword [esi + 8]
xor edi, edi
mov dword [esi + 4], eax
movzx eax, word [esi + 0x10]
cdq
mov edx, dword [esi + 0xc]
shrd ecx, edx, 0x10
shl eax, 0x10
shr edx, 0x10
or edi, ecx
mov ecx, dword [esi + 0x10]
or eax, edx
mov ebx, dword [esi + 0x18]
mov dword [esi + 0xc], eax
mov eax, ebp
cdq
mov edx, dword [esi + 0x14]
shrd ecx, edx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, edx
mov dword [esi + 8], edi
mov dword [esi + 0x14], eax
xor edi, edi
mov eax, dword [esp + 0x5c]
or edi, ecx
movzx eax, ax
xor ecx, ecx
cdq
mov edx, dword [esi + 0x1c]
shrd ebx, edx, 0x10
shl eax, 0x10
shr edx, 0x10
or ecx, ebx
mov dword [esi + 0x10], edi
or eax, edx
pop edi
pop ebp
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x18], ecx
pop ebx
pop esi
add esp, 0xf0
ret