Function at 0x5b5140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9d23
mov eax, dword fs:[0]
push eax
sub esp, 0x324
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 - 0x1c4], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push edi
mov dword [ebp - 0x19c], 0
call fcn.00404120
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x7cf388
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 - 0x1b4]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
push 0x7d77a0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 7
mov word [ebp - 0x1b4], ax
call fcn.004044f0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
call fcn.00575f30
add esp, 4
lea ecx, [ebp - 0x1b4]
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 0x5b5278
lea eax, [ebp - 0x4c]
cmp eax, esi
je 0x5b5259
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5b524c
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.004044f0
mov esi, dword [ebp - 0x1c]
add esi, 0x18
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x5b5278
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5b526e
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004044f0
mov eax, 6
mov dword [ebp - 0x190], 0xcb00d0
mov dword [ebp - 0x194], eax
xor ecx, ecx
mov dword [ebp - 0x18c], 0xc800c5
mov dword [ebp - 0x188], 0xd600c8
mov dword [ebp - 0x184], 0xaf
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x190], ax
inc ecx
mov eax, dword [ebp - 0x194]
cmp ecx, eax
jb 0x5b52b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x190], cx
lea ecx, [ebp - 0x190]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b52e0
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 0x5b531a
push edx
lea ecx, [ebp - 0x190]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x5b5a42
mov esi, dword [ebp - 0x1c4]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.005b68a0
mov dword [ebp - 0x198], 9
xor ecx, ecx
mov dword [ebp - 0x194], 0xda00f5
mov dword [ebp - 0x190], 0xc900d9
mov dword [ebp - 0x18c], 0xdd00cb
mov dword [ebp - 0x188], 0xda0081
mov dword [ebp - 0x184], 0xb200c2
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x194], ax
inc ecx
mov eax, dword [ebp - 0x198]
cmp ecx, eax
jb 0x5b5370
xor ecx, ecx
mov word [ebp + eax*2 - 0x194], cx
lea ecx, [ebp - 0x150]
mov eax, dword [esi + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 7
mov word [ebp - 0x1c0], ax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00403b80
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xa
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x135], al
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 7
call fcn.00404220
lea ecx, [ebp - 0x1c0]
call fcn.00404490
cmp byte [ebp - 0x135], 0
je 0x5b5a37
xorps xmm0, xmm0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.00404120
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.0064aa50
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.00648de0
mov byte [ebp - 4], 0xd
mov eax, 0x20
mov dword [ebp - 0x180], eax
xor ecx, ecx
mov dword [ebp - 0x17c], 0xd800cb
mov dword [ebp - 0x178], 0xdb00c4
mov dword [ebp - 0x174], 0xcb00de
mov dword [ebp - 0x170], 0x9e00dd
mov dword [ebp - 0x16c], 0xd700c2
mov dword [ebp - 0x168], 0xc600d2
mov dword [ebp - 0x164], 0xde00d6
mov dword [ebp - 0x160], 0xdc0099
mov dword [ebp - 0x15c], 0xdc00dc
mov dword [ebp - 0x158], 0xc900da
mov dword [ebp - 0x154], 0xca00d1
mov dword [ebp - 0x150], 0xae00da
mov dword [ebp - 0x14c], 0xab00a6
mov dword [ebp - 0x148], 0xa100ad
mov dword [ebp - 0x144], 0xa700ab
mov dword [ebp - 0x140], 0xad00aa
mov dword [ebp - 0x13c], 0xc9
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x17c], ax
inc ecx
mov eax, dword [ebp - 0x180]
cmp ecx, eax
jb 0x5b5560
xor ecx, ecx
mov word [ebp + eax*2 - 0x17c], cx
xor eax, eax
mov dword [ebp - 0x1a4], ecx
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x1a0], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1b4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b55a5
sub ecx, edx
lea eax, [ebp - 0x17c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00649c70
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xd
call fcn.00404490
mov dword [ebp - 0x178], 0x1d
xor ecx, ecx
mov dword [ebp - 0x174], 0xd800cb
mov dword [ebp - 0x170], 0xdb00c4
mov dword [ebp - 0x16c], 0xcb00de
mov dword [ebp - 0x168], 0x9e00dd
mov dword [ebp - 0x164], 0xd700c2
mov dword [ebp - 0x160], 0xc600d2
mov dword [ebp - 0x15c], 0xde00d6
mov dword [ebp - 0x158], 0xcb0099
mov dword [ebp - 0x154], 0xd600dc
mov dword [ebp - 0x150], 0xdf00de
mov dword [ebp - 0x14c], 0xdb00c9
mov dword [ebp - 0x148], 0x8500db
mov dword [ebp - 0x144], 0xa500af
mov dword [ebp - 0x140], 0xaa00aa
mov dword [ebp - 0x13c], 0xc600a0
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x174], ax
inc ecx
mov eax, dword [ebp - 0x178]
cmp ecx, eax
jb 0x5b5690
xor ecx, ecx
mov word [ebp + eax*2 - 0x174], cx
xor eax, eax
mov dword [ebp - 0x1a4], ecx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x1a0], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1b4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b56d5
sub ecx, edx
lea eax, [ebp - 0x174]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00649c70
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xd
call fcn.00404490
lea ecx, [ebp - 0x6c]
call fcn.00649d60
xor eax, eax
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 7
mov word [ebp - 0x1b4], ax
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.005b15b0
lea ecx, [ebp - 0x1b4]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 7
mov word [ebp - 0x1b4], ax
push ecx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
push eax
mov ecx, esi
call fcn.005b1ba0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xd
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0x7d6f90
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x124], 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 - 0x11c]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x19c], 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], 0x13
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x134], 0x7c81a4
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x138], eax
lea ecx, [ebp - 0x11c]
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 - 0x11c], 0x7c8164
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1b4]
mov eax, dword [esi + 0xb8]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x1b4]
cmp dword [ebp - 0x1a0], 8
push dword [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00404c80
mov edx, 0x14
mov dword [ebp - 0x164], 0xd90089
add esp, 0xc
mov dword [ebp - 0x168], edx
mov esi, eax
mov dword [ebp - 0x160], 0xd800ce
mov dword [ebp - 0x15c], 0xdd008d
xor ecx, ecx
mov dword [ebp - 0x158], 0xd100ca
mov dword [ebp - 0x154], 0xd100c3
mov dword [ebp - 0x150], 0x9400db
mov dword [ebp - 0x14c], 0xcf00c6
mov dword [ebp - 0x148], 0xcc00c4
mov dword [ebp - 0x144], 0xd700dc
mov dword [ebp - 0x140], 0x9c0081
mov dword [ebp - 0x13c], 0xbd
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x164], ax
inc ecx
mov edx, dword [ebp - 0x168]
cmp ecx, edx
jb 0x5b5920
xor eax, eax
mov word [ebp + edx*2 - 0x164], ax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.00404740
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x5b595e
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1b4]
call fcn.00404490
call fcn.004345f0
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x330]
push eax
call fcn.005b5a80
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5b59b1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5b59a0
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x270]
push eax
call fcn.005a4fe0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x19c]
push edi
push 0x5b9
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x134], 0x7c81a4
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x138], eax
lea ecx, [ebp - 0x11c]
call fcn.004073e0
lea ecx, [ebp - 0x114]
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 - 0xcc]
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 - 0x6c]
call fcn.00648d60
lea ecx, [ebp - 0x84]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x4c]
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 8