Function at 0x5d78b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abbdf
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x82f184]
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.005d7f10
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x5d790a
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x5d7912
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 0x5d7b79
push 0xb0
push eax
lea eax, [ebp - 0xd8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x7d4f80
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 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 - 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], vtable..7.0
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], 0x7c6164
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], 0xfc00f1
mov dword [ebp - 0x104], 0xc8009a
mov dword [ebp - 0x100], 0xc900d9
mov dword [ebp - 0xfc], 0xdc009e
mov dword [ebp - 0xf8], 0xae00af
mov dword [ebp - 0xf4], 0xaa00a9
mov dword [ebp - 0xf0], 0xe500a1
mov dword [ebp - 0xec], 0xb500a3
mov dword [ebp - 0xe8], 0xa600ba
mov dword [ebp - 0xe4], 0xeb00b8
mov dword [ebp - 0xe0], 0xcc
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x108], cx
inc eax
mov ecx, dword [ebp - 0x10c]
cmp eax, ecx
jb 0x5d7a60
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.00434600
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.005d7ce0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5d7ae1
nop
lea eax, [ecx + 0xb8]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d7ad0
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x244]
push eax
call fcn.005d7ba0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5d7b11
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5d7b00
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.00469240
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable..7.0
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.0076d59e
mov esp, ebp
pop ebp
ret 0xc