Function at 0x5ebdb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7af4f4
mov eax, dword fs:[0]
push eax
sub esp, 0x538
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 esi, ecx
mov dword [ebp - 0x35c], esi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x38c], 0x13
mov dword [ebp - 0x388], 0xf900f5
mov dword [ebp - 0x384], 0xcf00ce
mov dword [ebp - 0x380], 0xdc00d8
mov dword [ebp - 0x37c], 0x9000ca
mov dword [ebp - 0x378], 0xc000e1
mov dword [ebp - 0x374], 0xd200d6
mov dword [ebp - 0x370], 0xc400d0
mov dword [ebp - 0x36c], 0xd600d2
mov dword [ebp - 0x368], 0xdf00da
mov dword [ebp - 0x364], 0xbc00c8
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x388], ax
inc ecx
mov eax, dword [ebp - 0x38c]
cmp ecx, eax
jb 0x5ebe70
xor ecx, ecx
mov dword [ebp - 0x5c], 7
mov word [ebp + eax*2 - 0x388], cx
xor eax, eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x388]
mov word [ebp - 0x70], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ebeb0
sub ecx, edx
lea eax, [ebp - 0x388]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 4
jne 0x5ebf8f
mov eax, 0xc
mov dword [ebp - 0x37c], 0xfa00f5
mov dword [ebp - 0x380], eax
xor ecx, ecx
mov dword [ebp - 0x378], 0xc900d9
mov dword [ebp - 0x374], 0xcb00cb
mov dword [ebp - 0x370], 0xd500dd
mov dword [ebp - 0x36c], 0xd100df
mov dword [ebp - 0x368], 0xc700d6
mov dword [ebp - 0x364], 0xb5
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x37c], ax
inc ecx
mov eax, dword [ebp - 0x380]
cmp ecx, eax
jb 0x5ebf40
xor ecx, ecx
mov word [ebp + eax*2 - 0x37c], cx
lea ecx, [ebp - 0x37c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ebf70
sub ecx, edx
lea eax, [ebp - 0x37c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
mov eax, dword [esi + 0xd0]
lea ecx, [ebp - 0x3a4]
add eax, 0x84
push eax
call fcn.00404120
push 0x7cf384
lea eax, [ebp - 0x3a4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0x78], 0
xor ecx, ecx
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 5
call fcn.00404490
push 0xb8
lea eax, [ebp - 0x34c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x34c]
push 1
push eax
call fcn.0041a550
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34c]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x340]
shr eax, 2
test al, 1
jne 0x5eca49
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
push 0
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.007725c0
push 0x74
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 7
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1e4]
call fcn.00774c70
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.007762f0
lea ecx, [ebp - 0x33c]
mov byte [ebp - 0x355], al
call fcn.0041b620
test eax, eax
jne 0x5ec0f5
mov ecx, dword [ebp - 0x34c]
lea eax, [ebp - 0x34c]
push 0
push 2
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp byte [ebp - 0x355], 0
je 0x5eca36
lea ecx, [ebp - 0x58]
call fcn.007740b0
test al, al
je 0x5eca36
push edi
lea ecx, [ebp - 0x40]
call fcn.00404120
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 0x3ec], 7
mov dword [ebp - 0x3e8], 0xdfd8cfda
mov dword [ebp - 0x3e4], 0xb0c1c1c4
call fcn.004131e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00772ae0
mov edx, dword [esi]
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x350], edi
mov edx, dword [edx + 0x14]
call edx
movaps xmm0, xmmword [0x7e52d0]
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x3a0], 0xc
movups xmmword [ebp - 0x39c], xmm0
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00772ae0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 5
mov edi, eax
mov dword [ebp - 0x1c], 0xc700cc
mov dword [ebp - 0x18], 0xd800db
mov dword [ebp - 0x14], 0xae00d4
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0x354], eax
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x5ec1c4
mov ecx, dword [ebp - 0x30]
sub edx, eax
sar edx, 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
cmp ecx, edx
jne 0x5ec412
push ecx
push dword [ebp - 0x354]
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5ec412
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 4
jne 0x5ec264
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x354], esp
push 0x7cf388
call fcn.00772470
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3a0]
movaps xmm0, xmmword [0x7e5670]
mov dword [ebp - 0x3a0], 0xe
movups xmmword [ebp - 0x39c], xmm0
call fcn.004131e0
mov edi, dword [ebp - 0x350]
mov ecx, edi
push eax
call fcn.00772ae0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00772890
jmp 0x5ec26a
mov edi, dword [ebp - 0x350]
cmp dword [ebp - 0x360], 3
je 0x5ec56b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x360], esp
push 5
call fcn.00772350
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3a4]
movaps xmm0, xmmword [0x7e5d10]
mov dword [ebp - 0x3a4], 0x12
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x390], 0xbbcacc
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00772ae0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00772890
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 1
jne 0x5ec56b
cmp byte [esi + 0x18], 0
je 0x5ec56b
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x3e0], 0x1a
mov dword [ebp - 0x3dc], 0xcf00da
mov dword [ebp - 0x3d8], 0xdf00d8
mov dword [ebp - 0x3d4], 0xc100c4
mov dword [ebp - 0x3d0], 0x9e00c1
mov dword [ebp - 0x3cc], 0xd700c3
mov dword [ebp - 0x3c8], 0xc000c0
mov dword [ebp - 0x3c4], 0xc400da
mov dword [ebp - 0x3c0], 0xe700d2
mov dword [ebp - 0x3bc], 0xd400d6
mov dword [ebp - 0x3b8], 0xcf00e4
mov dword [ebp - 0x3b4], 0xdf00c9
mov dword [ebp - 0x3b0], 0xb400cd
mov dword [ebp - 0x3ac], 0xb200b4
mov dword [ebp - 0x3a8], 0xc3
call fcn.00403e20
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3a4]
movaps xmm0, xmmword [0x7e5d10]
mov esi, dword [esi + 0xd0]
mov dword [ebp - 0x3a4], 0x12
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x390], 0xbbcacc
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00772ae0
lea ecx, [ebp - 0x378]
push ecx
mov ecx, eax
call fcn.00774be0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x240]
push eax
call fcn.0063c120
lea ecx, [ebp - 0x378]
call fcn.00407a10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00404490
jmp 0x5ec565
xor al, al
mov ecx, edi
mov dword [ebp - 0x354], eax
xor esi, esi
call fcn.00774b70
test eax, eax
je 0x5ec47f
push esi
mov ecx, edi
call fcn.00772990
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.007737d0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00405430
mov ecx, dword [ebp - 0x354]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x354], ecx
lea ecx, [ebp - 0x28]
call fcn.00404490
mov ecx, edi
inc esi
call fcn.00774b70
cmp esi, eax
jb 0x5ec427
cmp byte [ebp - 0x354], 0
jne 0x5ec565
mov ecx, edi
call fcn.00773ed0
lea ecx, [ebp - 0x28]
test al, al
jne 0x5ec541
xorps xmm0, xmm0
push 6
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.007725c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x3a4]
call fcn.007722a0
lea eax, [ebp - 0x3a4]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x28]
call fcn.007732a0
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0xe
call fcn.007727c0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x360], esp
push eax
call fcn.00772080
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x3a0]
movaps xmm0, xmmword [0x7e52d0]
mov dword [ebp - 0x3a0], 0xc
movups xmmword [ebp - 0x39c], xmm0
call fcn.004131e0
mov edi, dword [ebp - 0x350]
mov ecx, edi
push eax
call fcn.00772ae0
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00772890
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.007727c0
mov esi, dword [ebp - 0x35c]
jmp 0x5ec571
lea eax, [ebp - 0x40]
push eax
call fcn.007722a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.007732a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.007727c0
mov esi, dword [ebp - 0x35c]
mov edi, dword [ebp - 0x350]
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 1
jne 0x5ec68f
cmp byte [esi + 0x18], 0
je 0x5ec68f
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 0x3d4], 0x14
mov dword [ebp - 0x3d0], 0xcf00da
mov dword [ebp - 0x3cc], 0xdf00d8
mov dword [ebp - 0x3c8], 0xc100c4
mov dword [ebp - 0x3c4], 0x9e00c1
mov dword [ebp - 0x3c0], 0xc600c2
mov dword [ebp - 0x3bc], 0xc600d2
mov dword [ebp - 0x3b8], 0xc300c1
mov dword [ebp - 0x3b4], 0xe700c7
mov dword [ebp - 0x3b0], 0xc800cc
mov dword [ebp - 0x3ac], 0xcf00d7
mov dword [ebp - 0x3a8], 0xbd
call fcn.00403e20
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x3a0]
movaps xmm0, xmmword [0x7e52d0]
mov esi, dword [esi + 0xd0]
mov dword [ebp - 0x3a0], 0xc
movups xmmword [ebp - 0x39c], xmm0
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00772ae0
lea ecx, [ebp - 0x378]
push ecx
mov ecx, eax
call fcn.00774be0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x240]
push eax
call fcn.0063c120
lea ecx, [ebp - 0x378]
call fcn.00407a10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00404490
mov esi, dword [ebp - 0x35c]
push 0xb0
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d6f90
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 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 - 0x158]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x360], 7
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], 0x15
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x7c81a4
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
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 - 0x158], 0x7c8164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3a4]
mov eax, dword [esi + 0xd0]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x3a4]
cmp dword [ebp - 0x390], 8
push dword [ebp - 0x394]
cmovae eax, dword [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x388], 0x11
mov edx, eax
mov dword [ebp - 0x384], 0xd90089
mov dword [ebp - 0x380], 0xd800ce
xor ecx, ecx
mov dword [ebp - 0x37c], 0xdd008d
mov dword [ebp - 0x378], 0xd100db
mov dword [ebp - 0x374], 0xc600c3
mov dword [ebp - 0x370], 0xc40093
mov dword [ebp - 0x36c], 0xd100d4
mov dword [ebp - 0x368], 0x8200d2
mov dword [ebp - 0x364], 0xba0099
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x384], ax
inc ecx
mov eax, dword [ebp - 0x388]
cmp ecx, eax
jb 0x5ec7f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x384], cx
lea eax, [ebp - 0x384]
push eax
push edx
call fcn.00404740
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
push eax
call fcn.00404c80
add esp, 0x14
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3a4]
call fcn.00404490
call fcn.004345f0
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x544]
push eax
call fcn.005eca90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x360], edi
test edx, edx
je 0x5ec882
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5ec871
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x494]
push eax
call fcn.005e0770
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x354], eax
test edx, edx
je 0x5ec8cd
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5ec8b0
mov edi, dword [ebp - 0x360]
mov eax, dword [ebp - 0x354]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x35c]
push edi
push 0x6b1
push eax
push 1
call fcn.00469f50
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x7c81a4
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call fcn.004073e0
lea ecx, [ebp - 0x150]
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 - 0x108]
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 - 0xc0]
call fcn.0076f7c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00770250
push 0xb0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x19
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x294]
call fcn.00587130
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x294]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x288]
shr eax, 2
test al, 1
jne 0x5ec9f8
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004527e0
add esp, 0xc
lea ecx, [ebp - 0x290]
call fcn.0041b620
test eax, eax
jne 0x5ec9f8
push eax
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x294]
call fcn.005866b0
lea ecx, [ebp - 0xa0]
call fcn.00407a10
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc0], vtable.rR.0
call fcn.00407a10
lea ecx, [ebp - 0xc0]
call fcn.0076f850
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x1e4]
call fcn.00430850
lea ecx, [ebp - 0x58]
call fcn.007727c0
lea ecx, [ebp - 0x34c]
call fcn.00417f70
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0x70]
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 4