Function at 0x412567
Capabilities:
Encode data using xor

Disassembly:
jmp 0x6f2070
sub esp, 0x88
push ebx
push esi
call fcn.0040c6fd
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
sub ebx, esi
mov dword [esp + 0x54], ebx
cmp ebx, 0x40
ja 0x6f20b6
push edx
push eax
push ebx
push esi
call fcn.00405ba0
mov ecx, dword [esp + 0xa4]
add esp, 0x10
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x88
ret
push ebp
push edi
push edx
push eax
mov ebp, ebx
lea eax, [esp + 0x68]
and ebp, 0xffffffc0
push esi
add ebp, esi
push eax
mov dword [esp + 0x24], ebp
call fcn.0040948a
lea edi, [esi + 0x40]
add esp, 0x10
mov dword [esp + 0x10], edi
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x1c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [esp + 0x4c], xmm0
cmp edi, ebp
je 0x6f22d5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov esi, dword [esp + 0x34]
add esi, dword [edi + 8]
mov edx, dword [edi + 0xc]
adc edx, dword [esp + 0x38]
add esi, eax
push 0xb492b66f
adc edx, ebp
add esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
adc edx, dword [esp + 0x2c]
add ebp, dword [edi + 0x30]
mov ecx, edx
mov edi, dword [edi + 0x34]
adc edi, dword [esp + 0x44]
add ebp, dword [esp + 0x28]
push 0xbe98f273
adc edi, dword [esp + 0x30]
xor eax, eax
shld edx, esi, 0x1b
shr ecx, 5
or eax, edx
shl esi, 0x1b
or ecx, esi
push eax
push ecx
call fcn.0040646a
xor eax, dword [esp + 0x4c]
mov ecx, edi
xor edx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
xor eax, eax
push 0xb492b66f
shld edi, ebp, 0x16
push 0xbe98f273
shr ecx, 0xa
or eax, edi
shl ebp, 0x16
or ecx, ebp
mov dword [esp + 0x20], edx
push eax
push ecx
mov dword [esp + 0x30], edx
call fcn.0040646a
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x58]
push 0xb492b66f
push 0xbe98f273
add eax, dword [ecx + 0x28]
adc edx, dword [ecx + 0x2c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
adc edx, dword [esp + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x4c]
adc ebp, dword [esp + 0x50]
xor eax, eax
mov ecx, ebp
shld ebp, edx, 0x1f
shr ecx, 1
shl edx, 0x1f
or eax, ebp
or ecx, edx
push eax
push ecx
call fcn.0040646a
push 0xb492b66f
push 0xbe98f273
push dword [esp + 0x48]
mov dword [esp + 0x38], eax
push dword [esp + 0x48]
mov dword [esp + 0x40], edx
call fcn.0040646a
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
adc eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00401bae
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
adc eax, dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x30]
add ecx, dword [edi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x14]
adc eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], ecx
push eax
lea eax, [edi + 0x20]
push eax
call fcn.00401bae
mov edx, dword [esp + 0x44]
add edi, 0x40
mov eax, dword [esp + 0x34]
add esp, 0x18
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], edi
cmp edi, ebx
jne 0x6f2123
mov ebx, dword [esp + 0x5c]
pop edi
pop ebp
test bl, 0x3f
je 0x6f22f0
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x14]
add eax, 0xffffffc0
push eax
call fcn.00410eb0
push ebx
lea ecx, [esp + 0x18]
call fcn.0040a57e
mov ecx, dword [esp + 0x94]
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
add esp, 0x88
ret