Function at 0x1000aa00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101508f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
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 esi, ecx
mov dword [ebp - 0x15c], esi
cmp byte [0x1020b820], 0
jne 0x1000aa6b
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
mov dword [ebp - 0x158], 0xe28317b
xor ecx, ecx
mov dword [ebp - 0x154], 0xa1004
mov word [ebp - 0x150], 0x58
mov byte [ebp - 0x14e], 1
mov dword [ebp - 0x134], 0xd3e307b
mov dword [ebp - 0x130], 0x1005f04
mov dword [ebp - 0x14c], 0x133a2d7b
mov dword [ebp - 0x148], 0xa0c0b12
mov dword [ebp - 0x144], 0x5a020c
mov byte [ebp - 0x140], 1
mov dword [ebp - 0x1c], 0x52f2729
mov dword [ebp - 0x18], 0x10b015c
mov dword [ebp - 0x14], 0x1000d06
nop
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x14c], al
inc ecx
cmp ecx, 0xb
jb 0x1000aae0
lea eax, [ebp - 0x125]
mov byte [ebp - 0x140], 0
push eax
lea eax, [ebp - 0x141]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100157f0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x11], 0
je 0x1000ab37
xor ecx, ecx
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1000ab26
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x125]
push eax
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.100157f0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x174]
call fcn.100176c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1000aba6
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ab9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae4a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x178]
cmp ecx, 0xf
jbe 0x1000abe7
mov edx, dword [ebp - 0x18c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000abdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae4a
push ecx
push edx
call fcn.100f340e
add esp, 8
lea eax, [esi + 0x1b4]
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1000abff
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x174]
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x17c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x18c]
lea ecx, [ebp - 0x1d4]
call fcn.10008640
add esp, 4
mov byte [ebp - 4], 4
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x1000ac61
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1a4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x194], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0x1bc]
call fcn.100088d0
add esp, 4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 6
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x1000acc5
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1a8]
cmp ecx, 0xf
jbe 0x1000ad2e
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ad24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae4a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x190]
cmp ecx, 0xf
jbe 0x1000ad87
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ad7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae4a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c0]
cmp ecx, 0xf
jbe 0x1000adc5
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000adbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae4a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
cmp ecx, 0xf
jbe 0x1000ae1a
mov edx, dword [ebp - 0x18c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ae10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae4a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x1000ae5a
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ae50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ae50
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 - 0x164], 0
lea eax, [esi + 0x60]
mov dword [ebp - 0x138], esp
mov ecx, esp
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
push eax
call fcn.10012540
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.10012540
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.1000cbb0
add esp, 0x30
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0xe
mov eax, esp
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x74]
mov dword [eax + 0x24], 0
call fcn.100158f0
add esp, 0x30
mov byte [ebp - 4], 0xf
xor ecx, ecx
mov dword [ebp - 0x134], 0x132c3b30
mov dword [ebp - 0x130], 0x60500
mov byte [ebp - 0x12c], 1
nop dword [eax]
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x134], al
inc ecx
cmp ecx, 7
jb 0x1000aef0
lea eax, [ebp - 0x125]
mov byte [ebp - 0x12c], 0
push eax
lea eax, [ebp - 0x12d]
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x174]
call fcn.100157f0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x74]
call fcn.10011530
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.100154c0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x1000af85
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000af7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000af7b
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
push 0xb0
lea eax, [ebp - 0x124]
mov dword [ebp - 0x164], 0
push 0
push eax
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.10010320
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
push 0x20
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.100f33de
mov edi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x1c], edi
lea esi, [edi + 0x20]
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], esi
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
lea ecx, [eax + 0x1cc]
cmp dword [ebp - 0x38], 0xf
cmova edx, dword [ebp - 0x4c]
cmp dword [ecx + 0x14], 0xf
jbe 0x1000b019
mov ecx, dword [ecx]
push 0x20
push edi
push dword [ebp - 0x3c]
push edx
mov edx, dword [eax + 0x1dc]
call fcn.10021920
add esp, 0x10
mov dword [ebp - 0x138], edi
mov eax, edi
cmp edi, esi
je 0x1000b0b2
mov edi, dword [ebp - 0x14]
nop dword [eax]
mov al, byte [eax]
lea ecx, [ebp - 0x114]
push 0x100042f0
mov byte [ebp - 0x125], al
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov esi, eax
lea eax, [ebp - 0x14c]
push 0
push 2
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov byte [ecx + esi + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, dword [esi]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
movzx eax, byte [ebp - 0x125]
add esp, 0x18
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
cmp eax, edi
jne 0x1000b040
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmp dword [0x1020a474], 0xf
lea ecx, [ebp - 0x124]
mov eax, 0x1020a460
cmova eax, dword [0x1020a460]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.10010230
cmp dword [eax + 0x14], 0xf
jbe 0x1000b0e5
mov eax, dword [eax]
movd xmm1, dword [eax]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x190]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
movd xmm0, dword [eax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
psrad xmm1, 0x18
xorps xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
orps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
orps xmm1, xmm0
movd eax, xmm1
mov dword [ebp - 0x138], eax
cmp ecx, 0xf
jbe 0x1000b172
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b162
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b162
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 eax, dword [ebp - 0x138]
add esp, 8
test eax, eax
je 0x1000b1bf
mov edx, dword [ebp - 0x24]
sub esp, 0x18
mov eax, bind
mov ecx, esp
sub eax, edx
mov dword [ebp - 0x13c], ecx
cmp eax, 0x6b
jb 0x1000b331
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push edx
cmova eax, dword [ebp - 0x34]
push eax
push 0x6b
push str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x13c]
call fcn.10017850
call fcn.1000d190
add esp, 0x18
sub esp, 0x10
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.10011930
mov ecx, dword [ebp - 0x15c]
call fcn.10005d30
test edi, edi
je 0x1000b206
sub esi, edi
cmp esi, 0x1000
jb 0x1000b1fc
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1000b306
mov edi, ecx
push esi
push edi
call fcn.100f340e
add esp, 8
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x128], eax
lea ecx, [ebp - 0x10c]
call fcn.10010180
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000b284
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b27a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b306
push ecx
push edx
call fcn.100f340e
add esp, 8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.100118d0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x1000b2ce
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b2c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b306
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x1000b316
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b30c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b30c
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
call fcn.10003b20
int3