Function at 0x1000b490
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022be6
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x1002d230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x50]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 4], 0
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1000f480
add esp, 0xc
mov dword [ebp - 0xd8], 0x10023734
mov dword [ebp - 0xc8], 0x1002373c
push 0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0xdc], 1
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x74], 0x50
movlpd qword [ebp - 0xd0], xmm0
call fcn.10006ed0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xcc], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xdc], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.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.10004020
mov dword [ebp - 0xc0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0xa
push eax
push 0x100237a4
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0xc8]
push str.GET
push eax
call fcn.10003740
add esp, 8
push eax
call fcn.10003430
add esp, 8
push eax
call fcn.10003740
add esp, 8
push eax
call fcn.10003430
lea eax, [ebp - 0xc8]
push str._HTTP_1.0_r_n
push eax
call fcn.10003740
add esp, 0x10
push 0x10023750
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc8]
push str.Host:
push eax
call fcn.10003740
add esp, 8
push eax
call fcn.10003430
add esp, 8
push eax
call fcn.10003740
lea eax, [ebp - 0xc8]
push str.User_Agent:_Mozilla_5.0__Windows___Linux__SB__r_n
push eax
call fcn.10003740
lea eax, [ebp - 0xc8]
push str.Connection:close_r_n_r_n
push eax
call fcn.10003740
add esp, 0x18
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xd8]
push eax
call fcn.1000b9c0
push esi
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100013d0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100013d0
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.1000b7b0
cmp dword [ebp - 0x14], 0x10
jb 0x1000b6fc
push dword [ebp - 0x28]
call fcn.1000e386
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
call fcn.1000abc0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.std::ios_base.0
push eax
call fcn.1000da72
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x1000b73e
push dword [ebp + 8]
call fcn.1000e386
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1000b761
push dword [ebp + 0x20]
call fcn.1000e386
add esp, 4
cmp dword [ebp + 0x4c], 0x10
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], 0
mov byte [ebp + 0x20], 0
jb 0x1000b784
push dword [ebp + 0x38]
call fcn.1000e386
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret 0x4c