Function at 0x5bd760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aab5c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
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 edx, ecx
mov dword [ebp - 0x150], edx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x144], 0xc500f5
mov dword [ebp - 0x140], 0xc900db
mov dword [ebp - 0x13c], 0xcf00df
mov dword [ebp - 0x138], 0xc200df
mov dword [ebp - 0x134], 0xd400d4
mov dword [ebp - 0x130], 0x9a00c0
mov dword [ebp - 0x12c], 0xd800dc
mov dword [ebp - 0x128], 0xb800de
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x144], ax
inc ecx
mov eax, dword [ebp - 0x148]
cmp ecx, eax
jb 0x5bd800
xor ecx, ecx
mov word [ebp + eax*2 - 0x144], cx
lea ecx, [ebp - 0x16c]
mov eax, dword [edx + 0xd0]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call fcn.00404490
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404120
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404120
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x118], 5
mov dword [ebp - 0x114], 0xc700cc
mov dword [ebp - 0x110], 0xd800db
mov dword [ebp - 0x10c], 0xae00d4
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x114], ax
inc ecx
mov eax, dword [ebp - 0x118]
cmp ecx, eax
jb 0x5bd8c0
xor ecx, ecx
mov word [ebp + eax*2 - 0x114], cx
lea ecx, [ebp - 0x114]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bd8f0
sub ecx, edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp edx, ecx
jne 0x5bdb39
push edx
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5bdb39
push eax
push 0x7cf388
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], 7
mov word [ebp - 0x16c], ax
call fcn.004044f0
mov byte [ebp - 4], 5
mov eax, 8
mov dword [ebp - 0x120], eax
xor ecx, ecx
mov dword [ebp - 0x11c], 0xc500e1
mov dword [ebp - 0x118], 0xc900c6
mov dword [ebp - 0x114], 0xfb008d
mov dword [ebp - 0x110], 0xfc00fd
mov dword [ebp - 0x10c], 0xb1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x5bd9a0
xor ecx, ecx
mov word [ebp + eax*2 - 0x11c], cx
xor eax, eax
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x128], 7
lea edx, [ecx + 2]
mov word [ebp - 0x13c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bd9e5
sub ecx, edx
lea eax, [ebp - 0x11c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.004044f0
mov byte [ebp - 4], 6
mov eax, 0xa
mov dword [ebp - 0x124], eax
xor ecx, ecx
mov dword [ebp - 0x120], 0xd900fc
mov dword [ebp - 0x11c], 0xde00ce
mov dword [ebp - 0x118], 0xfe008d
mov dword [ebp - 0x114], 0xd500dd
mov dword [ebp - 0x110], 0xc100d7
mov dword [ebp - 0x10c], 0xb3
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x5bda60
xor ecx, ecx
mov word [ebp + eax*2 - 0x120], cx
xor eax, eax
mov dword [ebp - 0x178], ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x174], 7
lea edx, [ecx + 2]
mov word [ebp - 0x188], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bdaa5
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.004044f0
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x16c]
cmovae esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x13c]
cmp dword [ebp - 0x158], 8
lea eax, [ebp - 0x188]
push esi
cmovae edx, dword [ebp - 0x16c]
cmp dword [ebp - 0x128], 8
push edx
cmovae ecx, dword [ebp - 0x13c]
cmp dword [ebp - 0x174], 8
push ecx
cmovae eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x188]
call fcn.00404490
lea ecx, [ebp - 0x13c]
call fcn.00404490
lea ecx, [ebp - 0x16c]
jmp 0x5bdd00
mov eax, 8
mov dword [ebp - 0x11c], 0xc500e1
mov dword [ebp - 0x120], eax
xor ecx, ecx
mov dword [ebp - 0x118], 0xc900c6
mov dword [ebp - 0x114], 0xfb008d
mov dword [ebp - 0x110], 0xfc00fd
mov dword [ebp - 0x10c], 0xb1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x5bdb80
xor ecx, ecx
mov word [ebp + eax*2 - 0x11c], cx
xor eax, eax
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x128], 7
lea edx, [ecx + 2]
mov word [ebp - 0x13c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bdbc5
sub ecx, edx
lea eax, [ebp - 0x11c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.004044f0
mov byte [ebp - 4], 7
mov eax, 0xa
mov dword [ebp - 0x18c], eax
xor ecx, ecx
mov dword [ebp - 0x188], 0xd900fc
mov dword [ebp - 0x184], 0xde00ce
mov dword [ebp - 0x180], 0xfe008d
mov dword [ebp - 0x17c], 0xd500dd
mov dword [ebp - 0x178], 0xc100d7
mov dword [ebp - 0x174], 0xb3
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x188], ax
inc ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jb 0x5bdc40
xor ecx, ecx
mov word [ebp + eax*2 - 0x188], cx
xor eax, eax
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x158], 7
lea edx, [ecx + 2]
mov word [ebp - 0x16c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bdc85
sub ecx, edx
lea eax, [ebp - 0x188]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x16c]
call fcn.004044f0
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x13c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x16c]
push esi
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x128], 8
push edx
cmovae ecx, dword [ebp - 0x13c]
cmp dword [ebp - 0x158], 8
push ecx
cmovae eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x16c]
call fcn.00404490
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.00404490
push 0xb0
lea eax, [ebp - 0xf0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf0], 0x7d6f90
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xe0], 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 - 0xd8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x154], 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], 9
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], 0x7c81a4
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xd8]
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 - 0xd8], 0x7c8164
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 0xd0]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x16c]
cmp dword [ebp - 0x158], 8
push dword [ebp - 0x15c]
cmovae eax, dword [ebp - 0x16c]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x14c], 0x11
mov edx, eax
mov dword [ebp - 0x148], 0xd90089
mov dword [ebp - 0x144], 0xd800ce
xor ecx, ecx
mov dword [ebp - 0x140], 0xdd008d
mov dword [ebp - 0x13c], 0xd100db
mov dword [ebp - 0x138], 0xc600c3
mov dword [ebp - 0x134], 0xc40093
mov dword [ebp - 0x130], 0xd100d4
mov dword [ebp - 0x12c], 0x8200d2
mov dword [ebp - 0x128], 0xba0099
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x5bde70
xor ecx, ecx
mov word [ebp + eax*2 - 0x148], cx
lea eax, [ebp - 0x148]
push eax
push edx
call fcn.00404740
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00404c80
add esp, 0x14
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x16c]
call fcn.00404490
mov edx, dword [0x83ff50]
mov dword [ebp - 0x170], edx
test edx, edx
jne 0x5bdf18
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x154], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x170], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x2dc]
push eax
call fcn.005be050
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x150], eax
test esi, esi
je 0x5bdf5d
mov edx, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5bdf40
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x230]
push eax
call fcn.005ba780
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x154], eax
test esi, esi
je 0x5bdf9f
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5bdf82
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x154]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xf0]
push ecx
push dword [ebp - 0x150]
mov ecx, edx
push 0x184
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], 0x7c81a4
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xd8]
call fcn.004073e0
lea ecx, [ebp - 0xd0]
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 - 0x88]
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 - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x108]
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 4