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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e479
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x567680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004660d0
add esp, 4
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov ecx, 0x522d64
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x477d09
test dx, dx
je 0x477d05
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x477d09
add eax, 4
add ecx, 4
test dx, dx
jne 0x477ce3
xor eax, eax
jmp 0x477d0e
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x477d7a
mov esi, str.33.0.1729.3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477d21
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.0040b9d0
lea eax, [ebp - 0x14]
push eax
call fcn.00467750
add esp, 4
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov ecx, 0x523278
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x477d82
test dx, dx
je 0x477d76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x477d82
add eax, 4
add ecx, 4
test dx, dx
jne 0x477d54
xor eax, eax
jmp 0x477d87
test esi, esi
jne 0x477d1c
xor ecx, ecx
jmp 0x477d30
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x477e16
mov esi, 0x5232a4
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477da0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0040b9d0
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov dword [ebp - 0x1c], 1
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, str.Mozilla_5.0
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x477e22
movzx edi, ax
push 0
push edi
call fcn.00403090
add esp, 8
test eax, eax
je 0x477e32
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x477e2f
test esi, esi
jne 0x477d99
xor ecx, ecx
jmp 0x477daf
push str.Mozilla_5.0
lea ecx, [ebp - 0x10]
call fcn.004027d0
mov esi, dword [ebp - 0x10]
push dword [esi - 0xc]
mov ecx, ebx
push esi
mov byte [ebp - 4], 4
call fcn.00402f20
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x477e61
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str._Windows_NT
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x477ea2
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x477eaf
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x477eaf
push str._Windows_NT
lea ecx, [ebp - 0x10]
call fcn.004027d0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.00402aa0
add esp, 0xc
mov eax, dword [eax]
mov ecx, ebx
push dword [eax - 0xc]
mov byte [ebp - 4], 7
push eax
call fcn.00402f20
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x477ef8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x477f18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00467b80
test al, al
je 0x477f2f
push 7
push str.__WOW64
mov ecx, ebx
call fcn.00402f20
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, 0x5214dc
mov byte [ebp - 4], 8
test eax, 0xffff0000
jne 0x477f78
movzx eax, ax
push 0
push eax
call fcn.00403090
add esp, 8
test eax, eax
je 0x477f88
mov edx, 0x5214dc
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x477f85
push 0x5214dc
lea ecx, [ebp - 0x10]
call fcn.004027d0
mov esi, dword [ebp - 0x10]
push dword [esi - 0xc]
mov ecx, ebx
push esi
mov byte [ebp - 4], 9
call fcn.00402f20
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x477fb4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str.AppleWebKit_
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x477ff5
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x478002
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x478002
push str.AppleWebKit_
lea ecx, [ebp - 0x10]
call fcn.004027d0
push str.537.36
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xb
call fcn.00402b60
push 0x523380
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xc
call fcn.00402b60
add esp, 0x18
mov eax, dword [eax]
mov ecx, ebx
push dword [eax - 0xc]
mov byte [ebp - 4], 0xd
push eax
call fcn.00402f20
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47805f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47807f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47809f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, str._KHTML__like_Gecko_
mov byte [ebp - 4], 0xe
test eax, 0xffff0000
jne 0x4780e8
movzx eax, ax
push 0
push eax
call fcn.00403090
add esp, 8
test eax, eax
je 0x4780f8
mov edx, str._KHTML__like_Gecko_
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x4780f5
push str._KHTML__like_Gecko_
lea ecx, [ebp - 0x10]
call fcn.004027d0
mov esi, dword [ebp - 0x10]
push dword [esi - 0xc]
mov ecx, ebx
push esi
mov byte [ebp - 4], 0xf
call fcn.00402f20
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478124
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str.Chrome_
mov byte [ebp - 4], 0x10
test eax, 0xffff0000
jne 0x478165
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x478172
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x478172
push str.Chrome_
lea ecx, [ebp - 0x10]
call fcn.004027d0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x11
call fcn.00402aa0
push 0x523380
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x12
call fcn.00402b60
add esp, 0x18
mov eax, dword [eax]
mov ecx, ebx
push dword [eax - 0xc]
mov byte [ebp - 4], 0x13
push eax
call fcn.00402f20
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4781ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4781ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47820e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str.Safari_
mov byte [ebp - 4], 0x14
test eax, 0xffff0000
jne 0x47824f
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x47825c
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004082e0
jmp 0x47825c
push str.Safari_
lea ecx, [ebp - 0x10]
call fcn.004027d0
push str.537.36
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x15
call fcn.00402b60
add esp, 0xc
mov eax, dword [eax]
mov ecx, ebx
push dword [eax - 0xc]
mov byte [ebp - 4], 0x16
push eax
call fcn.00402f20
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x15
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4782a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4782c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4782e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x478304
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4