Function at 0x5e7070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ad663
mov eax, dword fs:[0]
push eax
sub esp, 0x320
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 edi, ecx
mov edx, 1
lea ecx, [ebp - 0x314]
call fcn.005d83b0
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0xd0]
add ecx, 0x84
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00408060
push esi
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00413490
add esp, 0x18
lea ecx, [ebp - 0x2fc]
call fcn.00404490
lea ecx, [ebp - 0x2c8]
call fcn.00404490
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 6
call fcn.00404490
push 0xb8
lea eax, [ebp - 0x254]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x254]
push 1
push eax
call fcn.0041a550
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x248]
shr eax, 2
test al, 1
jne 0x5e751c
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push 0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00773690
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xec]
call fcn.00774d10
lea ecx, [ebp - 0x244]
mov byte [ebp - 0x255], al
call fcn.0041b620
test eax, eax
jne 0x5e71ed
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x254]
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 - 0x255], 0
je 0x5e7509
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, 2
jne 0x5e7209
lea esi, [eax + 2]
jmp 0x5e721e
cmp eax, 1
jne 0x5e7213
lea esi, [eax + 4]
jmp 0x5e721e
cmp eax, 3
mov eax, 1
cmove esi, eax
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 7
mov dword [ebp - 0x2b8], 0xc8c9dccb
mov dword [ebp - 0x2b4], 0xbfd0d2d5
call fcn.004131e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00771500
sub esp, 0x18
mov dword [ebp - 0x25c], eax
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push esi
call fcn.00770d70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
movaps xmm0, xmmword [0x7e3be0]
mov dword [ebp - 0x274], 0x12
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x260], 0xcab9bd
call fcn.004131e0
mov ecx, dword [ebp - 0x25c]
push eax
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.007712b0
mov ecx, 0x1a
mov dword [ebp - 0x2ac], 0xdc00cb
mov dword [ebp - 0x2b0], ecx
xor eax, eax
mov dword [ebp - 0x2a8], 0xc800c9
mov dword [ebp - 0x2a4], 0xd200d5
mov dword [ebp - 0x2a0], 0x9100d0
mov dword [ebp - 0x29c], 0xa400b2
mov dword [ebp - 0x298], 0xb700b1
mov dword [ebp - 0x294], 0xb700ab
mov dword [ebp - 0x290], 0x9800a3
mov dword [ebp - 0x28c], 0xa700a7
mov dword [ebp - 0x288], 0xb80095
mov dword [ebp - 0x284], 0xac00b8
mov dword [ebp - 0x280], 0xbb00bc
mov dword [ebp - 0x27c], 0xa100a5
mov dword [ebp - 0x278], 0xd2
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x2ac], cx
inc eax
mov ecx, dword [ebp - 0x2b0]
cmp eax, ecx
jb 0x5e7350
xor eax, eax
mov word [ebp + ecx*2 - 0x2ac], ax
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2d4], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5e7393
sub ecx, edx
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.004044f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x274]
movaps xmm0, xmmword [0x7e3be0]
mov esi, dword [edi + 0xd0]
mov dword [ebp - 0x274], 0x12
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x260], 0xcab9bd
call fcn.004131e0
mov ecx, dword [ebp - 0x25c]
push eax
call fcn.00771500
lea ecx, [ebp - 0x32c]
push ecx
mov ecx, eax
call fcn.00773600
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x240]
push eax
call fcn.0063b3c0
lea ecx, [ebp - 0x32c]
call fcn.00407a10
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 9
call fcn.00404490
lea ecx, [ebp - 0x78]
call fcn.0076e1e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x78]
call fcn.0076ec70
push 0xb0
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0xe
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00585fb0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x190]
shr eax, 2
test al, 1
jne 0x5e74df
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00586330
add esp, 0xc
lea ecx, [ebp - 0x198]
call fcn.0041b620
test eax, eax
jne 0x5e74df
push eax
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x19c]
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 - 0x19c]
call fcn.00585530
lea ecx, [ebp - 0x40]
call fcn.00407a10
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], 0x7cae20
call fcn.00407a10
lea ecx, [ebp - 0x78]
call fcn.0076e270
lea ecx, [ebp - 0xec]
call fcn.00430850
lea ecx, [ebp - 0x28]
call fcn.007711e0
lea ecx, [ebp - 0x254]
call fcn.00417f70
lea ecx, [ebp - 0x58]
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