Function at 0x5d88e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ad36f
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xdc], 0
push eax
call fcn.005d8f40
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x5d893a
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x5d8942
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieW]
test eax, eax
jne 0x5d8ba9
push 0xb0
push eax
lea eax, [ebp - 0xd8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x7d6f90
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 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 - 0xc0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xdc], 1
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], 2
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x7c81a4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
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 - 0xc0], 0x7c8164
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
mov ecx, 0x14
mov dword [ebp - 0x10c], ecx
xor eax, eax
mov dword [ebp - 0x108], 0xef00e0
mov dword [ebp - 0x104], 0xdf008b
mov dword [ebp - 0x100], 0xda00c8
mov dword [ebp - 0xfc], 0xd3008f
mov dword [ebp - 0xf8], 0xdd00de
mov dword [ebp - 0xf4], 0xdd00d8
mov dword [ebp - 0xf0], 0x9600d0
mov dword [ebp - 0xec], 0xca00d2
mov dword [ebp - 0xe8], 0xd500cb
mov dword [ebp - 0xe4], 0x9c00c9
mov dword [ebp - 0xe0], 0xbd
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x108], cx
inc eax
mov ecx, dword [ebp - 0x10c]
cmp eax, ecx
jb 0x5d8a90
xor eax, eax
mov word [ebp + ecx*2 - 0x108], ax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00404740
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
call fcn.004345f0
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.005d8d10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5d8b11
nop
lea eax, [ecx + 0xa9]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d8b00
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x244]
push eax
call fcn.005d8bd0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d8b41
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d8b30
mov ecx, dword [ebp - 0xdc]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xd8]
push eax
push ebx
push 0x150
push edi
push 0
call fcn.00469f50
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x7c81a4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call fcn.004073e0
lea ecx, [ebp - 0xb8]
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 - 0x70]
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
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 0xc