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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
mov ebx, 0x5adc40
call fcn.005ad37f
add esp, 0x10
push 0x80000301
push 0
push 0xa
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x5adc90
call fcn.005ad37f
add esp, 0x1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x51c4c2
mov eax, 0x72001d
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c4b7
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 2
jne 0x51c4f0
mov eax, str.Mozilla_5.0__Windows_NT_6.1__rv:21.0__Gecko_20100101_Firefox_21.0
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c4e5
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 3
jne 0x51c51e
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__qihu_theworld_
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c513
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 4
jne 0x51c54c
mov eax, str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_28.0.1500.95_Safari_537.36
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c541
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 5
jne 0x51c57a
mov eax, str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c56f
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 6
jne 0x51c5a8
mov eax, str.Mozilla_5.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0_
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c59d
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 7
jne 0x51c5d6
mov eax, str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_5.0_
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c5cb
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 8
jne 0x51c604
mov eax, str.Mozilla_4.0__Windows_NT_5.0__rv:21.0__Gecko_20100101_Firefox_21.0
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c5f9
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 8
jne 0x51c632
mov eax, str.Mozilla_5.0__Windows_NT_5.0__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_28.0.1500.95_Safari_537.36
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c627
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
cmp dword [ebp - 4], 9
jne 0x51c660
mov eax, str.Mozilla_4.0__Windows_NT_6.0__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_28.0.1500.95_Safari_537.36
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c655
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
jmp 0x51c67f
mov eax, str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0_
push eax
mov ebx, dword [0x7e5bbc]
test ebx, ebx
je 0x51c679
push ebx
call fcn.005ad38b
add esp, 4
pop eax
mov dword [0x7e5bbc], eax
mov esp, ebp
pop ebp
ret