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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00b1393c
mov eax, dword [ebp - 8]
call fcn.00b1393c
xor eax, eax
push ebp
push 0xb1d51f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
cmp ebx, 1
jne 0xb1d140
xor eax, eax
mov dword [ebp - 0x20], eax
cmp ebx, 2
jne 0xb1d14c
mov dword [ebp - 0x20], 1
mov eax, esi
call fcn.00b134ec
mov eax, esi
mov edx, 0x100000
call fcn.00b13ad8
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0xb1d538
call fcn.00b13a90
push eax
mov eax, dword [ebp - 4]
call fcn.00b1374c
pop edx
sub eax, edx
add eax, 2
push eax
mov edx, dword [ebp - 4]
mov eax, 0xb1d538
call fcn.00b13a90
mov edx, eax
add edx, 3
mov eax, dword [ebp - 4]
pop ecx
call fcn.00b139ac
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x424]
mov edx, dword [ebp - 4]
call fcn.00b13cdc
mov eax, dword [ebp - 0x424]
mov dx, 0x2f
call fcn.00b1c45c
push eax
mov eax, dword [ebp - 4]
call fcn.00b1374c
pop edx
sub eax, edx
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebp - 4]
call fcn.00b13cdc
mov eax, dword [ebp - 0x428]
mov dx, 0x2f
call fcn.00b1c45c
mov edx, eax
inc edx
mov eax, dword [ebp - 4]
pop ecx
call fcn.00b139ac
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x42c]
mov edx, dword [ebp - 4]
call fcn.00b13cdc
mov eax, dword [ebp - 0x42c]
mov dx, 0x2f
call fcn.00b1c45c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00b139ac
test edi, edi
jne 0xb1d4d4
mov eax, dword [ebp - 8]
call fcn.00b1374c
dec eax
jle 0xb1d394
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0xb1d53c
call fcn.00b15d0c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xb1d4d4
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 4]
call fcn.00b1394c
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00b15d04
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xb1d386
push 0
push 0x84000700
push 0
push 0
push 0xb1d5c0
mov eax, dword [ebp - 0x1c]
call fcn.00b1394c
push eax
push 0xb1d5cc
mov eax, dword [ebp - 0x10]
push eax
call fcn.00b15cec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xb1d37d
mov eax, dword [ebp - 8]
call fcn.00b1374c
push eax
mov eax, dword [ebp - 8]
call fcn.00b1394c
push eax
push 0x2f
push 0xb1d5d4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00b15cf4
test eax, eax
je 0xb1d374
lea eax, [ebp - 0x18]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00b15d14
test eax, eax
je 0xb1d374
cmp dword [ebp - 0x18], 0
je 0xb1d374
mov eax, dword [esi]
call fcn.00b1374c
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0xb1d32e
cmp eax, dword [esp]
pop edx
pop eax
jbe 0xb1d348
jmp 0xb1d332
pop edx
pop eax
jle 0xb1d348
mov eax, dword [esi]
call fcn.00b1374c
mov edx, eax
add edx, 0x100000
mov eax, esi
call fcn.00b13ad8
mov eax, esi
call fcn.00b139a4
add eax, edi
lea edx, [ebp - 0x420]
mov ecx, dword [ebp - 0x18]
call fcn.00b14fa0
add edi, dword [ebp - 0x18]
cmp edi, 0x1dcd6500
ja 0xb1d374
cmp dword [ebp - 0x18], 0
jne 0xb1d2eb
mov eax, dword [ebp - 0x14]
push eax
call fcn.00b15cfc
mov eax, dword [ebp - 0x10]
push eax
call fcn.00b15cfc
mov eax, dword [ebp - 0xc]
push eax
call fcn.00b15cfc
jmp 0xb1d4d4
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0xb1d53c
call fcn.00b15d0c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xb1d4d4
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 4]
call fcn.00b1394c
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00b15d04
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xb1d4cb
push 0
push 0x84000700
push 0
push 0
push 0xb1d5c0
mov eax, dword [ebp - 0x1c]
call fcn.00b1394c
push eax
push 0xb1d604
mov eax, dword [ebp - 0x10]
push eax
call fcn.00b15cec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xb1d4c2
push 0
push 0
push 0
push 0xb1d608
mov eax, dword [ebp - 0x14]
push eax
call fcn.00b15cf4
test eax, eax
je 0xb1d4b9
lea eax, [ebp - 0x18]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00b15d14
test eax, eax
je 0xb1d4b9
cmp dword [ebp - 0x18], 0
je 0xb1d4b9
mov eax, dword [esi]
call fcn.00b1374c
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0xb1d473
cmp eax, dword [esp]
pop edx
pop eax
jbe 0xb1d48d
jmp 0xb1d477
pop edx
pop eax
jle 0xb1d48d
mov eax, dword [esi]
call fcn.00b1374c
mov edx, eax
add edx, 0x100000
mov eax, esi
call fcn.00b13ad8
mov eax, esi
call fcn.00b139a4
add eax, edi
lea edx, [ebp - 0x420]
mov ecx, dword [ebp - 0x18]
call fcn.00b14fa0
add edi, dword [ebp - 0x18]
cmp edi, 0x1dcd6500
ja 0xb1d4b9
cmp dword [ebp - 0x18], 0
jne 0xb1d430
mov eax, dword [ebp - 0x14]
push eax
call fcn.00b15cfc
mov eax, dword [ebp - 0x10]
push eax
call fcn.00b15cfc
mov eax, dword [ebp - 0xc]
push eax
call fcn.00b15cfc
mov eax, esi
mov edx, edi
call fcn.00b13ad8
cmp dword [esi], 0
jne 0xb1d4ec
inc ebx
cmp ebx, 3
jne 0xb1d136
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb1d526
lea eax, [ebp - 0x42c]
mov edx, 3
call fcn.00b13b84
lea eax, [ebp - 0x1c]
call fcn.00b134ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00b13510
ret