Function at 0x10063650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100817e5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x10091040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
cmp byte [ebp + 8], 0
mov eax, dword [edi]
mov dword [0x1009378c], eax
jne 0x10063881
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10063881
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063881
mov ecx, 0xbe20a0
call fcn.10014f70
cmp esi, eax
jne 0x10063881
xorps xmm0, xmm0
mov word [ebp - 0x10], 0x38
lea ecx, [ebp - 0xf]
mov byte [ebp - 0xf], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100636e0
sub ecx, edx
lea eax, [ebp - 0xf]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100024a0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10063788
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063788
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063724
sub ecx, edx
mov dword [ebp - 0x10], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007d113
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x10]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10088b3c]
push edi
call fcn.1007d11c
mov esi, dword [ebp - 0x28]
add esp, 4
mov edi, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100637c2
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100637b8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063855
push ecx
push esi
call fcn.1007d105
add esp, 8
movaps xmm0, xmmword [0x10089010]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x100637d0
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063800
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100024a0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x48]
mov ecx, dword [edi + 0x10]
call fcn.10014d10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10063865
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006385b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006385b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10063881
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063881
mov ecx, esi
call dword [0x10088b44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc