Function at 0x1000b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101509f1
mov eax, dword fs:[0]
push eax
sub esp, 0x210
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 - 0x170], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 0
cmp byte [0x1020b820], 0
jne 0x1000b3c1
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 - 0x1c], 0xe28317b
xor ecx, ecx
mov dword [ebp - 0x18], 0xa1004
mov word [ebp - 0x14], 0x58
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x15c], 0xd3e307b
mov dword [ebp - 0x158], 0x1005f04
mov dword [ebp - 0x14c], 0x133a2d7b
mov dword [ebp - 0x148], 0xa0c0b12
mov dword [ebp - 0x144], 0x5a020c
mov byte [ebp - 0x140], 1
mov dword [ebp - 0x134], 0x123e287b
mov dword [ebp - 0x130], 0x5e0608
mov byte [ebp - 0x12c], 1
mov dword [ebp - 0x168], 0x52f2729
mov dword [ebp - 0x164], 0x1602145c
mov word [ebp - 0x160], 0x100
nop dword [eax]
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x134], al
inc ecx
cmp ecx, 7
jb 0x1000b450
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 - 0x64]
call fcn.100157f0
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x168]
call fcn.10008830
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x1ec]
call fcn.100176c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x174]
cmp ecx, 0xf
jbe 0x1000b4ee
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b4e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b533
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
cmp ecx, 0xf
jbe 0x1000b543
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b539
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b539
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 byte [ebp - 4], 3
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0xf
lea ecx, [ebp - 0x1ec]
push dword [ebp + 0x1c]
cmova eax, dword [ebp + 0xc]
push eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x21c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x1d4]
call fcn.10009c50
add esp, 4
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x1000b5bd
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x204], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1f4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x1bc]
call fcn.10008640
add esp, 4
mov byte [ebp - 4], 7
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x1000b61b
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x188], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x178], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x188]
lea ecx, [ebp - 0x1a4]
call fcn.100088d0
add esp, 4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 9
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x1000b67c
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], 0xb
mov ecx, dword [ebp - 0x190]
cmp ecx, 0xf
jbe 0x1000b6e5
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b6db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b85a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x174]
cmp ecx, 0xf
jbe 0x1000b73e
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b734
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b85a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1a8]
cmp ecx, 0xf
jbe 0x1000b77c
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b85a
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], 0xe
mov ecx, dword [ebp - 0x1f0]
cmp ecx, 0xf
jbe 0x1000b7d5
mov edx, dword [ebp - 0x204]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b7cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b85a
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c0]
cmp ecx, 0xf
jbe 0x1000b80f
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b805
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b85a
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], 0x10
mov ecx, dword [ebp - 0x208]
cmp ecx, 0xf
jbe 0x1000b86a
mov edx, dword [ebp - 0x21c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b860
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b860
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
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x11
call fcn.100122f0
sub esp, 0x18
lea eax, [esi + 0x60]
mov ecx, esp
mov dword [ebp - 0x138], esp
push eax
call fcn.10012540
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.10012540
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.1000cbb0
add esp, 0x30
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0x13
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], 0x14
xor ecx, ecx
mov dword [ebp - 0x134], 0x132c3b30
mov dword [ebp - 0x130], 0x60500
mov byte [ebp - 0x12c], 1
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x134], al
inc ecx
cmp ecx, 7
jb 0x1000b8f1
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 - 0x154]
call fcn.100157f0
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x15
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], 0x17
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x1000b986
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b97c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b97c
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 - 0x144], 0
push 0
push eax
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.10010320
mov byte [ebp - 4], 0x18
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 - 0x170]
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0x1cc]
cmp dword [ebp - 0x38], 0xf
cmova edx, dword [ebp - 0x4c]
cmp dword [ecx + 0x14], 0xf
jbe 0x1000ba1a
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 0x1000bab2
mov edi, dword [ebp - 0x14]
nop
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
push 0
push 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
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 0x1000ba40
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 - 0x1ec]
push eax
call fcn.10010230
cmp dword [eax + 0x14], 0xf
jbe 0x1000bae5
mov eax, dword [eax]
movd xmm1, dword [eax]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x1d8]
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 0x1000bb72
mov edx, dword [ebp - 0x1ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bb62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000bb62
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 0x1000bbbf
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 0x1000be32
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 - 0x170]
call fcn.10005d30
mov dword [ebp - 0x134], 0x132c3b30
xor ecx, ecx
mov dword [ebp - 0x130], 0x60500
mov byte [ebp - 0x12c], 1
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x134], al
inc ecx
cmp ecx, 7
jb 0x1000bbf5
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 - 0x154]
call fcn.100157f0
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x74]
call fcn.10011530
push dword [ebp - 0x16c]
mov ecx, eax
call fcn.100154c0
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x1000bc86
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bc7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000bdff
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
test edi, edi
je 0x1000bccf
sub esi, edi
cmp esi, 0x1000
jb 0x1000bcc5
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1000bdff
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 0x1000bd4d
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bd43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000bdff
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 0x1000bd97
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bd8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000bdff
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 0x1000bdd9
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bdcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000bdff
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x1000be0f
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000be05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000be05
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 eax, dword [ebp - 0x16c]
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 0x1c
call fcn.10003b20
int3