Function at 0x100301d0
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 0x100ba668
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100d0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 0
je 0x10030375
cmp dword [ebx + 0x20], 0xf
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0xc]
cmova eax, dword [ebx + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.1002dc80
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
mov dword [ebp - 0x40], esi
cmp esi, ecx
ja 0x10030278
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmova ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x100302be
mov edx, dword [ebp - 0x18]
mov edi, esi
mov eax, edx
sub edi, ecx
sub eax, ecx
cmp edi, eax
ja 0x100302ab
mov dword [ebp - 0x1c], esi
cmp edx, 0xf
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
push edi
add esi, ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x40]
jmp 0x100302be
push 0
push edi
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x40]
push edi
call fcn.100310b0
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x24]
cmova eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push edx
cmova ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.1002dc80
add esp, 8
mov dword [ebp - 0x3c], 0xcdc8cee6
mov dword [ebp - 0x38], 0xdcd0d8cf
xor eax, eax
mov dword [ebp - 0x34], 0x9de0c4de
mov byte [ebp - 0x30], 0xbd
nop
xor byte [ebp + eax - 0x3c], 0xbd
inc eax
cmp eax, 0xd
jb 0x10030300
mov eax, dword [0x100f3404]
lea edx, [ebp - 0x3c]
push edx
push 0x100d00a0
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x100f3404]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0xf
cmova edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x100d009c
push eax
mov eax, dword [ecx + 0x64]
call eax
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0xf
jbe 0x10030375
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003036b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100303ad
push ecx
push edx
call fcn.100b8bd7
add esp, 8
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x100303bd
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100303b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100303b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b8bd7
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.100b875c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret