Function at 0x5e2830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ae2fd
mov eax, dword fs:[0]
push eax
sub esp, 0x244
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 dword [ebp - 0x24c], ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x238], 0xcf00ed
mov dword [ebp - 0x234], 0xcd00cd
mov dword [ebp - 0x230], 0xc200d8
mov dword [ebp - 0x22c], 0xb000db
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x238], ax
inc ecx
mov eax, dword [ebp - 0x23c]
cmp ecx, eax
jb 0x5e28b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x238], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5e28f0
sub ecx, edx
lea eax, [ebp - 0x238]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, 0xc
mov dword [ebp - 0x248], eax
xor ecx, ecx
mov dword [ebp - 0x244], 0xe600f5
mov dword [ebp - 0x240], 0xcf00c4
mov dword [ebp - 0x23c], 0xc200cc
mov dword [ebp - 0x238], 0xe3008f
mov dword [ebp - 0x234], 0xd300c5
mov dword [ebp - 0x230], 0xd100c7
mov dword [ebp - 0x22c], 0xb5
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x244], ax
inc ecx
mov eax, dword [ebp - 0x248]
cmp ecx, eax
jb 0x5e2970
xor ecx, ecx
mov word [ebp + eax*2 - 0x244], cx
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00421b40
push 0xb8
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x214]
push 1
push eax
call fcn.0041a550
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x208]
shr eax, 2
test al, 1
je 0x5e2a22
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
jmp 0x5e2d8e
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push 0
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.007725c0
push 0x74
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x15c]
call fcn.00774c70
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x15c]
call fcn.007762f0
lea ecx, [ebp - 0x204]
mov byte [ebp - 0x225], al
call fcn.0041b620
test eax, eax
jne 0x5e2aa6
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x214]
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 - 0x225], 0
jne 0x5e2ae7
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
jmp 0x5e2d7b
lea ecx, [ebp - 0x40]
call fcn.007740b0
test al, al
jne 0x5e2b03
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00404070
jmp 0x5e2d7b
xorps xmm0, xmm0
mov dword [ebp - 0x220], 7
lea ecx, [ebp - 0x220]
movq qword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x21c], 0xcac4d8d9
mov dword [ebp - 0x218], 0xb0cac2c4
call fcn.004131e0
push eax
lea ecx, [ebp - 0x40]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x58]
call fcn.00772080
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.007740b0
test al, al
jne 0x5e2b6a
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00404070
jmp 0x5e2d73
xorps xmm0, xmm0
mov dword [ebp - 0x238], 9
lea ecx, [ebp - 0x238]
movq qword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x234], 0xd8d8cbc5
mov dword [ebp - 0x230], 0xd5dcdbf2
mov dword [ebp - 0x22c], 0xb2d5
call fcn.004131e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00772080
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb8]
call fcn.007737d0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xc0], 0
je 0x5e2bf6
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a340
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0xa
lea ecx, [ebp - 0x224]
movq qword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x220], 0xc3cdc4c0
mov dword [ebp - 0x21c], 0xd3cecdf2
mov dword [ebp - 0x218], 0xb3d7d9
call fcn.004131e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x88]
call fcn.00772080
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.007740b0
test al, al
lea eax, [ebp - 0x28]
push eax
jne 0x5e2c70
mov ecx, esi
call fcn.00404070
jmp 0x5e2d52
xorps xmm0, xmm0
lea eax, [ebp - 0x240]
push eax
movups xmmword [ebp - 0xa0], xmm0
movq qword [ebp - 0x90], xmm0
call fcn.00405850
add esp, 8
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00772970
push eax
lea ecx, [ebp - 0xa0]
call fcn.00772080
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xb
call fcn.00407a10
lea ecx, [ebp - 0xa0]
call fcn.007740b0
test al, al
jne 0x5e2cd8
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00404070
jmp 0x5e2d47
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x21c], 0xcdc2cbce
mov dword [ebp - 0x218], 0xb0cbc7f2
call fcn.004131e0
push eax
lea ecx, [ebp - 0xa0]
call fcn.00772ae0
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call fcn.007737d0
cmp dword [ebp - 0xd8], 0
je 0x5e2d31
mov eax, dword [ebp - 0x24c]
mov byte [eax + 0x12e], 1
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00404070
lea ecx, [ebp - 0xe8]
call fcn.00404490
lea ecx, [ebp - 0xa0]
call fcn.007727c0
lea ecx, [ebp - 0x88]
call fcn.007727c0
lea ecx, [ebp - 0xd0]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.007727c0
lea ecx, [ebp - 0x58]
call fcn.007727c0
lea ecx, [ebp - 0x15c]
call fcn.00430850
lea ecx, [ebp - 0x40]
call fcn.007727c0
lea ecx, [ebp - 0x214]
call fcn.00417f70
lea ecx, [ebp - 0x70]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, esi
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 8