Function at 0x5ead40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7add64
mov eax, dword fs:[0]
push eax
sub esp, 0x538
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 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], 0xea00e4
mov dword [ebp - 0x384], 0xd800df
mov dword [ebp - 0x380], 0xcf00c9
mov dword [ebp - 0x37c], 0x9f00db
mov dword [ebp - 0x378], 0xb30090
mov dword [ebp - 0x374], 0xa500a7
mov dword [ebp - 0x370], 0xb700a1
mov dword [ebp - 0x36c], 0xa900a3
mov dword [ebp - 0x368], 0xac00ab
mov dword [ebp - 0x364], 0xcb00b9
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x388], ax
inc ecx
mov eax, dword [ebp - 0x38c]
cmp ecx, eax
jb 0x5eae00
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 0x5eae40
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 0x5eaf1f
mov eax, 0xc
mov dword [ebp - 0x37c], 0xe900e4
mov dword [ebp - 0x380], eax
xor ecx, ecx
mov dword [ebp - 0x378], 0xde00c8
mov dword [ebp - 0x374], 0xd800da
mov dword [ebp - 0x370], 0xda00cc
mov dword [ebp - 0x36c], 0xa200ae
mov dword [ebp - 0x368], 0xb000a7
mov dword [ebp - 0x364], 0xc4
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x37c], ax
inc ecx
mov eax, dword [ebp - 0x380]
cmp ecx, eax
jb 0x5eaed0
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 0x5eaf00
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 0x7cd374
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 0x5eb9d9
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 - 0x1e4]
mov byte [ebp - 4], 7
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1e4]
call fcn.00773690
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.00774d10
lea ecx, [ebp - 0x33c]
mov byte [ebp - 0x355], al
call fcn.0041b620
test eax, eax
jne 0x5eb085
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 0x5eb9c6
lea ecx, [ebp - 0x58]
call fcn.00772ad0
test al, al
je 0x5eb9c6
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], 0xc8c9dccb
mov dword [ebp - 0x3e4], 0xbfd0d2d5
call fcn.004131e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00771500
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 [0x7e3330]
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.00771500
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 5
mov edi, eax
mov dword [ebp - 0x1c], 0xd400dd
mov dword [ebp - 0x18], 0xcf00ca
mov dword [ebp - 0x14], 0xbd00c5
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 0x5eb154
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 0x5eb3a2
push ecx
push dword [ebp - 0x354]
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5eb3a2
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 4
jne 0x5eb1f4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x354], esp
push 0x7cd378
call fcn.00770e90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3a0]
movaps xmm0, xmmword [0x7e3560]
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.00771500
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.007712b0
jmp 0x5eb1fa
mov edi, dword [ebp - 0x350]
cmp dword [ebp - 0x360], 3
je 0x5eb4fb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x360], esp
push 5
call fcn.00770d70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3a4]
movaps xmm0, xmmword [0x7e3be0]
mov dword [ebp - 0x3a4], 0x12
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x390], 0xcab9bd
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.007712b0
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 1
jne 0x5eb4fb
cmp byte [esi + 0x18], 0
je 0x5eb4fb
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x3e0], 0x1a
mov dword [ebp - 0x3dc], 0xdc00cb
mov dword [ebp - 0x3d8], 0xc800c9
mov dword [ebp - 0x3d4], 0xd200d5
mov dword [ebp - 0x3d0], 0x9100d0
mov dword [ebp - 0x3cc], 0xa400b2
mov dword [ebp - 0x3c8], 0xb700b1
mov dword [ebp - 0x3c4], 0xb700ab
mov dword [ebp - 0x3c0], 0x9800a3
mov dword [ebp - 0x3bc], 0xa700a7
mov dword [ebp - 0x3b8], 0xb80095
mov dword [ebp - 0x3b4], 0xac00b8
mov dword [ebp - 0x3b0], 0xbb00bc
mov dword [ebp - 0x3ac], 0xa100a5
mov dword [ebp - 0x3a8], 0xd2
call fcn.00403e20
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3a4]
movaps xmm0, xmmword [0x7e3be0]
mov esi, dword [esi + 0xd0]
mov dword [ebp - 0x3a4], 0x12
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x390], 0xcab9bd
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00771500
lea ecx, [ebp - 0x378]
push ecx
mov ecx, eax
call fcn.00773600
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.0063b3c0
lea ecx, [ebp - 0x378]
call fcn.00407a10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00404490
jmp 0x5eb4f5
xor al, al
mov ecx, edi
mov dword [ebp - 0x354], eax
xor esi, esi
call fcn.00773590
test eax, eax
je 0x5eb40f
push esi
mov ecx, edi
call fcn.007713b0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.007721f0
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.00773590
cmp esi, eax
jb 0x5eb3b7
cmp byte [ebp - 0x354], 0
jne 0x5eb4f5
mov ecx, edi
call fcn.007728f0
lea ecx, [ebp - 0x28]
test al, al
jne 0x5eb4d1
xorps xmm0, xmm0
push 6
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00770fe0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x3a4]
call fcn.00770cc0
lea eax, [ebp - 0x3a4]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x28]
call fcn.00771cc0
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0xe
call fcn.007711e0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x360], esp
push eax
call fcn.00770aa0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x3a0]
movaps xmm0, xmmword [0x7e3330]
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.00771500
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.007712b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.007711e0
mov esi, dword [ebp - 0x35c]
jmp 0x5eb501
lea eax, [ebp - 0x40]
push eax
call fcn.00770cc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.00771cc0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.007711e0
mov esi, dword [ebp - 0x35c]
mov edi, dword [ebp - 0x350]
mov eax, dword [esi + 0xd0]
cmp dword [eax + 8], 1
jne 0x5eb61f
cmp byte [esi + 0x18], 0
je 0x5eb61f
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 0x3d4], 0x14
mov dword [ebp - 0x3d0], 0xdc00cb
mov dword [ebp - 0x3cc], 0xc800c9
mov dword [ebp - 0x3c8], 0xd200d5
mov dword [ebp - 0x3c4], 0x9100d0
mov dword [ebp - 0x3c0], 0xb500b3
mov dword [ebp - 0x3bc], 0xb100a3
mov dword [ebp - 0x3b8], 0xb000b0
mov dword [ebp - 0x3b4], 0x9800b6
mov dword [ebp - 0x3b0], 0xbb00bd
mov dword [ebp - 0x3ac], 0xb800a6
mov dword [ebp - 0x3a8], 0xcc
call fcn.00403e20
push eax
lea ecx, [ebp - 0x28]
call fcn.004040b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x3a0]
movaps xmm0, xmmword [0x7e3330]
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.00771500
lea ecx, [ebp - 0x378]
push ecx
mov ecx, eax
call fcn.00773600
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.0063b3c0
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], 0x7d4f80
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 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 - 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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xca0098
mov dword [ebp - 0x380], 0xcf00df
xor ecx, ecx
mov dword [ebp - 0x37c], 0xce009c
mov dword [ebp - 0x378], 0xde00ca
mov dword [ebp - 0x374], 0xb500b2
mov dword [ebp - 0x370], 0xb300e2
mov dword [ebp - 0x36c], 0xa200a5
mov dword [ebp - 0x368], 0xfd00a3
mov dword [ebp - 0x364], 0xc900e8
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x384], ax
inc ecx
mov eax, dword [ebp - 0x388]
cmp ecx, eax
jb 0x5eb780
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.00434600
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x544]
push eax
call fcn.005eba20
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x360], edi
test edx, edx
je 0x5eb812
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5eb801
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x494]
push eax
call fcn.005df700
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x354], eax
test edx, edx
je 0x5eb85d
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5eb840
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.00469240
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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.0076e1e0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0076ec70
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.00585fb0
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 0x5eb988
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.00586330
add esp, 0xc
lea ecx, [ebp - 0x290]
call fcn.0041b620
test eax, eax
jne 0x5eb988
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.00585530
lea ecx, [ebp - 0xa0]
call fcn.00407a10
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc0], 0x7cae20
call fcn.00407a10
lea ecx, [ebp - 0xc0]
call fcn.0076e270
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x1e4]
call fcn.00430850
lea ecx, [ebp - 0x58]
call fcn.007711e0
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.0076d59e
mov esp, ebp
pop ebp
ret 4