Function at 0x100c4460
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 0x101312fa
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
cmp byte [0x101e0784], 0
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x85], al
lea eax, [ebp - 0x85]
mov dword [ebp - 0x90], eax
jne 0x100c4514
cmp byte [0x1021e42c], 0
jne 0x100c44fd
movss xmm0, dword [0x1021e418]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100c44fd
movss xmm0, dword [0x1021e420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100c44fd
call fcn.100c4ae0
jmp 0x100c450d
call fcn.100c4ae0
lea ecx, [ebp - 0x90]
call fcn.100c4ca0
mov byte [0x101e0784], 1
mov ecx, dword [0x101f4694]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
cmp byte [0x1021e41c], al
jne 0x100c4728
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162d20]
mov dword [ebp - 0x20], 0x1f0a071e
mov dword [ebp - 0x1c], 0x6b050402
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0x6b
inc eax
cmp eax, 0x18
jb 0x100c4553
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c4580
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10011990
mov eax, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], eax
mov ecx, 0x101e95b0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10010790
movzx ecx, byte [0x1021e42c]
cmp ecx, dword [eax]
jne 0x100c4728
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162df0]
mov dword [ebp - 0x20], 0x341f050e
mov dword [ebp - 0x1c], 0x1e070a1d
mov word [ebp - 0x18], 0x6b0e
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0x6b
inc eax
cmp eax, 0x1a
jb 0x100c45f7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c4621
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10011990
mov eax, 3
mov dword [ebp - 4], 1
mov dword [ebp - 0x84], eax
mov ecx, 0x101e95b0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x64]
push eax
call fcn.10010790
movss xmm0, dword [0x1021e418]
movd xmm1, dword [eax]
cvtdq2ps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100c4728
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162d30]
mov dword [ebp - 0x20], 0xa1d340e
mov dword [ebp - 0x1c], 0x6b0e1e07
movups xmmword [ebp - 0x30], xmm0
nop
xor byte [ebp + eax - 0x30], 0x6b
inc eax
cmp eax, 0x18
jb 0x100c46a0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c46d0
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.10011990
mov eax, 7
mov dword [ebp - 4], 2
mov dword [ebp - 0x84], eax
mov ecx, 0x101e95b0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10010790
movss xmm0, dword [0x1021e420]
mov byte [ebp - 0x7d], 0
movd xmm1, dword [eax]
cvtdq2ps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100c472c
mov byte [ebp - 0x7d], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x84]
test al, 4
je 0x100c4792
mov edx, dword [ebp - 0x68]
and eax, 0xfffffffb
mov dword [ebp - 0x84], eax
cmp edx, 0x10
jb 0x100c4780
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c4770
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c481f
push edx
push ecx
call fcn.10128808
mov eax, dword [ebp - 0x84]
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov dword [ebp - 4], 0
test al, 2
je 0x100c47ee
mov edx, dword [ebp - 0x50]
and eax, 0xfffffffd
mov dword [ebp - 0x84], eax
cmp edx, 0x10
jb 0x100c47dc
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c47cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c481f
push edx
push ecx
call fcn.10128808
mov eax, dword [ebp - 0x84]
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x100c482f
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100c482f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c4825
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c4825
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
cmp byte [ebp - 0x7d], 0
je 0x100c4ac0
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162d20]
mov dword [ebp - 0x20], 0x1f0a071e
mov dword [ebp - 0x1c], 0x6b050402
movups xmmword [ebp - 0x30], xmm0
nop
xor byte [ebp + eax - 0x30], 0x6b
inc eax
cmp eax, 0x18
jb 0x100c4860
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c4890
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10011990
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x101e95b0
call fcn.10010790
cmp dword [eax], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
sete byte [0x1021e42c]
cmp edx, 0x10
jb 0x100c4902
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c48f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c48f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162df0]
mov dword [ebp - 0x54], 0x341f050e
mov dword [ebp - 0x50], 0x1e070a1d
mov word [ebp - 0x4c], 0x6b0e
movups xmmword [ebp - 0x64], xmm0
nop
xor byte [ebp + eax - 0x64], 0x6b
inc eax
cmp eax, 0x1a
jb 0x100c4930
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c4960
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10011990
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
push eax
mov ecx, 0x101e95b0
call fcn.10010790
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
movss dword [0x1021e418], xmm0
cmp edx, 0x10
jb 0x100c49d7
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c49cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c49cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
movaps xmm0, xmmword [0x10163740]
mov eax, 0x10
pxor xmm0, xmmword [0x10162d30]
mov dword [ebp - 0x20], 0xa1d340e
mov dword [ebp - 0x1c], 0x6b0e1e07
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x30], 0x6b
inc eax
cmp eax, 0x18
jb 0x100c4a00
lea edx, [ebp - 0x30]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea ecx, [edx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100c4a30
sub edx, ecx
lea eax, [ebp - 0x30]
push edx
push eax
lea ecx, [ebp - 0x48]
call fcn.10011990
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 5
push eax
mov ecx, 0x101e95b0
call fcn.10010790
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
movss dword [0x1021e420], xmm0
cmp edx, 0x10
jb 0x100c4aa7
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c4a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c4a9d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov ecx, dword [0x101f4694]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
mov byte [0x1021e41c], al
mov byte [0x101e0784], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret