Function at 0x5ac420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7863
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
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 edx, ecx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x204], 0
mov eax, 0x10
mov dword [ebp - 0x1e0], eax
xor ecx, ecx
mov dword [ebp - 0x1dc], 0xca00e4
mov dword [ebp - 0x1d8], 0xc800df
mov dword [ebp - 0x1d4], 0xd400cf
mov dword [ebp - 0x1d0], 0xd100d1
mov dword [ebp - 0x1cc], 0xb500b3
mov dword [ebp - 0x1c8], 0xb100ad
mov dword [ebp - 0x1c4], 0xeb00a1
mov dword [ebp - 0x1c0], 0xb400ac
mov dword [ebp - 0x1bc], 0xc8
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1dc], ax
inc ecx
mov eax, dword [ebp - 0x1e0]
cmp ecx, eax
jb 0x5ac4d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1dc], cx
lea ecx, [ebp - 0x200]
mov eax, dword [edx + 0xd0]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x1dc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x200]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 7
mov word [ebp - 0x1dc], ax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00403b80
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x1ad], al
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x1dc]
call fcn.00404490
cmp byte [ebp - 0x1ad], 0
jne 0x5ac5c0
mov byte [ebp - 0x1ad], 0
jmp 0x5acab0
xor eax, eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 7
mov word [ebp - 0x1dc], ax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00403b80
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0xa
call fcn.00404220
lea ecx, [ebp - 0x1dc]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
push 0
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1ac]
call fcn.00773690
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00774de0
test al, al
je 0x5aca8b
lea ecx, [ebp - 0x58]
call fcn.00772ad0
test al, al
je 0x5aca8b
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x224], 0xdfd4d0cf
mov dword [ebp - 0x220], 0xbfcdcad3
call fcn.004131e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00771500
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x22c], edi
call fcn.007728f0
test al, al
je 0x5aca8b
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x230], esi
call fcn.00773590
test eax, eax
je 0x5aca8b
push esi
mov ecx, edi
call fcn.007713b0
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x5aca6f
xor eax, eax
mov dword [ebp - 0x23c], 4
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x238], 0xc8d8d8cc
mov byte [ebp - 0x234], 0xbc
mov word [ebp - 0x233], ax
mov byte [ebp - 0x231], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x204], edi
call fcn.007728f0
test al, al
je 0x5aca8b
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1b4], esi
call fcn.00773590
test eax, eax
je 0x5aca69
push esi
mov ecx, edi
call fcn.007713b0
mov edx, eax
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x20c], 0xc9ced7dd
xor ecx, ecx
mov dword [ebp - 0x208], 0xbfcdd8d5
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x20c], al
inc ecx
mov eax, dword [ebp - 0x210]
cmp ecx, eax
jb 0x5ac7b0
mov byte [ebp + eax - 0x20c], 0
mov ecx, edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00771500
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x240], esi
call fcn.007728f0
test al, al
je 0x5aca4d
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
xor eax, eax
mov byte [ebp - 4], 0xd
push eax
push 0x7cd378
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004044f0
mov ecx, esi
mov byte [ebp - 4], 0xe
xor edi, edi
call fcn.00773590
test eax, eax
je 0x5aca1b
push edi
mov ecx, esi
call fcn.007713b0
push 0x7d8664
mov ecx, eax
mov dword [ebp - 0x1b8], eax
call fcn.00771500
lea ecx, [ebp - 0x1d0]
push ecx
mov ecx, eax
call fcn.00772100
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x258]
call fcn.00405660
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5ac8bd
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x258]
call fcn.00404490
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0xe
call fcn.00407a10
mov eax, 5
mov dword [ebp - 0x218], 0xd7ced0cc
mov dword [ebp - 0x21c], eax
xor ecx, ecx
mov dword [ebp - 0x214], 0xbdd9
nop dword [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x218], al
inc ecx
mov eax, dword [ebp - 0x21c]
cmp ecx, eax
jb 0x5ac900
mov ecx, dword [ebp - 0x1b8]
mov byte [ebp + eax - 0x218], 0
lea eax, [ebp - 0x218]
push eax
call fcn.00771500
lea ecx, [ebp - 0x258]
push ecx
mov ecx, eax
call fcn.00772100
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1d0]
call fcn.00405660
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x5ac983
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x1d0]
call fcn.00404490
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0xe
call fcn.00407a10
xor eax, eax
mov dword [ebp - 0x1f4], 0xdedcdcca
mov ecx, 8
mov dword [ebp - 0x1f0], 0xcddbcfce
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 0x1ec], 0xc0
mov word [ebp - 0x1eb], ax
mov byte [ebp - 0x1e9], al
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x1f4], cl
inc eax
mov ecx, dword [ebp - 0x1f8]
cmp eax, ecx
jb 0x5ac9d2
lea eax, [ebp - 0x1f4]
mov byte [ebp + ecx - 0x1f4], 0
mov ecx, dword [ebp - 0x1b8]
push eax
call fcn.00772a60
test al, al
jne 0x5aca1b
mov esi, dword [ebp - 0x240]
inc edi
mov ecx, esi
call fcn.00773590
cmp edi, eax
jb 0x5ac850
call fcn.00451010
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
jne 0x5acad9
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov edi, dword [ebp - 0x204]
mov esi, dword [ebp - 0x1b4]
mov ecx, edi
inc esi
mov dword [ebp - 0x1b4], esi
call fcn.00773590
cmp esi, eax
jb 0x5ac786
mov edi, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x230]
mov ecx, edi
inc esi
mov dword [ebp - 0x230], esi
call fcn.00773590
cmp esi, eax
jb 0x5ac702
mov byte [ebp - 0x1ad], 0
lea ecx, [ebp - 0x1ac]
call fcn.00430850
lea ecx, [ebp - 0x58]
call fcn.007711e0
lea ecx, [ebp - 0x138]
call fcn.00407a10
lea ecx, [ebp - 0x70]
call fcn.00404490
mov al, byte [ebp - 0x1ad]
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
cmp dword [ebp - 0x30], 0
lea ecx, [ebp - 0x200]
lea eax, [ebp - 0x40]
jne 0x5acaeb
lea eax, [ebp - 0x28]
push eax
call fcn.00404120
mov edi, dword [ebp - 0x1e8]
lea eax, [ebp - 0x200]
lea esi, [edi + 0x1c]
cmp esi, eax
je 0x5acb3b
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x200]
xor eax, eax
mov word [ebp - 0x200], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1f0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1ec], 7
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x200]
call fcn.00404490
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5acb50
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [edi + 0xb8]
push eax
call fcn.004044f0
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x5acb7d
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004044f0
push 0xb0
lea eax, [ebp - 0x120]
mov byte [edi + 0xc], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x7d4f80
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x110], 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 - 0x108]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x204], 3
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], 0x12
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
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 - 0x108], 0x7c6164
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 0x13
mov eax, 0x12
mov dword [ebp - 0x1e4], eax
xor ecx, ecx
mov dword [ebp - 0x1e0], 0xdc00eb
mov dword [ebp - 0x1dc], 0xc800c9
mov dword [ebp - 0x1d8], 0xd200d5
mov dword [ebp - 0x1d4], 0x9f00d0
mov dword [ebp - 0x1d0], 0xa400a4
mov dword [ebp - 0x1cc], 0xa600b6
mov dword [ebp - 0x1c8], 0xb100a7
mov dword [ebp - 0x1c4], 0xa300a3
mov dword [ebp - 0x1c0], 0xe900f2
mov dword [ebp - 0x1bc], 0xca
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1e0], ax
inc ecx
mov eax, dword [ebp - 0x1e4]
cmp ecx, eax
jb 0x5accb0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1e0], cx
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00404740
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x5accf4
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
mov edx, dword [0x83df60]
add esp, 0xc
mov dword [ebp - 0x1b4], edx
test edx, edx
jne 0x5acd50
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x204], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1b4], 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 - 0x3b4]
push eax
call fcn.005ace60
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1b8], eax
test esi, esi
je 0x5acd8e
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5acd71
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x304]
push eax
call fcn.005a3fd0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1e8], eax
test esi, esi
je 0x5acdd0
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5acdb3
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1e8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x120]
push ecx
push dword [ebp - 0x1b8]
mov ecx, edx
push 0x338
push eax
push 1
call fcn.00469240
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
call fcn.004073e0
lea ecx, [ebp - 0x100]
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 - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov byte [ebp - 0x1ad], 1
jmp 0x5aca92