Function at 0x61ea20
Capabilities:
Encode data using xor
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b3ae1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
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 edi, ecx
mov dword [ebp - 0x174], 0
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x61ea71
push eax
call esi
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x61ea82
push eax
call esi
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x18]
lea ebx, [edi + 0x18]
mov dword [ebp - 0x178], ebx
test eax, eax
je 0x61ea9b
push eax
call esi
mov dword [ebx], 0
xor eax, eax
mov word [edi + 0xe0], 0x100
mov word [edi + 0x24], ax
lea eax, [edi + 0x68]
mov dword [eax], 0
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x174], eax
cmp esi, ebx
je 0x61eadc
lea ecx, [esi + 0x18]
call fcn.00404490
mov ecx, esi
call fcn.00404490
add esi, 0x30
cmp esi, ebx
jne 0x61eac3
mov esi, dword [edi + 0x34]
mov dword [edi + 0x38], esi
cmp dword [edi + 0x14], 8
jb 0x61eae7
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
test eax, eax
jne 0x61ed70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x174]
push 0xb0
push 0
mov dword [esi], eax
lea eax, [ebp - 0xc0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d6f90
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 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 - 0xa8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x174], 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], 1
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
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 - 0xa8], 0x7c8164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x1ac], 0x17
mov dword [ebp - 0x1a8], 0xc300fe
mov dword [ebp - 0x1a4], 0xe400c5
mov dword [ebp - 0x1a0], 0xda00d9
mov dword [ebp - 0x19c], 0xff00df
mov dword [ebp - 0x198], 0xd700c1
mov dword [ebp - 0x194], 0x9400dd
mov dword [ebp - 0x190], 0xd700d9
mov dword [ebp - 0x18c], 0xcc00c4
mov dword [ebp - 0x188], 0xdf0099
mov dword [ebp - 0x184], 0xce00c9
mov dword [ebp - 0x180], 0xcc00d2
mov dword [ebp - 0x17c], 0xc0009f
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1a8], ax
inc ecx
mov eax, dword [ebp - 0x1ac]
cmp ecx, eax
jb 0x61ec50
xor ecx, ecx
mov word [ebp + eax*2 - 0x1a8], cx
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [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 - 0x178], eax
lea eax, [ebp - 0x248]
push eax
call fcn.0061f000
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x61ecd1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x61ecc0
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0061a040
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x61ed01
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x61ecf0
mov ecx, dword [ebp - 0x178]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push ebx
push 0x2a5
push edi
push 0
call fcn.00469f50
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
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 - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor al, al
jmp 0x61efd9
push 0x7530
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x61efd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x174]
push 0xb0
push 0
mov dword [esi], eax
lea eax, [ebp - 0x170]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d6f90
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 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 - 0x158]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x174], 2
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], 4
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x7c81a4
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
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 - 0x158], 0x7c8164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 5
mov eax, 0x1e
mov dword [ebp - 0x1bc], eax
xor ecx, ecx
mov dword [ebp - 0x1b8], 0xc300fe
mov dword [ebp - 0x1b4], 0xe400c5
mov dword [ebp - 0x1b0], 0xda00d9
mov dword [ebp - 0x1ac], 0xe300df
mov dword [ebp - 0x1a8], 0xc600d4
mov dword [ebp - 0x1a4], 0xdd00e7
mov dword [ebp - 0x1a0], 0xd300d8
mov dword [ebp - 0x19c], 0xcd00d8
mov dword [ebp - 0x198], 0xc900cd
mov dword [ebp - 0x194], 0xd0009b
mov dword [ebp - 0x190], 0xcd00dc
mov dword [ebp - 0x18c], 0xe000cb
mov dword [ebp - 0x188], 0xb000a4
mov dword [ebp - 0x184], 0xab00b1
mov dword [ebp - 0x180], 0xe600b7
mov dword [ebp - 0x17c], 0xc7
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1b8], ax
inc ecx
mov eax, dword [ebp - 0x1bc]
cmp ecx, eax
jb 0x61ef00
xor ecx, ecx
mov word [ebp + eax*2 - 0x1b8], cx
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [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 edi, eax
lea eax, [ebp - 0x248]
push eax
call fcn.0061f110
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0061a040
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x170]
push ecx
push esi
push 0x2ac
push eax
push 0
mov ecx, edi
call fcn.00469f50
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x7c81a4
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call fcn.004073e0
lea ecx, [ebp - 0x150]
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 - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor al, al
jmp 0x61efd9
mov al, 1
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