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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, 0x13f8
push edi
call sub.MSVCRT.dll_malloc
pop ecx
push edi
xor ebx, ebx
mov esi, eax
push ebx
push esi
call sub.MSVCRT.dll_memset
or dword [esi + 0x1c], 0xffffffff
add esp, 0xc
push 4
call fcn.10036269
cmp eax, ebx
pop ecx
je 0x1000128a
mov byte [esp + 0x14], 3
mov byte [esp + 0x15], 3
mov cx, word [esp + 0x14]
mov word [eax], cx
mov byte [eax + 2], 1
mov byte [eax + 3], 1
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x100017fa
push eax
call fcn.100326ac
cmp eax, ebx
pop ecx
mov dword [esi + 0x14], eax
je 0x100017fa
push 0x18
mov byte [eax + 0x121], 1
mov byte [eax + 0x120], bl
mov dword [eax + 0x138], ebx
call sub.MSVCRT.dll_malloc
pop ecx
push 0x18
mov edi, eax
push ebx
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x20], edi
push ebx
mov edi, 0x100441e1
push edi
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov dword [esi + 0x2c], eax
call fcn.1000405d
add esp, 0x40
push ebx
push 0x100441e4
mov dword [esi + 0x30], eax
call fcn.10004041
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov dword [esi + 0x34], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nAccept:
mov dword [esi + 0x38], eax
call fcn.1000405d
add esp, 0x48
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.text_html___
mov dword [esi + 0x78], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nAccept_Charset:
mov dword [esi + 0x7c], eax
call fcn.1000405d
add esp, 0x40
mov dword [esi + 0x84], eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.utf_8
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nAccept_Encoding:
mov dword [esi + 0x88], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.identity__chunked
mov dword [esi + 0x90], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nAccept_Language:
mov dword [esi + 0x94], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.en_us
mov dword [esi + 0x9c], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nCache_Control:
mov dword [esi + 0xa0], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.no_cache
mov dword [esi + 0xa8], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0xac], eax
push str._r_nConnection:
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.Keep_Alive
mov dword [esi + 0xb4], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nCookie:
mov dword [esi + 0xb8], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nContent_Length:
mov dword [esi + 0xc0], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x100442c0
mov dword [esi + 0xcc], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nContent_Type:
mov dword [esi + 0xd0], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.application_x_www_form_urlencoded
mov dword [esi + 0xd8], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ebp, str._r_nDate:
push ebp
mov dword [esi + 0xdc], eax
call fcn.1000405d
push ebx
push ebx
push ebx
mov dword [esi + 0xe4], eax
push ebx
push ebx
push ebx
push ebx
push str._r_nHost:
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nIf_Modified_Since:
mov dword [esi + 0xf0], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nIf_None_Match:
mov dword [esi + 0xfc], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nReferer:
mov dword [esi + 0x108], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nUser_Agent:
mov dword [esi + 0x114], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows_NT_5.1__rv:19.0__Gecko_20100101_Firefox_19.0
mov dword [esi + 0x120], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_n_r_n
mov dword [esi + 0x124], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.HTTP_1.1
mov dword [esi + 0x180], eax
call fcn.1000405d
mov dword [esi + 0x2ec], eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.HTTP_1.0
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nCache_Control:
mov dword [esi + 0x2f4], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nConnection:
mov dword [esi + 0x31c], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nContent_Length:
mov dword [esi + 0x324], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nContent_Type:
mov dword [esi + 0x334], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebp
mov dword [esi + 0x33c], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nETag:
mov dword [esi + 0x344], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x374], eax
push str._r_nExpires:
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nLast_Modified:
mov dword [esi + 0x37c], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nLocation:
mov dword [esi + 0x384], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nServer:
mov dword [esi + 0x38c], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nTransfer_Encoding:
mov dword [esi + 0x394], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nSet_Cookie:
mov dword [esi + 0x3a4], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nRequest_Protocol:
mov dword [esi + 0x39c], eax
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nRequest_Host:
mov dword [esi + 0x3b4], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x3bc], eax
push ebx
push ebx
push ebx
push str._r_nRequest_Method:
call fcn.1000405d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nRequest_Resource:
mov dword [esi + 0x3c4], eax
call fcn.1000405d
add esp, 0x40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str._r_nContent_CRC32:
mov dword [esi + 0x3cc], eax
call fcn.1000405d
mov dword [esi + 0x3d4], eax
lea eax, [esi + 0x2d8]
add esp, 0x20
mov dword [esp + 0x14], eax
lea ebp, [esi + 0x40]
mov dword [esp + 0x18], 0x21
cmp dword [ebp - 4], ebx
jne 0x10001776
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.1000405d
add esp, 0x20
mov dword [ebp - 4], eax
cmp dword [ebp], ebx
jne 0x1000178e
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.1000405d
add esp, 0x20
mov dword [ebp], eax
cmp dword [ebp + 4], ebx
jne 0x100017a6
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.1000405d
add esp, 0x20
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], ebx
jne 0x100017c6
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.1000405d
mov ecx, dword [esp + 0x34]
add esp, 0x20
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x14]
cmp dword [eax], ebx
jne 0x100017e4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.1000405d
mov ecx, dword [esp + 0x34]
add esp, 0x20
mov dword [ecx], eax
add dword [esp + 0x14], 8
add ebp, 0xc
dec dword [esp + 0x18]
jne 0x1000175e
mov eax, esi
jmp 0x10001803
push esi
call sub.MSVCRT.dll_free
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret