Function at 0x100fb720
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 0x101fde5b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x103b9004]
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 - 0xd4], ecx
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, dword [ebx + 0x18]
mov edx, esi
mov esi, dword [ebp - 0xd4]
push eax
push dword [ebx + 0x10]
mov ecx, dword [esi + 0x10]
push edi
push dword [ebp - 0xd0]
push dword [ebx + 0xc]
call fcn.100f9170
mov ecx, dword [esi + 0x10]
add esp, 0x14
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xe4], 0x1039a478
mov dword [ebp - 0xe0], 1
test ecx, ecx
je 0x100fb813
mov eax, dword [ecx + 0x1c]
add ecx, 0xc
test eax, eax
je 0x100fb813
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xc8], 0
push edx
push ecx
push eax
lea eax, [ebp - 0xc8]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x100fb813
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100fb813
lea eax, [ebp - 0xcc]
push eax
call fcn.10089600
mov edx, dword [ebp - 0xcc]
jmp 0x100fb81b
xor edx, edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x100fbc4c
mov eax, dword [edx + 4]
cmp eax, 0x10
jl 0x100fbc4c
cmp dword [esi + 8], 2
jne 0x100fb937
mov eax, 0x102072a8
lea ecx, [ebp - 0x34]
or eax, ecx
test al, 3
jne 0x100fb866
movups xmm0, xmmword [0x102072a8]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x102072b8]
movups xmmword [ebp - 0x24], xmm0
jmp 0x100fb879
push 0x20
lea eax, [ebp - 0x34]
push 0x102072a8
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
push dword [ebp - 0xd0]
mov edx, 0x20
lea ecx, [ebp - 0x34]
call fcn.100e4d10
mov edx, dword [ebp - 0xcc]
add esp, 8
lea esi, [edx + 0xc]
test edx, edx
jne 0x100fb8a2
mov esi, 0x10202374
lea ecx, [ebp - 0x34]
mov eax, esi
mov edi, ecx
or eax, edi
test al, 3
jne 0x100fb906
mov edi, 4
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x100fb8cd
add esi, 4
add ecx, 4
sub edi, 1
jne 0x100fb8b4
lea eax, [edi + 1]
jmp 0x100fbc4e
test edi, edi
je 0x100fb92d
mov dword [ebp - 0xc8], 0
sub esi, ecx
nop dword [eax]
movsx edi, byte [esi + ecx]
movsx eax, byte [ecx]
sub edi, eax
jne 0x100fb925
mov eax, dword [ebp - 0xc8]
inc ecx
inc eax
mov dword [ebp - 0xc8], eax
cmp eax, 4
jl 0x100fb8e0
lea eax, [edi + 1]
jmp 0x100fbc4e
mov edi, 0xf
nop dword [eax + eax]
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100fb91d
inc esi
inc ecx
sub edi, 1
jne 0x100fb910
movsx edi, byte [esi]
movsx eax, byte [ecx]
sub edi, eax
test edi, edi
jne 0x100fbc4c
mov eax, 1
jmp 0x100fbc4e
mov ecx, 0x20
lea edi, [ebp - 0x54]
cmp eax, ecx
mov dword [ebp - 0xc8], edi
cmovb ecx, eax
mov eax, edi
and eax, 3
mov dword [ebp - 0xdc], ecx
mov ecx, 4
sub ecx, eax
mov eax, 0x20
cmp ecx, eax
cmova ecx, eax
sub eax, ecx
mov dword [ebp - 0xc4], eax
test ecx, ecx
je 0x100fb993
mov esi, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0xc4]
lea edi, [ebp - 0x54]
add edi, esi
mov dword [ebp - 0xc8], edi
mov esi, eax
shr esi, 2
test esi, esi
je 0x100fb9b1
xor eax, eax
mov ecx, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
lea edi, [edi + esi*4]
and eax, 3
je 0x100fb9c8
mov ecx, eax
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
push dword [ebp - 0xdc]
add edx, 0xc
lea ecx, [ebp - 0x54]
call fcn.100a43b0
mov esi, dword [ebx + 0x18]
add esp, 4
mov dword [ebp - 0xc8], 0x13
mov dword [ebp - 0xc4], 0x13
xor eax, eax
test esi, esi
jle 0x100fbac5
mov edx, dword [ebp - 0xd0]
cmp esi, 0x40
jb 0x100fba9e
lea ecx, [edx - 1]
add ecx, esi
lea edi, [ebp + esi - 0x35]
lea esi, [ebp - 0x34]
cmp esi, ecx
mov esi, dword [ebx + 0x18]
ja 0x100fba2f
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc4], ecx
cmp edi, edx
jae 0x100fba9e
mov ecx, esi
and ecx, 0x8000003f
jns 0x100fba3e
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edi, esi
sub edi, ecx
mov ecx, dword [ebp - 0xc4]
movsx ecx, cl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
nop dword [eax]
movups xmm0, xmmword [edx + eax]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x34], xmm0
movups xmm0, xmmword [edx + eax + 0x10]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x24], xmm0
movups xmm0, xmmword [edx + eax + 0x20]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x14], xmm0
movups xmm0, xmmword [edx + eax + 0x30]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 4], xmm0
add eax, 0x40
cmp eax, edi
jl 0x100fba60
cmp eax, esi
jge 0x100fbac5
mov edi, edx
lea ecx, [ebp - 0x34]
sub edi, ecx
nop dword [eax]
lea edx, [ebp - 0x34]
add edx, eax
inc eax
mov cl, byte [edx + edi]
xor cl, byte [ebp - 0xc8]
mov byte [edx], cl
cmp eax, esi
jl 0x100fbab0
lea eax, [ebp - 0x34]
mov edx, 0x20
push esi
push eax
lea ecx, [ebp - 0x54]
call fcn.100e4d10
mov ecx, dword [ebp - 0xc8]
add esp, 8
sub ecx, 1
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
jns 0x100fb9f3
movaps xmm0, xmmword [0x103a6b80]
lea ecx, [ebp - 0xc0]
push 0x20
mov edx, 0x102072a8
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0x10325476
call fcn.100e5580
mov ecx, dword [ebp - 0xd4]
add esp, 4
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x100fbbb1
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xc4], 0
test ecx, ecx
je 0x100fbb7a
jg 0x100fbb57
xor ecx, ecx
jmp 0x100fbb5a
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc4]
push eax
call fcn.10089600
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x100fbb7a
mov ecx, dword [eax + 4]
lea edx, [eax + 0xc]
jmp 0x100fbb81
xor ecx, ecx
mov edx, 0x10202374
push ecx
lea ecx, [ebp - 0xc0]
call fcn.100e5580
mov eax, dword [ebp - 0xc4]
add esp, 4
test eax, eax
je 0x100fbbb1
dec dword [eax]
mov eax, dword [ebp - 0xc4]
cmp dword [eax], 1
jge 0x100fbbb1
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xc0]
call fcn.100e5650
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x54]
mov esi, ecx
mov eax, edx
or eax, esi
test al, 3
jne 0x100fbc23
mov esi, 4
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100fbbf4
add edx, 4
add ecx, 4
sub esi, 1
jne 0x100fbbd4
mov edx, dword [ebp - 0xcc]
xor eax, eax
test esi, esi
sete al
jmp 0x100fbc4e
test esi, esi
je 0x100fbc12
xor edi, edi
sub edx, ecx
nop dword [eax]
movsx esi, byte [edx + ecx]
movsx eax, byte [ecx]
sub esi, eax
jne 0x100fbc3d
inc edi
inc ecx
cmp edi, 4
jl 0x100fbc00
mov edx, dword [ebp - 0xcc]
xor esi, esi
xor eax, eax
test esi, esi
sete al
jmp 0x100fbc4e
mov esi, 0xf
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x100fbc35
inc edx
inc ecx
sub esi, 1
jne 0x100fbc28
movsx eax, byte [ecx]
movsx esi, byte [edx]
sub esi, eax
mov edx, dword [ebp - 0xcc]
xor eax, eax
test esi, esi
sete al
jmp 0x100fbc4e
xor eax, eax
mov dword [ebp - 0xc4], eax
test edx, edx
je 0x100fbc75
dec dword [edx]
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx], 1
jge 0x100fbc75
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0xc4]
add esp, 4
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.101f3fd0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14