Function at 0x5bc740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a93bc
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
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 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], 0xd600e4
mov dword [ebp - 0x140], 0xde00ca
mov dword [ebp - 0x13c], 0xdc00ce
mov dword [ebp - 0x138], 0xcd00ce
mov dword [ebp - 0x134], 0xa700a5
mov dword [ebp - 0x130], 0xed00b1
mov dword [ebp - 0x12c], 0xab00ad
mov dword [ebp - 0x128], 0xc700af
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x144], ax
inc ecx
mov eax, dword [ebp - 0x148]
cmp ecx, eax
jb 0x5bc7e0
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], 0xd400dd
mov dword [ebp - 0x110], 0xcf00ca
mov dword [ebp - 0x10c], 0xbd00c5
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x114], ax
inc ecx
mov eax, dword [ebp - 0x118]
cmp ecx, eax
jb 0x5bc8a0
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 0x5bc8d0
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 0x5bcb19
push edx
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5bcb19
push eax
push 0x7cd378
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], 0xd600f0
mov dword [ebp - 0x118], 0xde00d7
mov dword [ebp - 0x114], 0xe8009c
mov dword [ebp - 0x110], 0xf300ec
mov dword [ebp - 0x10c], 0xc0
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x5bc980
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 0x5bc9c5
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], 0xca00ed
mov dword [ebp - 0x11c], 0xc900df
mov dword [ebp - 0x118], 0xed009c
mov dword [ebp - 0x114], 0xda00cc
mov dword [ebp - 0x110], 0xb200a6
mov dword [ebp - 0x10c], 0xc2
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x5bca40
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 0x5bca85
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 0x5bcce0
mov eax, 8
mov dword [ebp - 0x11c], 0xd600f0
mov dword [ebp - 0x120], eax
xor ecx, ecx
mov dword [ebp - 0x118], 0xde00d7
mov dword [ebp - 0x114], 0xe8009c
mov dword [ebp - 0x110], 0xf300ec
mov dword [ebp - 0x10c], 0xc0
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x5bcb60
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 0x5bcba5
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], 0xca00ed
mov dword [ebp - 0x184], 0xc900df
mov dword [ebp - 0x180], 0xed009c
mov dword [ebp - 0x17c], 0xda00cc
mov dword [ebp - 0x178], 0xb200a6
mov dword [ebp - 0x174], 0xc2
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x188], ax
inc ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jb 0x5bcc20
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 0x5bcc65
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], 0x7d4f80
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xe0], 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 - 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], vtable..7.0
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], 0x7c6164
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], 0xca0098
mov dword [ebp - 0x144], 0xcf00df
xor ecx, ecx
mov dword [ebp - 0x140], 0xce009c
mov dword [ebp - 0x13c], 0xde00ca
mov dword [ebp - 0x138], 0xb500b2
mov dword [ebp - 0x134], 0xb300e2
mov dword [ebp - 0x130], 0xa200a5
mov dword [ebp - 0x12c], 0xfd00a3
mov dword [ebp - 0x128], 0xc900e8
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x5bce50
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 [0x83df60]
mov dword [ebp - 0x170], edx
test edx, edx
jne 0x5bcef8
push 0x20
call fcn.0076d2e3
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 [0x83df60], edx
lea eax, [ebp - 0x2dc]
push eax
call fcn.005bd030
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x150], eax
test esi, esi
je 0x5bcf3d
mov edx, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5bcf20
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.005b9760
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x154], eax
test esi, esi
je 0x5bcf7f
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5bcf62
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.00469240
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable..7.0
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.0076d59e
mov esp, ebp
pop ebp
ret 4