Function at 0x438d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441465
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x44b030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebx + 0xc]
and edx, 0xf
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edx
cmp ecx, 0x10
je 0x438dee
cmp ecx, 0x18
je 0x438dee
cmp ecx, 0x20
je 0x438dee
mov eax, 2
jmp 0x4390fb
mov eax, esi
sub eax, edx
add eax, 0x10
cmp dword [ebx + 0x18], eax
jae 0x438e04
mov eax, 3
jmp 0x4390fb
mov edx, dword [ebx + 8]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
call fcn.00438830
add esp, 4
mov al, 0x10
mov dword [ebp - 4], 0
sub al, byte [ebp - 0x50]
mov byte [ebp - 0x41], al
movzx eax, al
mov dword [ebp - 0x48], eax
cmp esi, 0x10
jb 0x438e48
mov eax, dword [ebp - 0x4c]
movups xmm1, xmmword [eax]
movups xmmword [ebp - 0x28], xmm1
jmp 0x438e79
mov cl, al
lea eax, [ebp - 0x28]
movzx ecx, cl
imul ecx, ecx, 0x1010101
push esi
push dword [ebp - 0x4c]
push eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x48]
add esp, 0xc
movups xmm1, xmmword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x438e8a
movups xmm0, xmmword [eax]
xorps xmm0, xmm1
movups xmmword [ebp - 0x28], xmm0
push edi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00438b60
mov ecx, esi
add esp, 4
shr ecx, 4
mov dword [ebp - 0x70], ecx
cmp ecx, 1
jbe 0x438f57
mov edx, dword [ebp - 0x4c]
lea esi, [ebp - 0x28]
sub esi, dword [ebp - 0x5c]
lea eax, [ecx - 1]
add edi, 0x10
mov dword [ebp - 0x58], eax
sub edx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x6c], edx
nop word [eax + eax]
movups xmm0, xmmword [edx + edi]
lea ecx, [esi - 1]
mov edx, 4
mov dword [ebp - 0x48], ecx
lea eax, [edi - 0xf]
mov edi, dword [ebp - 0x48]
lea ecx, [esi + 1]
mov dword [ebp - 0x64], ecx
lea ecx, [esi + 2]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x68], ecx
movzx ecx, byte [eax - 1]
lea eax, [eax + 4]
xor byte [edi + eax - 4], cl
movzx ecx, byte [eax - 4]
xor byte [esi + eax - 4], cl
mov edi, dword [ebp - 0x64]
movzx ecx, byte [eax - 3]
xor byte [edi + eax - 4], cl
mov edi, dword [ebp - 0x68]
movzx ecx, byte [eax - 2]
xor byte [edi + eax - 4], cl
mov edi, dword [ebp - 0x48]
sub edx, 1
jne 0x438ef5
mov edi, dword [ebp - 0x54]
lea edx, [ebp - 0x28]
push edi
lea ecx, [ebp - 0x40]
call fcn.00438b60
mov edx, dword [ebp - 0x6c]
add edi, 0x10
add esp, 4
mov dword [ebp - 0x54], edi
sub esi, 0x10
sub dword [ebp - 0x58], 1
jne 0x438ed0
movzx eax, byte [ebp - 0x41]
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
cmp esi, 0x10
jb 0x4390c0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
lea ecx, [ebp - 0x34]
push 0x10
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0043e610
mov edx, dword [ebp - 0x34]
movzx ecx, byte [ebp - 0x48]
imul ecx, ecx, 0x1010101
lea eax, [edx + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push 0x10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0043e610
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x4c]
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x50]
sub ecx, eax
push eax
add ecx, esi
push ecx
push dword [ebp - 0x34]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x70]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov esi, 4
shl edx, 4
add ecx, 2
add edx, 0xfffffff1
add edx, edi
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 5], al
movzx eax, byte [edx - 3]
xor byte [ecx - 4], al
movzx eax, byte [edx - 2]
xor byte [ecx - 3], al
sub esi, 1
jne 0x439005
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call fcn.00438b60
mov edx, dword [ebp - 0x24]
add esp, 4
sub edi, dword [ebp - 0x50]
mov eax, edx
add edi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1c]
movups xmm0, xmmword [edx]
sub ecx, edx
movups xmmword [edi], xmm0
cmp ecx, 0x1000
jb 0x43906b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4390b0
push ecx
push edx
call fcn.0043fa5b
mov ecx, dword [ebp - 0x34]
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
je 0x4390c0
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4390b6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4390b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0043fa5b
add esp, 8
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x4390f9
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x4390ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4390ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043fa5b
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043f92b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret