Function at 0x100fb640
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 0x10147ffe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x68
push esi
mov dword [ebp - 0x24], 0
xor esi, esi
xor edx, edx
mov dword [ebp - 0x40], esi
push edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], edx
mov eax, dword [0x101ee248]
test eax, eax
je 0x100fb699
mov eax, dword [eax + 0x18]
lea ecx, [esi + 1]
jmp 0x100fb6a0
mov ecx, 2
xor eax, eax
mov dword [ebp - 0x14], ecx
test cl, 2
je 0x100fb6ae
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
test cl, 1
je 0x100fb6b9
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x100fb865
movaps xmm0, xmmword [0x1017f9b0]
mov eax, 0x10
xorps xmm0, xmmword [0x1017fba0]
mov dword [ebp - 0x66], 0xb7b1a4bc
mov dword [ebp - 0x62], 0xa4c6bca4
mov dword [ebp - 0x5e], 0xc7a4c5c0
mov word [ebp - 0x5a], 0x84b2
movups xmmword [ebp - 0x76], xmm0
xor byte [ebp + eax - 0x76], 0x84
inc eax
cmp eax, 0x1e
jb 0x100fb6f3
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x76]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fb720
sub ecx, edx
lea eax, [ebp - 0x76]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10003450
mov edx, dword [0x101ee250]
test edx, edx
je 0x100fb745
mov edx, dword [edx + 0x50]
jmp 0x100fb747
xor edx, edx
mov esi, dword [0x101ee248]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
test esi, esi
je 0x100fb75f
mov esi, dword [esi + 0x18]
or eax, 8
jmp 0x100fb764
or eax, 0x10
xor esi, esi
test al, 0x10
je 0x100fb76b
and eax, 0xffffffef
test al, 8
je 0x100fb772
and eax, 0xfffffff7
mov byte [ebp - 4], 2
or eax, 0x20
xor ecx, ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], ecx
push eax
mov dword [ebp - 0x34], ecx
xor edi, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x30], edi
call fcn.100c4d50
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100fb801
cmp edi, dword [ebp - 0x14]
je 0x100fb7b7
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x30], edi
jmp 0x100fb7d0
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10004e90
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub esi, eax
dec ecx
add ecx, esi
lea esi, [eax + 1]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], ecx
push eax
mov edx, ecx
lea ecx, [ebp - 0x28]
push esi
call fcn.100c4d50
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x100fb7a8
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], esi
jmp 0x100fb803
xor esi, esi
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
cmp ecx, 0xf
jbe 0x100fb84d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fb840
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fb888
push ecx
push edx
call fcn.1006cb2f
mov edx, dword [ebp - 0x14]
add esp, 8
cmp esi, edi
je 0x100fb865
push dword [esi]
call fcn.100fb310
add esi, 4
cmp esi, edi
jne 0x100fb851
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100fb898
sub edx, esi
mov eax, esi
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x100fb88e
mov esi, dword [eax - 4]
add edx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fb88e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push esi
call fcn.1006cb2f
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret