Function at 0x100215b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059338
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1006f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov esi, dword [0x10075794]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, 0x17
ja 0x10021767
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x10021614
push 4
push ebx
call edi
test eax, eax
jne 0x1002160e
push esi
mov ecx, ebx
call dword [0x100655b0]
mov esi, dword [0x10075794]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push esi
cmp esi, 0xa
jge 0x1002169c
movaps xmm0, xmmword [0x10067930]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x6a603e36
mov word [ebp - 0x30], 0x6a
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x14
jb 0x10021650
sub esp, 0x18
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0x60]
push eax
call fcn.10009da0
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.1000b250
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1002170a
inc eax
push eax
push dword [ebp - 0x60]
call fcn.10005380
jmp 0x1002170a
movaps xmm0, xmmword [str.i_._b]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x5959530d
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x100216b2
sub esp, 0x18
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0x60]
push eax
call fcn.10009da0
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.1000b250
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x100216f8
inc eax
push eax
push dword [ebp - 0x60]
call fcn.10005380
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov esi, dword [ebp - 0x2c]
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x10021729
push 4
push esi
call edi
test eax, eax
jne 0x10021729
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x100655b8]
mov eax, dword [0x10075794]
test eax, eax
jle 0x10021739
push ecx
push eax
call fcn.10021560
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10021752
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005380
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov ebx, dword [0x100757a0]
cmp ebx, 0x14
ja 0x100217f7
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10021792
push 4
push esi
call edi
test eax, eax
jne 0x1002178f
push ebx
mov ecx, esi
call dword [0x100655b0]
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + 0x20]
mov ebx, dword [0x100757a0]
test esi, esi
je 0x100217b1
push 4
push esi
call edi
test eax, eax
jne 0x100217b1
push ebx
mov ecx, esi
call dword [0x100655bc]
movd xmm0, dword [0x100757a0]
mov ecx, 0x10b8150
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1006678c]
movss dword [ebp - 0x2c], xmm0
movss dword [0x1006f058], xmm0
call fcn.10010fa0
test eax, eax
je 0x100217f7
lea esi, [eax + 0x1ac]
push 4
push esi
call edi
test eax, eax
jne 0x100217f7
movss xmm0, dword [ebp - 0x2c]
movss dword [esi], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054720
mov esp, ebp
pop ebp
ret