Function at 0x42f8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
test eax, eax
mov dword [esp + 0xc], eax
je 0x42fb5a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42fb52
mov ebx, dword [ebp + 0xc]
xor edi, edi
lea esi, [esp + 0x140]
jmp 0x42f915
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
inc edi
sub ecx, eax
add ebx, eax
test ecx, ecx
je 0x42fb52
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
xorps xmm0, xmm0
mov dword [esp + 8], edi
mov edi, esi
lea esi, [esp + 0xe0]
mov edx, dword [esp + 0x14]
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
cmp ecx, eax
cmovb eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
movsd xmm1, qword [ecx + 0x30]
movsd xmm2, qword [ecx + 0x28]
movsd xmm0, qword [ecx + 0x38]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [ecx + 0x18]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esi + 0x18], xmm2
movsd xmm2, qword [ecx]
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [ecx + 8]
movsd qword [esi], xmm2
movsd qword [esi + 8], xmm1
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x128], ecx
mov dword [esp + 0x130], 0
lea ecx, [esp + 0x60]
push dword [ebp + 8]
call fcn.0042fcf0
add esp, 4
mov eax, dword [esp + 8]
mov edx, edi
lea ecx, [esp + 0x60]
bswap eax
mov dword [esp + 0x140], eax
push 4
call fcn.0042fcf0
add esp, 4
push 0xd8
lea eax, [esp + 0x64]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x208]
lea edx, [esp + 0x218]
mov ecx, 0x14
mov edi, edx
mov eax, dword [eax + 0x50]
rep movsd dword es:[edi], dword [esi]
cmp eax, 0x80
ja 0x42fb5a
lea ecx, [esp + 0x1c]
push dword [esp + 0x210]
push eax
lea esi, [esp + 0x148]
push esi
call fcn.0042ff00
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x48]
cmp ecx, 0x40
ja 0x42fb5a
mov edi, dword [esp + 8]
test ecx, ecx
je 0x42f900
mov eax, dword [esp + 4]
cmp eax, ecx
cmovb ecx, eax
cmp ecx, 1
mov eax, ecx
adc eax, 0
xor edx, edx
cmp ecx, 8
jb 0x42fb40
xor edx, edx
cmp ecx, 0x20
jb 0x42fafc
mov edx, eax
xor esi, esi
and edx, 0x60
nop word cs:[eax + eax]
nop
movups xmm0, xmmword [esp + esi + 0x20]
movups xmm2, xmmword [ebx + esi]
movups xmm1, xmmword [esp + esi + 0x30]
movups xmm3, xmmword [ebx + esi + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [ebx + esi], xmm2
movups xmmword [ebx + esi + 0x10], xmm3
add esi, 0x20
cmp edx, esi
jne 0x42fac0
cmp ecx, edx
lea esi, [esp + 0x140]
je 0x42f900
test al, 0x18
je 0x42fb40
mov esi, edx
mov edx, eax
and edx, 0x78
nop word cs:[eax + eax]
nop dword [eax]
movsd xmm0, qword [esp + esi + 0x20]
movsd xmm1, qword [ebx + esi]
xorps xmm1, xmm0
movlps qword [ebx + esi], xmm1
add esi, 8
cmp edx, esi
jne 0x42fb10
cmp ecx, edx
lea esi, [esp + 0x140]
je 0x42f900
nop dword [eax + eax]
movzx ecx, byte [esp + edx + 0x20]
xor byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x42fb40
jmp 0x42f900
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2