Function at 0x4a013b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x65a600]
and dword [eax + 0x20], 0
call fcn.00497c24
call fcn.00499fe1
cmp dword [0x65a660], 0xf
mov ecx, 0x65a64c
push 0x80e2
cmova ecx, dword [0x65a64c]
xor edx, edx
call fcn.004c503f
pop ecx
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x7a]
call fcn.004a5400
push ecx
push 0x11
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.004a2831
xor edx, edx
mov ax, word [esi + edx + 2]
xor ax, word [esi]
cmp dword [esp + 0x3c], 7
movzx ecx, ax
lea eax, [esp + 0x28]
cmova eax, dword [esp + 0x28]
mov word [eax + edx], cx
add edx, 2
cmp edx, 0x22
jb 0x4a019e
cmp dword [esp + 0x3c], 7
lea ecx, [esp + 0x28]
cmova ecx, dword [esp + 0x28]
call fcn.004ac971
lea ecx, [esp + 0x28]
mov bl, al
call fcn.004a2dca
test bl, bl
je 0x4a0894
mov eax, dword [0x65a600]
mov eax, dword [eax + 0x3e48]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.004c77dc
mov esi, eax
call fcn.004c0d5c
call fcn.004c0d79
movss xmm2, dword [esp + 0x10]
lea ecx, [esp + 0x40]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm2
xorps xmm3, xmm3
addss xmm0, xmm3
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x50e2d8]
addss xmm2, xmm0
addss xmm1, xmm0
movaps xmm0, xmmword [0x50e540]
movups xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [0x50e580]
movups xmmword [esp + 0x50], xmm0
movaps xmm0, xmmword [0x50e5c0]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x50e540]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm1
movups xmmword [esp + 0x28], xmm0
call fcn.004bdbd0
push eax
lea ecx, [esp + 0x54]
call fcn.004bdbd0
push eax
lea ecx, [esp + 0x68]
call fcn.004bdbd0
push eax
lea ecx, [esp + 0x34]
call fcn.004bdbd0
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004d88bb
call fcn.00495744
movss xmm1, dword [0x50e180]
xor ecx, ecx
call fcn.004beb97
xor ebx, ebx
mov dword [esp + 0x18], 0x43eb0000
push ebx
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0x43c80000
xor edx, edx
xor ecx, ecx
push eax
inc edx
call fcn.004c2ab2
add esp, 0xc
mov esi, 0x65b940
mov edi, 0x659578
push 3
pop ebp
test al, al
je 0x4a052d
movss xmm0, dword [0x50e27c]
call fcn.004c9a97
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0x428c0000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x8e
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x92
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b834], al
inc ecx
cmp ecx, ebp
jb 0x4a0360
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b837], bl
mov ecx, 0x65b834
call fcn.004e136c
pop ecx
test al, al
je 0x4a0395
mov dword [0x5160c8], 1
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0x428c0000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x95
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x84
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65cd38], al
inc ecx
cmp ecx, ebp
jb 0x4a03e8
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65cd3b], bl
mov ecx, 0x65cd38
call fcn.004e136c
pop ecx
test al, al
je 0x4a041d
mov dword [0x5160c8], 2
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0x428c0000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x84
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x9b
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b86c], al
inc ecx
cmp ecx, ebp
jb 0x4a0470
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b86f], bl
mov ecx, 0x65b86c
call fcn.004e136c
pop ecx
test al, al
je 0x4a04a5
mov dword [0x5160c8], 5
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0x428c0000
mov dword [esp + 0x20], 0x420c0000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x80
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x93
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65ccd0], al
inc ecx
cmp ecx, ebp
jb 0x4a04f8
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65ccd3], bl
mov ecx, 0x65ccd0
call fcn.004e136c
pop ecx
test al, al
je 0x4a052d
mov dword [0x5160c8], 6
call fcn.004c2cc5
push ebx
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x43eb0000
xor edx, edx
mov dword [esp + 0x24], 0x43c80000
push eax
inc edx
xor ecx, ecx
call fcn.004c2ab2
add esp, 0xc
test al, al
je 0x4a077f
xorps xmm0, xmm0
call fcn.004c9b05
mov eax, dword [0x5160c8]
cmp eax, 1
jne 0x4a057a
call fcn.004a9563
jmp 0x4a077f
cmp eax, 2
jne 0x4a0769
push esi
mov ecx, edi
call fcn.004a64ab
mov ecx, 0x65b719
mov byte [0x65b719], bl
call fcn.004e311c
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.004a54b1
mov edx, ebx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x65b870], cl
inc edx
cmp edx, 6
jb 0x4a05ab
push 0x659068
push 0x65b870
mov byte [0x65b876], bl
call fcn.004f10f5
cmp byte [0x659068], bl
je 0x4a074f
push esi
mov ecx, edi
call fcn.004a64ab
push 0x7e
pop ecx
xor edx, edx
mov byte [esp + 0x12], bl
div ecx
push ecx
inc dl
mov byte [0x65b759], bl
mov al, dl
mov ecx, 0x65b758
push 0x4b
xor al, 0x20
xor al, dl
mov edx, 0x65ad7c
push 0x659580
push fcn.004e37c0
mov byte [0x65b758], al
call fcn.004e3820
add esp, 0x10
mov ecx, edi
push esi
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x16], bl
push 0x7e
pop ecx
div ecx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0x43
mov cl, dl
mov byte [esp + 0x11], al
xor cl, 0x6f
mov al, dl
mov byte [esp + 0x12], cl
xor al, 0x6d
mov byte [esp + 0x15], cl
mov byte [esp + 0x13], al
mov ecx, ebx
mov al, dl
xor al, 0x62
mov byte [esp + 0x14], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b90c], al
inc ecx
cmp ecx, 5
jb 0x4a0663
mov ecx, 0x65b90c
mov byte [0x65b911], bl
call fcn.004e311c
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x42be0000
mov ecx, 0x6590a4
mov dword [esp + 0x1c], 0x41e00000
call fcn.004985e7
call fcn.004c739e
push esi
mov ecx, edi
call fcn.004a64ab
mov ecx, 0x65ccd8
mov byte [0x65ccd8], bl
call fcn.004e311c
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.004a421b
mov edx, ebx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x65b7fc], cl
inc edx
cmp edx, 0xb
jb 0x4a06d0
push 0x65ad91
push 0x65b7fc
mov byte [0x65b807], bl
call fcn.004f10f5
cmp byte [0x65ad91], bl
je 0x4a0705
mov byte [0x65ad88], bl
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.004a428b
mov edx, ebx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x65b878], cl
inc edx
cmp edx, 7
jb 0x4a0715
push 0x65ad88
push 0x65b878
mov byte [0x65b87f], bl
call fcn.004f10f5
cmp byte [0x65ad88], bl
je 0x4a074a
mov byte [0x65ad91], bl
call fcn.004c73f2
push esi
mov ecx, edi
call fcn.004a64ab
mov ecx, 0x65b904
mov byte [0x65b904], bl
call fcn.004e311c
jmp 0x4a077f
cmp eax, 5
jne 0x4a0775
call fcn.004a8908
jmp 0x4a077f
cmp eax, 6
jne 0x4a077f
call fcn.004a89ae
call fcn.004c2cc5
push ebx
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x43eb0000
push eax
mov edx, ebp
mov dword [esp + 0x28], 0x42a00000
xor ecx, ecx
call fcn.004c2ab2
add esp, 0xc
test al, al
je 0x4a0880
lea ecx, [esp + 0x18]
call fcn.004c9d94
movss xmm1, dword [eax + 4]
mov eax, dword [0x65a600]
subss xmm1, dword [0x50e274]
mov eax, dword [eax + 0x3e48]
mulss xmm1, dword [0x50e140]
movss xmm0, dword [eax + 0xf4]
subss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x7c]
addss xmm0, xmm1
call fcn.004c9ace
call fcn.00499918
call fcn.004e2a3e
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0x42200000
mov dword [esp + 0x20], 0x41f00000
call fcn.004a64ab
xor edx, edx
mov byte [esp + 0x14], bl
push 0x7e
pop ecx
div ecx
mov ecx, ebx
inc dl
mov al, dl
mov byte [esp + 0x10], dl
xor al, 0xef
mov byte [esp + 0x11], al
mov al, dl
xor al, 0x80
mov byte [esp + 0x12], al
mov al, dl
xor al, 0x91
mov byte [esp + 0x13], al
mov al, byte [esp + ecx + 0x11]
xor al, dl
mov byte [ecx + 0x65b8a4], al
inc ecx
cmp ecx, ebp
jb 0x4a0840
push ecx
lea edx, [esp + 0x1c]
mov byte [0x65b8a7], bl
mov ecx, 0x65b8a4
call fcn.004e136c
pop ecx
test al, al
jne 0x4a0894
movss xmm1, dword [0x50e328]
xorps xmm0, xmm0
call fcn.004c99b6
call fcn.00498f3a
call fcn.004c2cc5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
jmp fcn.004c6e16
call fcn.00499837
int3