Function at 0x5ab010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8c4a
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x831184]
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], 0xcf00d9
mov dword [ebp - 0x1b8], 0xc100d9
mov dword [ebp - 0x1b4], 0xdd00c4
mov dword [ebp - 0x1b0], 0xd900dc
mov dword [ebp - 0x1ac], 0xdc00de
mov dword [ebp - 0x1a8], 0x9a00c0
mov dword [ebp - 0x1a4], 0xc700c6
mov dword [ebp - 0x1a0], 0xd100db
mov dword [ebp - 0x19c], 0xdf00cd
mov dword [ebp - 0x198], 0xbb
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1bc], ax
inc ecx
mov eax, dword [ebp - 0x1c0]
cmp ecx, eax
jb 0x5ab150
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.00648730
test al, al
je 0x5ab7f2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x18c], ecx
cmp eax, ecx
je 0x5aba74
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 0x5ab259
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 [0x7e5ce0]
xor ecx, ecx
mov eax, 0x30
mov byte [ebp - 0x138], 0xd9
movups xmmword [ebp - 0x168], xmm0
mov word [ebp - 0x137], cx
movaps xmm0, xmmword [0x7e6130]
mov byte [ebp - 0x135], cl
mov dword [ebp - 0x16c], eax
movups xmmword [ebp - 0x158], xmm0
cmp byte [ebp + 0xc], cl
je 0x5ab382
movaps xmm0, xmmword [0x7e61d0]
movups xmmword [ebp - 0x148], xmm0
nop
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x168], al
inc ecx
mov eax, dword [ebp - 0x16c]
cmp ecx, eax
jb 0x5ab2d0
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 0x7da6b4
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 0x5ab43d
movaps xmm0, xmmword [0x7e61e0]
movups xmmword [ebp - 0x148], xmm0
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x168], al
inc ecx
mov eax, dword [ebp - 0x16c]
cmp ecx, eax
jb 0x5ab390
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 0x7da6b4
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], 0x7d6f90
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xe4], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
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], 0xd200ec
mov dword [ebp - 0x150], 0xcf00ce
mov dword [ebp - 0x14c], 0xda00d8
mov dword [ebp - 0x148], 0xde00c6
mov dword [ebp - 0x144], 0x9200d6
mov dword [ebp - 0x140], 0xc100c2
mov dword [ebp - 0x13c], 0xc400d0
mov dword [ebp - 0x138], 0xb800ce
nop dword [eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x154], cx
inc eax
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
jb 0x5ab580
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 0x5ab5da
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 [0x83ff50]
mov dword [ebp - 0x180], edx
test edx, edx
jne 0x5ab642
push 0x20
call fcn.0076e8c3
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 [0x83ff50], edx
lea eax, [ebp - 0x388]
push eax
call fcn.005abad0
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 0x5ab68d
mov edx, dword [ebp - 0x188]
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5ab670
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.005a4fe0
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 0x5ab6de
mov edx, dword [ebp - 0x134]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5ab6c1
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.00469f50
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], 0x7c81a4
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.00648830
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5ab78c
cmp byte [ebp - 0x24], 0
je 0x5ab78c
push eax
call fcn.0069b9d0
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 0x5ab7cc
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5ab7cc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5ab7cc
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 0x5ab230
jmp 0x5aba74
push 0xb0
lea eax, [ebp - 0xf4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf4], 0x7d6f90
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xe4], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
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], 0xcb00ef
mov dword [ebp - 0x170], 0xc000c2
mov dword [ebp - 0x16c], 0xca00c8
mov dword [ebp - 0x168], 0xc4008f
mov dword [ebp - 0x164], 0x9200de
mov dword [ebp - 0x160], 0xc400dc
mov dword [ebp - 0x15c], 0xd800d0
mov dword [ebp - 0x158], 0xde0097
mov dword [ebp - 0x154], 0xc800d0
mov dword [ebp - 0x150], 0xda00de
mov dword [ebp - 0x14c], 0xc600d2
mov dword [ebp - 0x148], 0xa4009f
mov dword [ebp - 0x144], 0xb600a0
mov dword [ebp - 0x140], 0xa600a2
mov dword [ebp - 0x13c], 0xb500a4
mov dword [ebp - 0x138], 0xc800a2
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x174], ax
inc ecx
mov eax, dword [ebp - 0x178]
cmp ecx, eax
jb 0x5ab960
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.004345f0
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x388]
push eax
call fcn.005abc70
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x190], edi
test edx, edx
je 0x5ab9d4
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5ab9c3
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x2c4]
push eax
call fcn.005a4fe0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5aba04
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5ab9f3
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.00469f50
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], 0x7c81a4
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 0x5aba89
mov edx, 1
call fcn.00706610
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.0076eb7e
mov esp, ebp
pop ebp
ret 8