Function at 0x5113f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x68
call fcn.00581890
mov eax, dword [0x634f14]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x90]
push edi
push esi
mov dword [esp + 0x34], eax
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 1
call fcn.0046a630
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x51147e
mov eax, dword [esp + 0x9c]
xor edx, edx
div ecx
cmp eax, 0xffffffff
jb 0x511493
call fcn.0046aff0
push str.pbkdf2_derive
push 0x145
push str.providersimplementationskdfspbkdf2.c
call fcn.0046b040
push edi
push 0x69
push 0x39
call fcn.0046b070
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00581041
add esp, 0x68
ret
cmp dword [esp + 0xa0], edi
je 0x511588
mov eax, dword [esp + 0x9c]
shl eax, 3
cmp eax, 0x70
jae 0x5114ee
call fcn.0046aff0
push str.pbkdf2_derive
push 0x14b
push str.providersimplementationskdfspbkdf2.c
call fcn.0046b040
push 0
push 0xab
push 0x39
call fcn.0046b070
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00581041
add esp, 0x68
ret
cmp dword [esp + 0x88], 0x10
jge 0x511534
call fcn.0046aff0
push str.pbkdf2_derive
push 0x14f
push str.providersimplementationskdfspbkdf2.c
call fcn.0046b040
push 0
push 0x70
push 0x39
call fcn.0046b070
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00581041
add esp, 0x68
ret
cmp dword [esp + 0x90], edi
ja 0x511588
jb 0x51154c
cmp dword [esp + 0x8c], 0x3e8
jae 0x511588
call fcn.0046aff0
push str.pbkdf2_derive
push 0x153
push str.providersimplementationskdfspbkdf2.c
call fcn.0046b040
push 0
push 0x7b
push 0x39
call fcn.0046b070
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00581041
add esp, 0x68
ret
call fcn.00505760
mov dword [esp + 0x1c], eax
test eax, eax
je 0x51147e
push 0
push esi
push dword [esp + 0x88]
push ebx
push eax
call fcn.00505910
add esp, 0x14
test eax, eax
je 0x5117e9
call fcn.00505760
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x5117e7
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x5117d9
mov edx, 1
nop dword [eax]
cmp ecx, dword [esp + 0x20]
mov ebx, ecx
push dword [esp + 0x1c]
cmovg ebx, dword [esp + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x19], al
mov eax, edx
shr eax, 8
push esi
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], dl
call fcn.00505650
add esp, 8
test eax, eax
je 0x5117e1
push dword [esp + 0x88]
push dword [esp + 0x34]
push esi
call fcn.00505bf0
add esp, 0xc
test eax, eax
je 0x5117e1
push 4
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00505bf0
add esp, 0xc
test eax, eax
je 0x5117e1
push 0
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00505860
add esp, 0xc
test eax, eax
je 0x5117e1
push ebx
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.00583b70
xor eax, eax
add esp, 0xc
mov edi, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
cmp eax, dword [esp + 0x90]
ja 0x5117b6
jb 0x5116a5
cmp edi, dword [esp + 0x8c]
jae 0x5117b6
push dword [esp + 0x1c]
push esi
call fcn.00505650
add esp, 8
test eax, eax
je 0x5117e1
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00505bf0
add esp, 0xc
test eax, eax
je 0x5117e1
push 0
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00505860
add esp, 0xc
test eax, eax
je 0x5117e1
xor esi, esi
test ebx, ebx
jle 0x511784
cmp ebx, 0x20
jb 0x511761
lea ecx, [ebp - 1]
lea eax, [esp + ebx + 0x33]
add ecx, ebx
cmp ebp, eax
ja 0x511710
lea eax, [esp + 0x34]
cmp ecx, eax
jae 0x511761
mov eax, ebx
and eax, 0x8000001f
jns 0x51171e
dec eax
or eax, 0xffffffe0
inc eax
mov edx, ebx
lea edi, [esp + 0x34]
sub edx, eax
mov ecx, ebp
mov eax, ebp
neg eax
add edi, eax
lea eax, [esp + eax + 0x44]
movups xmm0, xmmword [ecx]
add esi, 0x20
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [edi + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
movups xmm1, xmmword [eax + ecx - 0x20]
movups xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
cmp esi, edx
jl 0x511732
mov edi, dword [esp + 0x18]
cmp esi, ebx
jge 0x511784
lea edi, [esp + 0x34]
mov edx, ebx
sub edi, ebp
lea eax, [esi + ebp]
sub edx, esi
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x511772
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add edi, 1
mov esi, dword [esp + 0x10]
adc eax, 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x90]
jb 0x5116a5
ja 0x5117b6
cmp edi, dword [esp + 0x8c]
jb 0x5116a5
mov ecx, dword [esp + 0x9c]
add ebp, ebx
mov edx, dword [esp + 0x28]
sub ecx, ebx
inc edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x28], edx
test ecx, ecx
jne 0x5115e0
mov dword [esp + 0x2c], 1
mov edi, dword [esp + 0x10]
jmp 0x5117e9
mov edi, eax
push edi
call fcn.00505700
push dword [esp + 0x20]
call fcn.00505700
mov ecx, dword [esp + 0x7c]
add esp, 8
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00581041
add esp, 0x68
ret