Function at 0x41af50
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 0x55fe00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x8af4c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movups xmm0, xmmword [0x7a341c]
xor eax, eax
movaps xmm2, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x7a342c]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [0x7a343c]
movups xmmword [ebp - 0x68], xmm0
nop dword [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x88]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x88], xmm1
add eax, 0x10
cmp eax, 0x30
jl 0x41afc0
push 0x7a3248
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00438450
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.00438450
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
push eax
call fcn.00438580
cmp dword [ebp - 0x18], 0xf
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmova esi, dword [ebp - 0x2c]
cmp byte [0x8b00f5], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
jne 0x41b041
call fcn.00418e60
mov eax, dword [ebp - 0x38]
test esi, esi
je 0x41b2d3
test eax, eax
je 0x41b2d3
mov edx, eax
mov ecx, esi
call fcn.00419560
mov esi, eax
mov dword [ebp - 0x40], esi
mov cl, byte [esi + 5]
mov byte [ebp - 0x3c], cl
test cl, cl
jne 0x41b11f
mov byte [ebp - 4], 2
cmp dword [0x8b0104], 0
je 0x41b111
mov edx, dword [0x8b014c]
test edx, edx
je 0x41b111
mov al, byte [0x8af528]
xor byte [esi], al
mov al, byte [0x8af528]
xor byte [esi + 1], al
mov al, byte [0x8af528]
xor byte [esi + 2], al
mov al, byte [0x8af528]
xor byte [esi + 3], al
mov eax, dword [edx]
movzx ecx, byte [esi + 4]
mov dl, byte [0x8af528]
push dword [ebp - 0x3c]
mov ecx, dword [eax + ecx*4]
mov al, dl
mov dword [ebp - 0x30], ecx
xor al, cl
xor byte [ebp - 0x2f], dl
xor byte [ebp - 0x2e], dl
xor byte [ebp - 0x2d], dl
mov edx, dword [esi + 0xa]
mov ecx, dword [esi]
mov byte [ebp - 0x30], al
call dword [ebp - 0x30]
cmp byte [esi + 5], 0
mov dl, al
mov byte [0x8b00d8], dl
sete cl
mov byte [esi + 5], cl
movzx ecx, byte [0x8af528]
xor byte [esi], cl
movzx ecx, byte [0x8af528]
xor byte [esi + 1], cl
movzx ecx, byte [0x8af528]
xor byte [esi + 2], cl
mov al, byte [0x8af528]
xor byte [esi + 3], al
jmp 0x41b113
xor dl, dl
mov byte [ebp - 4], 1
test dl, dl
je 0x41b2d3
xor edi, edi
cmp dword [ebp - 0x38], edi
jbe 0x41b235
mov ecx, dword [ebp - 0x34]
nop dword [eax]
mov al, byte [ecx + edi]
xor esi, esi
nop word [eax + eax]
movzx edx, byte [esi + 0x8b0148]
inc esi
mov cl, byte [edx*4 + 0x8b0150]
xor cl, al
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], cl
mov al, byte [edx*4 + 0x8b0151]
xor al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ecx + edi], al
mov cl, byte [edx*4 + 0x8b0152]
xor cl, al
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], cl
mov al, byte [edx*4 + 0x8b0153]
xor al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ecx + edi], al
cmp esi, 4
jb 0x41b140
xor esi, esi
nop dword [eax + eax]
movzx edx, byte [esi + 0x8b01d0]
inc esi
mov cl, byte [edx*4 + 0x8b0190]
xor cl, al
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], cl
mov al, byte [edx*4 + 0x8b0191]
xor al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ecx + edi], al
mov cl, byte [edx*4 + 0x8b0192]
xor cl, al
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], cl
mov al, byte [edx*4 + 0x8b0193]
xor al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ecx + edi], al
cmp esi, 8
jb 0x41b190
xor esi, esi
nop dword [eax + eax]
movzx edx, byte [esi + 0x8b00f8]
inc esi
shl edx, 2
mov cl, byte [edx + 0x8b0108]
xor cl, al
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], cl
mov al, byte [edx + 0x8b0109]
xor al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ecx + edi], al
mov cl, byte [edx + 0x8b010a]
xor cl, al
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], cl
mov al, byte [edx + 0x8b010b]
xor al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ecx + edi], al
cmp esi, 0xc
jb 0x41b1e0
inc edi
cmp edi, dword [ebp - 0x38]
jb 0x41b130
mov esi, dword [ebp - 0x40]
mov al, byte [esi + 5]
mov dl, al
test al, al
je 0x41b2d3
mov byte [ebp - 4], 3
cmp dword [0x8b0104], 0
je 0x41b2d3
mov edi, dword [0x8b014c]
test edi, edi
je 0x41b2d3
mov al, byte [0x8af528]
xor byte [esi], al
mov al, byte [0x8af528]
xor byte [esi + 1], al
mov al, byte [0x8af528]
xor byte [esi + 2], al
mov al, byte [0x8af528]
xor byte [esi + 3], al
movzx ecx, byte [esi + 4]
mov eax, dword [edi]
push edx
mov edx, dword [esi + 0xa]
mov eax, dword [eax + ecx*4]
mov cl, byte [0x8af528]
mov dword [ebp - 0x30], eax
xor al, cl
xor byte [ebp - 0x2f], cl
xor byte [ebp - 0x2e], cl
xor byte [ebp - 0x2d], cl
mov ecx, dword [esi]
mov byte [ebp - 0x30], al
call dword [ebp - 0x30]
cmp byte [esi + 5], 0
mov byte [0x8b00d8], al
sete al
mov byte [esi + 5], al
mov al, byte [0x8af528]
xor byte [esi], al
mov al, byte [0x8af528]
xor byte [esi + 1], al
mov al, byte [0x8af528]
xor byte [esi + 2], al
mov al, byte [0x8af528]
xor byte [esi + 3], al
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x41b303
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b2f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b352
push ecx
push edx
call fcn.0055eca8
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
call fcn.00419380
push dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0xf
jbe 0x41b362
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b358
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41b358
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0055eca8
add esp, 8
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.0055e764
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret