Function at 0x436dc0
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 0x437073
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.00433210
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 0x437315
lea ecx, [esp + 0x2c8]
lea edx, [esp + 0x270]
push dword [esp + 0x260]
push eax
push ebx
call fcn.00433410
add esp, 0xc
mov eax, dword [esp + 0x2c8]
mov ebx, dword [eax + 0x48]
cmp ebx, 0x41
jae 0x437315
lea edx, [esp + 0x2cc]
movaps xmm0, xmmword [0x4eb640]
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 0x437315
cmp esi, ebx
cmovb ebx, esi
test ebx, ebx
je 0x437172
xor eax, eax
cmp ebx, 8
jb 0x437164
xor eax, eax
cmp ebx, 0x20
jb 0x43712f
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 0x4370f0
cmp ebx, eax
je 0x437172
test bl, 0x18
je 0x437164
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 0x437140
cmp ebx, eax
je 0x437172
movzx ecx, byte [edx + eax]
xor byte [esp + eax + 0x190], cl
inc eax
jmp 0x437160
test esi, esi
je 0x437315
movzx eax, byte [0xfd520c]
mov ebx, esi
cmp al, 2
jne 0x437258
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 0x437315
add eax, 1
adc ecx, 0
cmp ebx, 8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jb 0x437269
xor eax, eax
cmp ebx, 0x20
jb 0x437215
movaps xmm0, xmmword [0x4eb650]
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 0x4371f0
cmp ebx, eax
je 0x437278
test bl, 0x18
je 0x437262
movaps xmm0, xmmword [0x4eb660]
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 0x437240
cmp ebx, ecx
jne 0x437269
jmp 0x437278
call fcn.004e8de0
jmp 0x43718b
lea edi, [esp + eax + 0x190]
lea eax, [esp + ebx + 0x190]
xor byte [edi], 0x6a
inc edi
cmp edi, eax
jne 0x437270
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x437315
mov eax, ebx
xor edx, edx
div ecx
mov edi, eax
imul eax, ecx
cmp eax, ebx
jne 0x437315
mov esi, dword [esp + 0xc]
cmp ecx, ebx
ja 0x4372f3
movzx eax, byte [0xfd520c]
lea ebx, [esp + 0x60]
cmp al, 2
jne 0x43730e
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 0x437315
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.004e8de0
jmp 0x4372b0
ud2