Function at 0x42e490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x310
mov eax, edx
mov dword [esp + 0xc], ecx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x28]
movsd xmm0, qword [eax + 0x38]
mov ecx, dword [eax + 0x50]
movsd xmm3, qword [eax]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esp + 0x38], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [esp + 0x48], xmm0
mov esi, ecx
cmp ecx, ebx
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x28], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x10], xmm2
movsd xmm2, qword [eax + 0x10]
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [eax + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], eax
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [eax + 0x20]
movsd qword [esp + 0x60], xmm3
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [esp + 0x80], xmm2
movsd xmm2, qword [eax + 0x30]
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [eax + 0x38]
movsd qword [esp + 0x98], xmm1
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], eax
jae 0x42e743
movsd xmm1, qword [eax + 8]
xorps xmm0, xmm0
movsd xmm2, qword [eax + 0x10]
movsd xmm3, qword [eax]
lea edi, [esp + 0xb0]
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov ecx, edi
movsd qword [esp + 0x138], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [esp + 0x140], xmm2
movsd xmm2, qword [eax + 0x20]
movsd qword [esp + 0x130], xmm3
movsd qword [esp + 0x148], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [esp + 0x150], xmm2
movsd xmm2, qword [eax + 0x30]
movsd qword [esp + 0x158], xmm1
movsd xmm1, qword [eax + 0x38]
movsd qword [esp + 0x160], xmm2
movsd qword [esp + 0x168], xmm1
mov dword [esp + 0x174], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x178], eax
mov dword [esp + 0x180], 0
push ebx
call fcn.0042a8e0
add esp, 4
lea ebx, [esp + 0x190]
push 0xd8
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x258]
movaps xmm2, xmmword [esp + 0x160]
movaps xmm1, xmmword [esp + 0x150]
movaps xmm0, xmmword [esp + 0x170]
mov eax, dword [eax + 0x50]
movaps xmmword [esp + 0x2a0], xmm2
movaps xmmword [esp + 0x290], xmm1
movaps xmm2, xmmword [esp + 0x130]
movaps xmm1, xmmword [esp + 0x140]
movaps xmmword [esp + 0x2b0], xmm0
cmp eax, 0x81
movaps xmmword [esp + 0x280], xmm1
movaps xmmword [esp + 0x270], xmm2
jae 0x42e9e5
lea ecx, [esp + 0x2c8]
lea edx, [esp + 0x270]
push dword [esp + 0x260]
push eax
push ebx
call fcn.0042aae0
add esp, 0xc
mov eax, dword [esp + 0x2c8]
mov ebx, dword [eax + 0x48]
cmp ebx, 0x41
jae 0x42e9e5
lea edx, [esp + 0x2cc]
movaps xmm0, xmmword [0x4e15e0]
cmp esi, 0x80
movaps xmmword [esp + 0x200], xmm0
movaps xmmword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1e0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
movaps xmmword [esp + 0x1b0], xmm0
movaps xmmword [esp + 0x1a0], xmm0
movaps xmmword [esp + 0x190], xmm0
ja 0x42e9e5
cmp esi, ebx
cmovb ebx, esi
test ebx, ebx
je 0x42e842
xor eax, eax
cmp ebx, 8
jb 0x42e834
xor eax, eax
cmp ebx, 0x20
jb 0x42e7ff
mov eax, ebx
xor ecx, ecx
and eax, 0xe0
nop
movups xmm0, xmmword [edx + ecx]
movups xmm2, xmmword [esp + ecx + 0x190]
movups xmm1, xmmword [edx + ecx + 0x10]
movups xmm3, xmmword [esp + ecx + 0x1a0]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esp + ecx + 0x190], xmm2
movups xmmword [esp + ecx + 0x1a0], xmm3
add ecx, 0x20
cmp eax, ecx
jne 0x42e7c0
cmp ebx, eax
je 0x42e842
test bl, 0x18
je 0x42e834
mov ecx, eax
mov eax, ebx
and eax, 0xf8
nop dword [eax + eax]
movsd xmm0, qword [edx + ecx]
movsd xmm1, qword [esp + ecx + 0x190]
xorps xmm1, xmm0
movlps qword [esp + ecx + 0x190], xmm1
add ecx, 8
cmp eax, ecx
jne 0x42e810
cmp ebx, eax
je 0x42e842
movzx ecx, byte [edx + eax]
xor byte [esp + eax + 0x190], cl
inc eax
jmp 0x42e830
test esi, esi
je 0x42e9e5
movzx eax, byte [0x62314c]
mov ebx, esi
cmp al, 2
jne 0x42e928
mov eax, dword [esp + 0x58]
lea edi, [esp + 0x190]
lea ecx, [esp + 0x10]
push 1
push edi
push ecx
call dword [eax + 0x40]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x42e9e5
add eax, 1
adc ecx, 0
cmp ebx, 8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jb 0x42e939
xor eax, eax
cmp ebx, 0x20
jb 0x42e8e5
movaps xmm0, xmmword [0x4e15f0]
mov eax, ebx
lea ecx, [esp + 0x1a0]
and eax, 0xe0
mov edx, eax
nop
movups xmm1, xmmword [ecx - 0x10]
movups xmm2, xmmword [ecx]
xorps xmm1, xmm0
xorps xmm2, xmm0
movups xmmword [ecx - 0x10], xmm1
movups xmmword [ecx], xmm2
add ecx, 0x20
add edx, 0xffffffe0
jne 0x42e8c0
cmp ebx, eax
je 0x42e948
test bl, 0x18
je 0x42e932
movaps xmm0, xmmword [0x4e1600]
mov ecx, ebx
lea edx, [esp + eax + 0x190]
and ecx, 0xf8
lea edi, [esp + ecx + 0x190]
sub eax, ecx
nop word cs:[eax + eax]
nop
movsd xmm1, qword [edx]
xorps xmm1, xmm0
movlps qword [edx], xmm1
add edx, 8
add eax, 8
jne 0x42e910
cmp ebx, ecx
jne 0x42e939
jmp 0x42e948
call fcn.004de5e0
jmp 0x42e85b
lea edi, [esp + eax + 0x190]
lea eax, [esp + ebx + 0x190]
xor byte [edi], 0x6a
inc edi
cmp edi, eax
jne 0x42e940
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x42e9e5
mov eax, ebx
xor edx, edx
div ecx
mov edi, eax
imul eax, ecx
cmp eax, ebx
jne 0x42e9e5
mov esi, dword [esp + 0xc]
cmp ecx, ebx
ja 0x42e9c3
movzx eax, byte [0x62314c]
lea ebx, [esp + 0x60]
cmp al, 2
jne 0x42e9de
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x190]
push edi
push ecx
push ebx
call dword [eax + 0x40]
add esp, 0xc
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, eax
add edx, edi
mov edx, ecx
adc edx, 0
jb 0x42e9e5
add eax, edi
adc ecx, 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
push 0xa0
lea eax, [esp + 0x14]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004de5e0
jmp 0x42e980
ud2