Function at 0x5aa000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a74aa
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x82f184]
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 - 0x190], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
mov eax, dword [edi + 0x14]
add eax, 0x84
mov dword [ebp - 0xf8], 0
push eax
movups xmmword [ebp - 0x118], xmm0
movups xmmword [ebp - 0x108], xmm0
call fcn.00404120
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x158]
call fcn.00403b80
mov byte [ebp - 4], 3
mov eax, 0x12
mov dword [ebp - 0x1c0], eax
xor ecx, ecx
mov dword [ebp - 0x1bc], 0xdc00c8
mov dword [ebp - 0x1b8], 0xd600c8
mov dword [ebp - 0x1b4], 0xce00d5
mov dword [ebp - 0x1b0], 0xd600cd
mov dword [ebp - 0x1ac], 0xaf00af
mov dword [ebp - 0x1a8], 0xed00b1
mov dword [ebp - 0x1a4], 0xb400b7
mov dword [ebp - 0x1a0], 0xae00aa
mov dword [ebp - 0x19c], 0xac00bc
mov dword [ebp - 0x198], 0xca
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x5aa140
xor ecx, ecx
mov word [ebp + eax*2 - 0x1bc], cx
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x158]
call fcn.004031c0
lea ecx, [ebp - 0x140]
call fcn.00404220
lea ecx, [ebp - 0x158]
call fcn.00404490
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 6
call fcn.00404490
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x218]
call fcn.00404120
mov dword [ebp - 0x17c], 3
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00405710
add esp, 8
lea ecx, [ebp - 0x218]
call fcn.00404490
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14]
call fcn.00647a00
test al, al
je 0x5aa7e2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x18c], ecx
cmp eax, ecx
je 0x5aaa64
nop dword [eax]
mov ecx, dword [eax]
xorps xmm0, xmm0
mov eax, dword [edi + 8]
movlpd qword [ebp - 0x44], xmm0
mov edi, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x184], edi
test edi, edi
je 0x5aa249
lock inc dword [edi + 4]
mov edi, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x184], edi
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 0xc
lea edx, [eax + 4]
movaps xmm0, xmmword [0x7e3c60]
xor ecx, ecx
mov eax, 0x30
mov byte [ebp - 0x138], 0xe8
movups xmmword [ebp - 0x168], xmm0
mov word [ebp - 0x137], cx
movaps xmm0, xmmword [0x7e4030]
mov byte [ebp - 0x135], cl
mov dword [ebp - 0x16c], eax
movups xmmword [ebp - 0x158], xmm0
cmp byte [ebp + 0xc], cl
je 0x5aa372
movaps xmm0, xmmword [0x7e3e00]
movups xmmword [ebp - 0x148], xmm0
nop
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x168], al
inc ecx
mov eax, dword [ebp - 0x16c]
cmp ecx, eax
jb 0x5aa2c0
mov byte [ebp + eax - 0x168], 0
lea eax, [ebp - 0x168]
push edx
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00431fb0
add esp, 0xc
push 2
push 0x7d8668
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0041b420
mov esi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x3c]
or esi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1e8], xmm0
movups xmmword [ebp - 0x200], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x1f0], xmm0
mov byte [eax], 0
call fcn.00407a10
mov dword [ebp - 0x1f0], 0
lea ecx, [ebp - 0x200]
mov dword [ebp - 0x1ec], 0xf
mov byte [ebp - 0x200], 0
jmp 0x5aa42d
movaps xmm0, xmmword [0x7e3e10]
movups xmmword [ebp - 0x148], xmm0
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x168], al
inc ecx
mov eax, dword [ebp - 0x16c]
cmp ecx, eax
jb 0x5aa380
mov byte [ebp + eax - 0x168], 0
lea eax, [ebp - 0x168]
push edx
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00431fb0
add esp, 0xc
push 2
push 0x7d8668
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0041b420
mov esi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x3c]
or esi, 8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1e8], xmm0
movups xmmword [ebp - 0x1d8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x1c8], xmm0
mov byte [eax], 0
call fcn.00407a10
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
movups xmm0, xmmword [ebp - 0x1e8]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x2c], xmm0
call fcn.00407a10
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xc
call fcn.00407a10
push 0xb0
lea eax, [ebp - 0xf4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf4], 0x7d4f80
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xe4], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
or esi, 0x10
lea ecx, [ebp - 0xf4]
push eax
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x134], esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable..7.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xdc], 0x7c6164
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0x11
xor eax, eax
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x154], 0xc100fd
mov dword [ebp - 0x150], 0xd800df
mov dword [ebp - 0x14c], 0xc900c9
mov dword [ebp - 0x148], 0xd100d7
mov dword [ebp - 0x144], 0xe100a7
mov dword [ebp - 0x140], 0xb600b3
mov dword [ebp - 0x13c], 0xb700a1
mov dword [ebp - 0x138], 0xc700bf
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x154], cx
inc eax
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
jb 0x5aa570
xor eax, eax
mov word [ebp + ecx*2 - 0x154], ax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00404740
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.004057b0
add esp, 0x10
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5aa5ca
mov eax, dword [eax]
push ecx
push eax
push esi
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1ac]
call fcn.00404490
mov edx, dword [0x83df60]
mov dword [ebp - 0x180], edx
test edx, edx
jne 0x5aa632
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x180], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83df60], edx
lea eax, [ebp - 0x388]
push eax
call fcn.005aaac0
mov dword [ebp - 0x134], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x188], ecx
xor ecx, ecx
test esi, esi
je 0x5aa67d
mov edx, dword [ebp - 0x188]
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5aa660
mov edx, dword [ebp - 0x180]
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x188]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2c4]
push eax
call fcn.005a3fd0
mov dword [ebp - 0x18], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x134], ecx
xor ecx, ecx
test esi, esi
je 0x5aa6ce
mov edx, dword [ebp - 0x134]
mov edi, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5aa6b1
mov edx, dword [ebp - 0x180]
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x134]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xf4]
push ecx
push dword [ebp - 0x188]
mov ecx, edx
push 0x276
push eax
push 1
call fcn.00469240
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable..7.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xdc]
call fcn.004073e0
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
movups xmmword [ebp - 0x24], xmm0
call fcn.00647b00
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5aa77c
cmp byte [ebp - 0x24], 0
je 0x5aa77c
push eax
call fcn.0069acc0
add esp, 4
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x24], 0
call fcn.00407a10
mov byte [ebp - 4], 0x14
test edi, edi
je 0x5aa7bc
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5aa7bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5aa7bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x194]
mov edi, dword [ebp - 0x190]
add eax, 4
mov dword [ebp - 0x194], eax
cmp eax, dword [ebp - 0x18c]
jne 0x5aa220
jmp 0x5aaa64
push 0xb0
lea eax, [ebp - 0xf4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf4], 0x7d4f80
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xe4], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x134], 0x23
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x16
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable..7.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xdc], 0x7c6164
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0x17
xor ecx, ecx
mov dword [ebp - 0x178], 0x1f
mov dword [ebp - 0x174], 0xd800fe
mov dword [ebp - 0x170], 0xd700d3
mov dword [ebp - 0x16c], 0xd900d9
mov dword [ebp - 0x168], 0xcb009e
mov dword [ebp - 0x164], 0xe100af
mov dword [ebp - 0x160], 0xb300ad
mov dword [ebp - 0x15c], 0xab00a1
mov dword [ebp - 0x158], 0xa100e6
mov dword [ebp - 0x154], 0xbb00a1
mov dword [ebp - 0x150], 0xad00af
mov dword [ebp - 0x14c], 0xb500a3
mov dword [ebp - 0x148], 0xab00ee
mov dword [ebp - 0x144], 0xa500b1
mov dword [ebp - 0x140], 0xb100b3
mov dword [ebp - 0x13c], 0xa600b5
mov dword [ebp - 0x138], 0xd700b3
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x174], ax
inc ecx
mov eax, dword [ebp - 0x178]
cmp ecx, eax
jb 0x5aa950
xor ecx, ecx
mov word [ebp + eax*2 - 0x174], cx
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x388]
push eax
call fcn.005aac60
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x190], edi
test edx, edx
je 0x5aa9c4
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5aa9b3
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x2c4]
push eax
call fcn.005a3fd0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5aa9f4
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5aa9e3
mov ecx, dword [ebp - 0x18c]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0x190]
push 0x27c
push edi
push 0
call fcn.00469240
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable..7.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xdc]
call fcn.004073e0
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5aaa79
mov edx, 1
call fcn.007058e0
lea ecx, [ebp - 0x130]
call fcn.00407a10
lea ecx, [ebp - 0x100]
call fcn.00404220
lea ecx, [ebp - 0x118]
call fcn.00404490
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.0076d59e
mov esp, ebp
pop ebp
ret 8