Function at 0x1000c590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10150b47
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x10209f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa0], edi
cmp byte [0x1020b820], 0
jne 0x1000c5fb
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x52
movups xmmword [ecx], xmm0
push str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10016120
call fcn.1000d190
add esp, 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0xe28317b
push eax
lea edx, [ebp - 0x98]
mov dword [ebp - 0x74], 0xa1004
lea ecx, [ebp - 0x100]
mov word [ebp - 0x70], 0x58
mov byte [ebp - 0x6e], 1
mov dword [ebp - 0x6c], 0xd3e307b
mov dword [ebp - 0x68], 0x1005f04
mov dword [ebp - 0x88], 0x133a2d7b
mov dword [ebp - 0x84], 0xa0c0b12
mov dword [ebp - 0x80], 0x5a020c
mov byte [ebp - 0x7c], 1
mov dword [ebp - 0x98], 0x52f2729
mov dword [ebp - 0x94], 0x30c0e5c
mov dword [ebp - 0x90], 0x13130a
mov byte [ebp - 0x8c], 1
call fcn.100098b0
add esp, 4
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [edi + 0x1b4]
cmp dword [edi + 0x1c8], 0xf
jbe 0x1000c69e
mov ecx, dword [edi + 0x1b4]
push dword [edi + 0x1c4]
push ecx
mov ecx, edx
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xe8]
call fcn.10008640
add esp, 4
mov byte [ebp - 4], 2
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x1000c6fe
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0xd0]
call fcn.100088d0
add esp, 4
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 4
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x1000c75f
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x1000c7c8
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c7be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c8e4
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x1000c821
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c817
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c8e4
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1000c85f
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c855
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c8e4
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x1000c8b4
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c8aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c8e4
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xec]
cmp ecx, 0xf
jbe 0x1000c8f4
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c8ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c8ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xf0], 0
lea eax, [edi + 0x60]
mov dword [ebp - 0x64], esp
mov ecx, esp
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
push eax
call fcn.10012540
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.10012540
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.1000cbb0
add esp, 0x30
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0xc
mov eax, esp
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov dword [eax + 0x24], 0
call fcn.100158f0
add esp, 0x30
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [ebp - 0x60], 0x33c2b2e
mov dword [ebp - 0x5c], 0x101104
mov byte [ebp - 0x58], 1
nop dword [eax + eax]
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x60], al
inc ecx
cmp ecx, 7
jb 0x1000c980
lea eax, [ebp - 0x51]
mov byte [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x59]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xb8]
call fcn.100157f0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x38]
call fcn.10011530
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 0x51], al
cmp ecx, 0xf
jbe 0x1000ca0e
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ca01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ca01
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
mov al, byte [ebp - 0x51]
add esp, 8
test al, al
je 0x1000caf0
lea eax, [edi + 0xd8]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000ca2b
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0xa8]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000ca43
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0xc0]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000ca5b
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0xf0]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000ca73
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x90]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000ca8b
mov eax, dword [eax]
mov byte [eax], 0
mov esi, dword [edi + 0x108]
mov eax, dword [edi + 0x10c]
cmp esi, eax
je 0x1000cac0
mov edi, eax
mov ecx, esi
call fcn.10005dd0
add esi, 0x30
cmp esi, edi
jne 0x1000caa0
mov edi, dword [ebp - 0xa0]
mov eax, dword [edi + 0x108]
mov dword [edi + 0x10c], eax
lea eax, [edi + 0x1b4]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000cad5
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x1cc]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x1000caed
mov eax, dword [eax]
mov byte [eax], 0
sub esp, 0x10
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.10011930
mov ecx, edi
call fcn.10005d30
lea ecx, [ebp - 0x38]
call fcn.100118d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1000cb3d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cb33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cb75
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x1000cb85
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cb7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cb7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f3936
mov esp, ebp
pop ebp
ret