Function at 0x10050f70
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b7b0
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.10066fd0
mov eax, dword [0x1007d008]
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 ebx, edx
mov esi, ecx
push 0
push 0
push 0
push 1
push str.FireFoxMyBlackMen
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x10050fe7
cmp dword [esi + 0x14], 0x10
jb 0x10050fc7
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x10050fee
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x100511bb
push 0xb0
lea eax, [ebp - 0x10c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x1005100c
mov ebx, dword [ebx]
sub esp, 8
lea ecx, [ebp - 0x10c8]
push 0x20
push ebx
call fcn.1000ad80
mov eax, dword [ebp - 0x10c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10cc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10c8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x10bc], 6
je 0x10051071
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor bl, bl
jmp 0x10051110
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1014], 0
push eax
push esi
call ebx
test eax, eax
je 0x100510da
nop dword [eax + eax]
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x100510da
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x10c8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call ebx
test eax, eax
jne 0x100510a0
lea ecx, [ebp - 0x10c4]
call fcn.1000bb30
test eax, eax
jne 0x10051102
mov eax, dword [ebp - 0x10c8]
lea ecx, [ebp - 0x10c8]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov bl, 1
mov eax, dword [ebp - 0x10c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10cc], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1078], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x10051181
mov eax, dword [ebp - 0x10b8]
lea ecx, [ebp - 0x1088]
cmp dword [eax], ecx
jne 0x10051181
mov edx, dword [ebp - 0x1070]
mov ecx, dword [ebp - 0x1074]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x10a8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1098]
mov dword [eax], edx
cmp byte [ebp - 0x107c], 0
je 0x10051195
lea ecx, [ebp - 0x10c4]
call fcn.1000bb30
lea ecx, [ebp - 0x10c4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x10c0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1060]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov al, bl
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.10065ba0
mov esp, ebp
pop ebp
ret