Function at 0x1000a470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041d85
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10051018]
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, dword [0x10052f10]
lea eax, [ebp - 0xc0]
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.10003ba0
mov dword [ebp - 4], 0
mov cl, 0xa
movaps xmm0, xmmword [0x1004a860]
mov al, 0x57
xor al, cl
mov byte [ebp - 0xc4], cl
mov byte [ebp - 0xc2], 0
xor ecx, ecx
mov byte [ebp - 0xc3], al
mov byte [ebp - 0xc2], 0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], 0xe7521
nop word [eax + eax]
mov al, byte [ebp - 0xd8]
xor byte [ebp + ecx - 0xd7], al
inc ecx
cmp ecx, 0x12
jb 0x1000a510
push 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xc5], 0
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea edx, [ebp - 0xd7]
lea ecx, [ebp - 0xc0]
mov edi, eax
push 0x10002130
push 0x10002150
call fcn.10005070
mov ecx, 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___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, 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___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edx, edi
mov ecx, eax
call fcn.100052b0
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, edi
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___unsigned_long_int_]
lea edx, [ebp - 0xc3]
mov ecx, eax
call fcn.10005070
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc0]
call fcn.10003b80
mov byte [ebp - 4], 1
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push edi
push ecx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000a5e0
push 0x100097e0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x10052f40], eax
mov ecx, esi
call fcn.1000a140
cmp dword [esi], 0
jne 0x1000a633
push 4
call fcn.1003fee6
add esp, 4
mov edi, eax
mov ecx, 0x10b81f8
mov dword [ebp - 0xc4], edi
call fcn.1000eed0
mov ecx, dword [eax + 0x1d4]
mov eax, dword [ecx + 4]
mov dword [edi], eax
test eax, eax
je 0x1000a62b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a62b
call fcn.100139f0
jmp 0x1000a631
mov dword [edi], 0
mov dword [esi], edi
cmp dword [esi + 4], 0
jne 0x1000a65b
push 8
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10013aa0
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
cmp dword [esi + 8], 0
jne 0x1000a683
push 4
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.100141e0
mov byte [ebp - 4], 1
mov dword [esi + 8], eax
cmp dword [esi + 0xc], 0
jne 0x1000a6ab
push 4
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10013ff0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], eax
cmp dword [esi + 0x10], 0
jne 0x1000a6d3
push 0x10
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.100144e0
mov byte [ebp - 4], 1
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x1000a6fe
push 0xa4
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10014f40
mov byte [ebp - 4], 1
mov dword [esi + 0x14], eax
cmp dword [esi + 0x18], 0
jne 0x1000a726
push 0xc
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10015ad0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], eax
cmp dword [esi + 0x1c], 0
jne 0x1000a74e
push 0x30
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.10015e20
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x20], 0
jne 0x1000a776
push 0x24
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.10017980
mov byte [ebp - 4], 1
mov dword [esi + 0x20], eax
cmp dword [esi + 0x24], 0
jne 0x1000a79e
push 0x38
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.10018c70
mov byte [ebp - 4], 1
mov dword [esi + 0x24], eax
cmp dword [esi + 0x28], 0
jne 0x1000a7c6
push 8
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.10019750
mov byte [ebp - 4], 1
mov dword [esi + 0x28], eax
cmp dword [esi + 0x2c], 0
jne 0x1000a7ee
push 0x28
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.10019940
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x30], 0
jne 0x1000a816
push 0x1c
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.1001b1b0
mov byte [ebp - 4], 1
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], 0
jne 0x1000a83e
push 0x60
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.10017280
mov byte [ebp - 4], 1
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], 0
jne 0x1000a866
push 0x40
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.1001bc70
mov byte [ebp - 4], 1
mov dword [esi + 0x38], eax
cmp dword [esi + 0x3c], 0
jne 0x1000a891
push 0x150
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.1001c930
mov byte [ebp - 4], 1
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x40], 0
jne 0x1000a8cb
push 0x170
call fcn.1003fee6
mov edi, eax
mov dword [ebp - 0xc4], edi
push 0x170
push 0
push edi
mov byte [ebp - 4], 0x11
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
call fcn.100200e0
mov byte [ebp - 4], 1
mov dword [esi + 0x40], eax
cmp dword [esi + 0x44], 0
jne 0x1000a8ff
push 0x30
call fcn.1003fee6
mov edi, eax
mov dword [ebp - 0xc4], edi
push 0x30
push 0
push edi
mov byte [ebp - 4], 0x12
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
call fcn.100244d0
mov byte [ebp - 4], 1
mov dword [esi + 0x44], eax
cmp dword [esi + 0x48], 0
jne 0x1000a933
push 0x40
call fcn.1003fee6
mov edi, eax
mov dword [ebp - 0xc4], edi
push 0x40
push 0
push edi
mov byte [ebp - 4], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
call fcn.10025e70
mov byte [ebp - 4], 1
mov dword [esi + 0x48], eax
cmp dword [esi + 0x4c], 0
jne 0x1000a95e
push 0x108
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.10027740
mov byte [ebp - 4], 1
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x50], 0
jne 0x1000a998
push 0xdc
call fcn.1003fee6
mov edi, eax
mov dword [ebp - 0xc4], edi
push 0xdc
push 0
push edi
mov byte [ebp - 4], 0x15
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
call fcn.10029590
mov byte [ebp - 4], 1
mov dword [esi + 0x50], eax
cmp dword [esi + 0x54], 0
jne 0x1000a9cd
push 0x14
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0x16
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
mov dword [eax + 0x10], 0
call fcn.1002c150
mov byte [ebp - 4], 1
mov dword [esi + 0x54], eax
cmp dword [esi + 0x58], 0
jne 0x1000a9f8
push 0x228
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.1002d020
mov byte [ebp - 4], 1
mov dword [esi + 0x58], eax
cmp dword [esi + 0x5c], 0
jne 0x1000aa20
push 0x1c
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.10039020
mov byte [ebp - 4], 1
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x60], 0
jne 0x1000aa44
push 0x20
call fcn.1003fee6
add esp, 4
mov dword [ebp - 0xc4], eax
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.1003a420
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000aa56
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10004c80
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.10004a60
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x70]
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 - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret