Function at 0x5fd730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7af9f7
mov eax, dword fs:[0]
push eax
sub esp, 0x510
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 dword [ebp - 0x394], ecx
mov edi, dword [ebp + 8]
mov eax, 6
mov dword [ebp - 0x360], 0
xor ecx, ecx
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], 0xd800c1
mov dword [ebp - 0x34c], 0xdf00d4
mov dword [ebp - 0x348], 0xc500d9
mov dword [ebp - 0x344], 0xbe
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x350], ax
inc ecx
mov eax, dword [ebp - 0x354]
cmp ecx, eax
jb 0x5fd7b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x350], cx
lea ecx, [ebp - 0x350]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5fd7e0
mov eax, dword [edi + 0x10]
sub ecx, edx
sar ecx, 1
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x5fd7fc
mov edx, dword [edi]
cmp eax, ecx
jne 0x5fd819
push eax
lea eax, [ebp - 0x350]
push eax
push edx
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x5fe041
push edi
lea ecx, [ebp - 0x64]
call fcn.00404120
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.004044f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3ac]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
push 0x7d5790
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x398], 7
mov word [ebp - 0x3ac], ax
call fcn.004044f0
lea eax, [ebp - 0x3ac]
mov byte [ebp - 4], 2
push eax
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.00574db0
add esp, 4
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 4
call fcn.00404490
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x5fd910
lea eax, [ebp - 0x64]
cmp eax, esi
je 0x5fd8f1
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5fd8e4
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004044f0
mov esi, dword [ebp - 0x1c]
add esi, 0x18
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x5fd910
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5fd906
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004044f0
mov eax, 6
mov dword [ebp - 0x350], 0xd800c1
mov dword [ebp - 0x354], eax
xor ecx, ecx
mov dword [ebp - 0x34c], 0xdf00d4
mov dword [ebp - 0x348], 0xc500d9
mov dword [ebp - 0x344], 0xbe
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x350], ax
inc ecx
mov eax, dword [ebp - 0x354]
cmp ecx, eax
jb 0x5fd950
xor ecx, ecx
mov word [ebp + eax*2 - 0x350], cx
lea ecx, [ebp - 0x350]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5fd980
sub ecx, edx
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
sar ecx, 1
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
cmp edx, ecx
jne 0x5fd9ba
push edx
lea ecx, [ebp - 0x350]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x5fe029
xor edx, edx
lea ecx, [ebp - 0x378]
call fcn.005d83b0
mov esi, eax
mov ecx, dword [ebp - 0x394]
mov byte [ebp - 4], 5
mov ecx, dword [ecx + 0xb8]
add ecx, 0x84
push ecx
lea ecx, [ebp - 0x358]
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x3c4]
push eax
call fcn.00408060
push esi
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 7
push eax
call fcn.00413490
add esp, 0x18
lea ecx, [ebp - 0x3c4]
call fcn.00404490
lea ecx, [ebp - 0x358]
call fcn.00404490
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0xb
call fcn.00404490
push 0xb8
lea eax, [ebp - 0x290]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x290]
push 1
push eax
call fcn.0041a550
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x284]
shr eax, 2
test al, 1
jne 0x5fe016
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
push 0
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0xd
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1d8]
call fcn.00773690
push 1
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00774d10
lea ecx, [ebp - 0x280]
mov byte [ebp - 0x359], al
call fcn.0041b620
test eax, eax
jne 0x5fdb08
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x290]
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 - 0x359], 0
je 0x5fe003
lea ecx, [ebp - 0x4c]
call fcn.00772ad0
test al, al
je 0x5fe003
movaps xmm0, xmmword [0x7e3d40]
lea ecx, [ebp - 0x37c]
mov dword [ebp - 0x37c], 0x17
movups xmmword [ebp - 0x378], xmm0
mov dword [ebp - 0x368], 0xa2bca6ba
mov dword [ebp - 0x364], 0xcfbca8a8
call fcn.004131e0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00771500
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x360], esp
push 0
call fcn.00770fe0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x34c], 7
mov dword [ebp - 0x348], 0xccc3dcd3
mov dword [ebp - 0x344], 0xbfdacfd3
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.007712b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x360], esp
push 0
call fcn.00770fe0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x350], 0xa
mov dword [ebp - 0x34c], 0xc9dbdccb
mov dword [ebp - 0x348], 0xcae1d5df
mov dword [ebp - 0x344], 0xc2adb2
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.007712b0
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
mov dword [ebp - 0x360], esp
push eax
call fcn.00770cc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x350], 0xb
mov dword [ebp - 0x34c], 0xd8d4c0cb
mov dword [ebp - 0x348], 0xd8e1d9d9
mov dword [ebp - 0x344], 0xc3a6a8b5
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.007712b0
movaps xmm0, xmmword [0x7e3d40]
lea ecx, [ebp - 0x384]
movups xmmword [ebp - 0x380], xmm0
mov dword [ebp - 0x384], 0x1c
movaps xmm0, xmmword [0x7e33b0]
movups xmmword [ebp - 0x370], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00771500
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x5fdd74
movaps xmm0, xmmword [0x7e3bb0]
lea ecx, [ebp - 0x3ac]
mov dword [ebp - 0x3ac], 0x11
movups xmmword [ebp - 0x3a8], xmm0
mov dword [ebp - 0x398], 0xc9a9
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x360], esp
push 0
call fcn.00770fe0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x34c], 7
mov dword [ebp - 0x348], 0xccc3dcd3
mov dword [ebp - 0x344], 0xbfdacfd3
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.007712b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x360], esp
push 0
call fcn.00770fe0
push 0x7d8664
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.007712b0
lea ecx, [ebp - 0x164]
call fcn.0076e1e0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x164]
call fcn.0076ec70
push 0xb0
lea eax, [ebp - 0x340]
mov byte [ebp - 4], 0x15
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x340]
call fcn.00585fb0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x334]
shr eax, 2
test al, 1
jne 0x5fdfe2
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.005860d0
add esp, 8
lea ecx, [ebp - 0x340]
call fcn.00585f80
push 0xb0
lea eax, [ebp - 0x144]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x144], 0x7d4f80
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x134], 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 - 0x12c]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x360], 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], 0x18
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x148], eax
lea ecx, [ebp - 0x12c]
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 - 0x12c], 0x7c6164
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x394]
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 0x19
mov eax, dword [eax + 0xb8]
add eax, 0xc
push eax
call fcn.00404120
lea eax, [ebp - 0x3ac]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00404930
add esp, 8
mov dword [ebp - 0x390], 0x14
lea ecx, [ebp - 0x390]
mov dword [ebp - 0x38c], 0xca0098
mov esi, eax
mov dword [ebp - 0x388], 0xcf00df
mov dword [ebp - 0x384], 0xce009c
mov dword [ebp - 0x380], 0xde00db
mov dword [ebp - 0x37c], 0xa200b2
mov dword [ebp - 0x378], 0xe300aa
mov dword [ebp - 0x374], 0xbc00b7
mov dword [ebp - 0x370], 0xb300b5
mov dword [ebp - 0x36c], 0xa400ad
mov dword [ebp - 0x368], 0xeb00f0
mov dword [ebp - 0x364], 0xcc
call fcn.00403e20
push edi
push eax
push esi
call fcn.00404740
add esp, 8
push eax
call fcn.00404930
add esp, 8
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x3ac]
call fcn.00404490
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x51c]
push eax
call fcn.005fe060
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x46c]
push eax
call fcn.005df700
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x144]
push ecx
push esi
push 0xbea
push eax
push 1
mov ecx, edi
call fcn.00469240
lea ecx, [ebp - 0x144]
call fcn.00406480
lea ecx, [ebp - 0x340]
call fcn.00585530
lea ecx, [ebp - 0x94]
call fcn.00407a10
lea ecx, [ebp - 0x164]
call fcn.0042fe10
lea ecx, [ebp - 0x1d8]
call fcn.00430850
lea ecx, [ebp - 0x4c]
call fcn.007711e0
lea ecx, [ebp - 0x290]
call fcn.00417f70
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x64]
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