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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b2351
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
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 edi, ecx
mov dword [ebp - 0x174], 0
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x61d9e1
push eax
call esi
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x61d9f2
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 0x61da0b
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 0x61da4c
lea ecx, [esi + 0x18]
call fcn.00404490
mov ecx, esi
call fcn.00404490
add esi, 0x30
cmp esi, ebx
jne 0x61da33
mov esi, dword [edi + 0x34]
mov dword [edi + 0x38], esi
cmp dword [edi + 0x14], 8
jb 0x61da57
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 0x61dce0
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], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 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 - 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], vtable..7.0
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], 0x7c6164
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], 0xd000ef
mov dword [ebp - 0x1a4], 0xf300d4
mov dword [ebp - 0x1a0], 0xc900c8
mov dword [ebp - 0x19c], 0xf000ce
mov dword [ebp - 0x198], 0xa400b0
mov dword [ebp - 0x194], 0xe300ac
mov dword [ebp - 0x190], 0xa400a8
mov dword [ebp - 0x18c], 0xb300b5
mov dword [ebp - 0x188], 0xac00e8
mov dword [ebp - 0x184], 0xb900b8
mov dword [ebp - 0x180], 0xbf00a3
mov dword [ebp - 0x17c], 0xcf00ee
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1a8], ax
inc ecx
mov eax, dword [ebp - 0x1ac]
cmp ecx, eax
jb 0x61dbc0
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.00434600
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x248]
push eax
call fcn.0061df70
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x61dc41
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x61dc30
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00618fb0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x61dc71
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x61dc60
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.00469240
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
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 0x61df49
push 0x7530
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x61df47
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], 0x7d4f80
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 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 - 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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xd000ef
mov dword [ebp - 0x1b4], 0xf300d4
mov dword [ebp - 0x1b0], 0xc900c8
mov dword [ebp - 0x1ac], 0xec00ce
mov dword [ebp - 0x1a8], 0xb500a5
mov dword [ebp - 0x1a4], 0xaa0096
mov dword [ebp - 0x1a0], 0xa000a9
mov dword [ebp - 0x19c], 0xb200a9
mov dword [ebp - 0x198], 0xba00bc
mov dword [ebp - 0x194], 0xa700ea
mov dword [ebp - 0x190], 0xbe00ad
mov dword [ebp - 0x18c], 0xef00ba
mov dword [ebp - 0x188], 0xa300b5
mov dword [ebp - 0x184], 0xbc00a0
mov dword [ebp - 0x180], 0xf500a6
mov dword [ebp - 0x17c], 0xd6
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1b8], ax
inc ecx
mov eax, dword [ebp - 0x1bc]
cmp ecx, eax
jb 0x61de70
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.00434600
mov edi, eax
lea eax, [ebp - 0x248]
push eax
call fcn.0061e080
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00618fb0
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.00469240
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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 0x61df49
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.0076d59e
mov esp, ebp
pop ebp
ret