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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x6a2c02
call fcn.006426c4
sub esp, 0x158
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x7e59f0]
push edi
xor edi, edi
mov dword [ebp + 0x18], edi
mov ecx, dword [eax + esi*4]
mov eax, dword [0x7af804]
cmp eax, dword [ecx + 4]
jle 0x4680ee
mov ebx, 0x7af804
push ebx
call fcn.00642848
cmp dword [0x7af804], 0xffffffff
pop ecx
jne 0x4680ee
push 0x6bd6c0
call fcn.006426af
push ebx
call fcn.00642809
pop ecx
pop ecx
cmp byte [0x7af800], 0
je 0x468109
mov ecx, dword [ebp + 0x6c]
push 0x788c00
call fcn.00427fbe
jmp 0x46841c
lea ecx, [ebp - 0x164]
mov byte [0x7af800], 1
call fcn.0042a1a1
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x164]
call fcn.00442d00
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x468135
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x1c]
push 0x6c4084
push eax
call fcn.00465d7f
add esp, 0xc
push edi
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0040f95f
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x7af86c]
cmp eax, dword [ecx + 4]
jle 0x4681a5
mov esi, 0x7af86c
push esi
call fcn.00642848
cmp dword [0x7af86c], 0xffffffff
pop ecx
jne 0x4681a5
mov ecx, 0x7af808
mov byte [ebp - 4], 3
call fcn.004ce5a0
push 0x6bd6cf
call fcn.006426af
push esi
mov byte [ebp - 4], 2
call fcn.00642809
pop ecx
pop ecx
push 0x7af854
lea ecx, [ebp - 0x3c]
call fcn.0040f8db
push 7
pop ebx
xor eax, eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x5c], edi
mov word [ebp + 0x4c], ax
push str.amd64
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00439297
test eax, eax
jne 0x4681dd
mov esi, str.__Win64__x64
jmp 0x4681eb
call fcn.00476efe
test al, al
je 0x4681fc
mov esi, str.__WOW64
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp + 0x4c]
call fcn.00439135
xor eax, eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], edi
mov word [ebp], ax
mov eax, dword [ebp + 0x74]
mov ebx, 0x788c00
mov byte [ebp - 4], 6
sub eax, edi
je 0x4682bd
sub eax, 1
je 0x468273
sub eax, 1
jne 0x4683e7
mov eax, dword [ebp + 0x70]
push 8
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x468237
mov eax, dword [eax]
mov edx, dword [ebp + 0x4c]
cmp dword [ebp + 0x60], ebx
jae 0x468242
lea edx, [ebp + 0x4c]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x30], ebx
jae 0x46824d
lea ecx, [ebp + 0x1c]
push eax
push edx
push ecx
lea eax, [ebp + 0x34]
push str.Mozilla_5.0__Windows_NT__s_s__Chrome__s
push eax
call fcn.00465d7f
add esp, 0x14
mov ebx, 0x788c00
mov ecx, ebx
push eax
call fcn.00428071
jmp 0x4683dc
mov eax, dword [ebp + 0x70]
push 8
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x468280
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00467f42
mov eax, dword [ebp + 0x34]
mov esi, eax
mov byte [ebp - 4], bl
cmp dword [ebp + 0x48], ebx
jae 0x46829c
lea esi, [ebp + 0x34]
mov eax, esi
mov edx, dword [ebp + 0x4c]
cmp dword [ebp + 0x60], ebx
jae 0x4682a7
lea edx, [ebp + 0x4c]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x30], ebx
jae 0x4682b2
lea ecx, [ebp + 0x1c]
push esi
push eax
push edx
push ecx
push 0x6d08a8
jmp 0x46831d
mov esi, dword [ebp + 0x70]
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x4682cc
mov eax, dword [esi]
jmp 0x4682ce
mov eax, esi
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00467f42
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], ebx
jb 0x4682e3
mov esi, dword [esi]
push esi
call fcn.00467fe0
mov esi, eax
cmp esi, 0xa
jle 0x468346
mov eax, dword [ebp + 0x34]
cmp dword [ebp + 0x48], ebx
jae 0x4682fb
lea eax, [ebp + 0x34]
mov edx, dword [ebp + 0x4c]
cmp dword [ebp + 0x60], ebx
jae 0x468306
lea edx, [ebp + 0x4c]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x30], ebx
jae 0x468311
lea ecx, [ebp + 0x1c]
push eax
lea eax, [esi - 4]
push eax
push edx
push ecx
push str.Mozilla_5.0__Windows_NT__s_s__Trident__d.0__EIE10__ENUSMSN__rv:_s_
lea eax, [ebp - 0x24]
push eax
call fcn.00465d7f
add esp, 0x18
mov ebx, 0x788c00
mov ecx, ebx
push eax
call fcn.00428071
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.004285f6
jmp 0x4683d8
mov eax, dword [ebp + 0x4c]
xor ecx, ecx
cmp esi, ebx
setg cl
add ecx, 4
cmp dword [ebp + 0x60], ebx
jae 0x46835b
lea eax, [ebp + 0x4c]
mov edi, dword [ebp + 0x1c]
mov dword [ebp + 0x70], eax
cmp dword [ebp + 0x30], ebx
jae 0x468369
lea edi, [ebp + 0x1c]
mov edx, dword [ebp + 0x34]
cmp dword [ebp + 0x48], ebx
jae 0x468374
lea edx, [ebp + 0x34]
lea eax, [esi - 4]
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x24]
push edi
push edx
push ecx
push str.Mozilla__d.0__compatible__MSIE__s_Windows_NT__s_s__Trident__d.0
push eax
call fcn.00465d7f
add esp, 0x1c
mov ebx, 0x788c00
mov ecx, ebx
push eax
call fcn.00428071
xor edi, edi
lea ecx, [ebp - 0x24]
push edi
push 1
call fcn.004285f6
cmp esi, 0xa
jne 0x4683c3
mov esi, str.__EIE10__ENUSMSN
push esi
call fcn.00428864
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.004286d2
mov esi, 0x6d08a4
push esi
call fcn.00428864
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.004286d2
mov byte [ebp - 4], 6
push edi
push 1
lea ecx, [ebp + 0x34]
call fcn.004285f6
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.00427fbe
push edi
push 1
lea ecx, [ebp]
call fcn.004285f6
push edi
push 1
lea ecx, [ebp + 0x4c]
call fcn.004285f6
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f95f
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x64]
pop ebp
ret 0xc