Function at 0x44fa60
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 0x4cd31a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x4ef400]
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 - 0x174], ecx
mov dword [ebp - 0x154], 0
cmp byte [0x4f068d], 0
jne 0x44fae7
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.0045b260
call fcn.00451b10
add esp, 0x18
lea ecx, [ebp - 0x68]
call fcn.00467790
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
movaps xmm0, xmmword [0x4e6d20]
lea edx, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x20], 0x6100943
mov dword [ebp - 0x1c], 0x802180c
mov word [ebp - 0x18], 0x50
mov byte [ebp - 0x16], 1
mov dword [ebp - 0x150], 0x5060843
mov dword [ebp - 0x14c], 0x100570c
mov dword [ebp - 0x170], 0x1b021543
mov dword [ebp - 0x16c], 0x204031a
mov dword [ebp - 0x168], 0x520a04
mov byte [ebp - 0x164], 1
mov dword [ebp - 0x160], 0x1100e43
mov dword [ebp - 0x15c], 0x100570d
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x3051c
mov byte [ebp - 0x178], 1
call fcn.004504b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0xf
mov eax, dword [edi + 0x14]
cmova edx, dword [ebp - 0x68]
mov esi, dword [edi + 0x10]
sub eax, esi
mov ecx, dword [ebp - 0x58]
cmp ecx, eax
ja 0x44fbdb
cmp dword [edi + 0x14], 0xf
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x44fbc5
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x44fbf4
push ecx
push edx
mov byte [ebp - 0x154], 0
push dword [ebp - 0x154]
push ecx
mov ecx, edi
call fcn.0045b0f0
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x1a4], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x194], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0x1ec]
call fcn.0044d680
add esp, 4
mov esi, dword [ebp - 0x174]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1b4]
push ecx
mov ecx, eax
call fcn.004573a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x1d4]
call fcn.0044b9b0
add esp, 4
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004573a0
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 - 0x20]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x1bc]
call fcn.0044bc60
add esp, 4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004573a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1a8]
cmp ecx, 0xf
jbe 0x44fd5c
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fd52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff0f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x208]
cmp ecx, 0xf
jbe 0x44fdb5
mov edx, dword [ebp - 0x21c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fdab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff0f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c0]
cmp ecx, 0xf
jbe 0x44fdf3
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fde9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff0f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x220]
cmp ecx, 0xf
jbe 0x44fe4c
mov edx, dword [ebp - 0x234]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fe42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff0f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1d8]
cmp ecx, 0xf
jbe 0x44fe8a
mov edx, dword [ebp - 0x1ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fe80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff0f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x190]
cmp ecx, 0xf
jbe 0x44fedf
mov edx, dword [ebp - 0x1a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fed5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ff0f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1f0]
cmp ecx, 0xf
jbe 0x44ff1f
mov edx, dword [ebp - 0x204]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44ff15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44ff15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x1f4], 0
lea eax, [esi + 0x60]
mov dword [ebp - 0x154], esp
mov ecx, esp
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 0x204], 0
push eax
call fcn.004574d0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.004574d0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.00451500
add esp, 8
mov byte [ebp - 4], 0x11
mov eax, esp
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x78]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.0045a5d0
add esp, 0x30
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [ebp - 0x150], 0x1b140308
mov dword [ebp - 0x14c], 0xe0d08
mov byte [ebp - 0x148], 1
lea eax, [ecx + 0x65]
xor byte [ebp + ecx - 0x150], al
inc ecx
cmp ecx, 7
jb 0x44ffb2
push ecx
lea eax, [ebp - 0x149]
mov byte [ebp - 0x148], 0
push eax
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18c]
call fcn.0045a4c0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x78]
call fcn.004567d0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.0045f4e0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x178]
cmp ecx, 0xf
jbe 0x450041
mov edx, dword [ebp - 0x18c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450037
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x450037
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
push 0xb0
lea eax, [ebp - 0x140]
mov dword [ebp - 0x17c], 0
push 0
push eax
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x140], 0x4e4c50
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x130], 0x4e4c28
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x154], 0x3fc
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x140]
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 - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x128]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov byte [ebp - 4], 0x18
xorps xmm0, xmm0
push 0x20
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.004cac75
mov edi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x20], edi
lea esi, [edi + 0x20]
movups xmmword [edi], xmm0
mov dword [ebp - 0x18], esi
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x24], 0xf
cmova eax, dword [ebp - 0x38]
mov edx, dword [ecx + 0x1dc]
add ecx, 0x1cc
cmp dword [ecx + 0x14], 0xf
jbe 0x45016b
mov ecx, dword [ecx]
push 0x20
push edi
push dword [ebp - 0x28]
push eax
call fcn.00466b50
add esp, 0x10
mov dword [ebp - 0x154], edi
cmp edi, esi
je 0x4501f7
nop dword [eax]
nop dword [eax + eax]
mov al, byte [edi]
lea ecx, [ebp - 0x130]
push 0x446df0
mov byte [ebp - 0x141], 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 - 0x170]
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]
add esp, 0xc
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 - 0x141]
add esp, 0xc
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_]
inc edi
cmp edi, dword [ebp - 0x18]
jne 0x450190
mov edi, dword [ebp - 0x20]
cmp dword [0x4ef64c], 0xf
lea eax, [ebp - 0x1a4]
mov esi, 0x4ef638
lea ecx, [ebp - 0x128]
cmova esi, dword [0x4ef638]
push eax
call fcn.00458860
mov ecx, dword [ebp - 0x190]
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 0x1a4]
cmp ecx, 0xf
movd xmm1, dword [esi]
cmova eax, edx
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [eax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
orps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
orps xmm1, xmm0
movd esi, xmm1
jbe 0x4502a0
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450296
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x450296
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
test esi, esi
je 0x4502ea
mov edx, dword [ebp - 0x40]
sub esp, 0x18
mov eax, accept
mov ecx, esp
sub eax, edx
mov dword [ebp - 0x158], ecx
cmp eax, 0x6b
jb 0x4504a4
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
push edx
cmova eax, dword [ebp - 0x50]
push eax
push 0x6b
push str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
push ecx
push dword [ebp - 0x158]
call fcn.0045c9e0
call fcn.00451b10
add esp, 0x18
push str.success
lea ecx, [ebp - 0x78]
call fcn.0045a100
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
mov byte [ebp - 0x141], al
test edi, edi
je 0x45033b
mov ecx, dword [ebp - 0x18]
sub ecx, edi
cmp ecx, 0x1000
jb 0x450331
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x450470
mov edi, edx
push ecx
push edi
call fcn.004ca5d3
add esp, 8
mov eax, dword [ebp - 0x140]
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 - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x128]
call fcn.004563c0
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd8]
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 - 0x3c]
cmp ecx, 0xf
jbe 0x4503b9
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4503af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450470
push ecx
push edx
call fcn.004ca5d3
add esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.00456c50
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x450403
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4503f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450470
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0xf
jbe 0x450448
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45043e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450470
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x450480
mov edx, dword [ebp - 0x68]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x450476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x450476
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov al, byte [ebp - 0x141]
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.004ca5c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00446680
int3