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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xd0]
cmp eax, dword [ecx + 8]
jbe 0x659ac4
sub esp, 0x150
mov eax, dword [esp + 0x154]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x158]
test ecx, ecx
je 0x659a5d
mov edx, dword [eax + 8]
test edx, edx
je 0x6599f6
mov edx, dword [eax + 0x68]
test edx, edx
je 0x658f67
mov ecx, dword [eax + 0x20]
nop
test ecx, ecx
je 0x658f13
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x38
lea ecx, [0x74f9bb]
mov dword [eax], ecx
mov dword [esp + 0x174], 0
lea ecx, [0x758ae0]
mov dword [esp + 0x178], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], eax
add esp, 0x150
ret
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x1c]
test ebx, ebx
jne 0x659011
nop
cmp eax, edx
jne 0x658fd8
lea eax, [0x72eb00]
mov dword [esp], eax
call fcn.0040c500
mov edi, dword [esp + 4]
mov dword [esp + 0x94], edi
mov eax, dword [0x995310]
test eax, eax
je 0x658fcc
mov dword [esp + 0xb4], edi
lea eax, [0x72eb00]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x154]
mov dword [esp + 8], eax
call fcn.00411b70
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x154]
call fcn.004694d0
call fcn.0040cf60
mov eax, dword [esp + 0x94]
test byte [eax], al
mov ecx, dword [0x995310]
mov edx, dword [esp]
test ecx, ecx
je 0x659000
call fcn.00468e70
mov dword [edi], edx
mov ecx, dword [eax + 0x1c]
mov dword [edi + 4], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 8]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x659026
xor edx, edx
jmp 0x65906a
mov dword [esp + 0x8c], ebx
mov eax, dword [edx + 0x1c]
mov dword [esp], eax
lea eax, [0x73d36d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call fcn.00641610
mov eax, dword [esp + 0x10]
test eax, eax
sete al
mov ecx, dword [esp + 0x158]
mov ebx, dword [esp + 0x8c]
mov edx, eax
mov eax, dword [esp + 0x154]
test dl, dl
je 0x6592fb
test ebx, ebx
je 0x65907d
mov edx, dword [ebx]
mov ebp, dword [ebx + 4]
jmp 0x659087
mov ebp, 0
mov edx, 0
je 0x659091
mov esi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
jmp 0x659095
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x80], edx
nop
cmp dword [esp + 0x94], eax
jne 0x659113
lea eax, [0x72eb00]
mov dword [esp], eax
call fcn.0040c500
mov edi, dword [esp + 4]
mov dword [esp + 0x94], edi
mov eax, dword [0x995310]
test eax, eax
je 0x659100
mov dword [esp + 0xb4], edi
lea eax, [0x72eb00]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x154]
mov dword [esp + 8], eax
call fcn.00411b70
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x154]
call fcn.004694d0
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
call fcn.0065c580
mov eax, dword [esp + 0x94]
test byte [eax], al
mov ecx, dword [0x995310]
mov edx, dword [esp + 4]
test ecx, ecx
je 0x659142
call fcn.00468e70
mov dword [edi], edx
mov ecx, dword [eax + 0x1c]
mov dword [edi + 4], ecx
mov dword [eax + 0x1c], edx
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [0x7ae8dc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.004521c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00452560
mov eax, dword [0x96e97c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005bc9b0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp], 0
lea ebx, [0x73ae25]
mov dword [esp + 4], ebx
mov dword [esp + 8], 6
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00452120
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
nop
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], ecx
lea edx, [0x73d36d]
mov dword [esp], edx
mov dword [esp + 4], 0xd
call fcn.00642ed0
mov eax, dword [esp + 8]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x6f0d80]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x659270
mov ecx, dword [esp + 0x88]
jmp 0x65927e
call fcn.00468e60
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [esp + 0xac], eax
mov dword [eax], ecx
lea ecx, [0x722d60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.00411080
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6592d8
mov ecx, dword [esp + 0xac]
jmp 0x6592eb
call fcn.00468e70
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
lea edi, [esp + 0xf4]
lea esi, [esp + 0x160]
call fcn.004695de
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xf4]
test ecx, 0x80000000
je 0x659348
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x65935a
mov ecx, dword [esp + 0xfc]
mov ebx, dword [esp + 0x100]
mov ebp, edx
mov edx, ecx
test ebx, ebx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x659372
test ebp, 0x3fffffff
je 0x6593d6
nop
cmp dword [esp + 0x94], eax
jne 0x6593d6
lea eax, [0x72eb00]
mov dword [esp], eax
call fcn.0040c500
mov edi, dword [esp + 4]
mov dword [esp + 0x94], edi
mov eax, dword [0x995310]
test eax, eax
je 0x6593ca
mov dword [esp + 0xb4], edi
lea eax, [0x72eb00]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x154]
mov dword [esp + 8], eax
call fcn.00411b70
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x154]
call fcn.004694d0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x15c]
mov dword [esp + 8], ecx
lea edi, [esp + 0xc]
lea esi, [esp + 0x160]
call fcn.004695de
call fcn.00659d10
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x158]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x15c]
mov dword [esp], ebp
mov dword [esp + 4], eax
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x6598a0
test ecx, ecx
je 0x659800
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x65947b
mov edx, ecx
jmp 0x6596c2
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
test edx, edx
setg dl
sete bl
test eax, eax
seta al
and eax, ebx
or edx, eax
test dl, dl
je 0x659595
mov eax, dword [esp + 0x94]
cmp dword [eax + 4], 4
jne 0x6594b5
mov eax, dword [eax]
cmp dword [eax], 0x44414548
je 0x659595
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0x158]
test eax, eax
je 0x6594ef
mov eax, dword [eax + 4]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0xd4], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00409c90
mov eax, dword [esp + 8]
lea ecx, [0x6f4720]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
lea eax, [0x75286d]
mov dword [esp], eax
mov dword [esp + 4], 0x61
lea eax, [esp + 0xd0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x174], 0
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x178], edx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
add esp, 0x150
ret
lea eax, [0x712360]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0xffffffff
lea ecx, [0x6ff040]
mov dword [esp], ecx
lea ecx, [0x7b10c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409f50
mov eax, dword [esp + 0xc]
test eax, eax
je 0x65964a
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea eax, [0x7b10c4]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc4], eax
lea eax, [0x71c2c0]
mov dword [esp], eax
lea eax, [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b174c]
jmp 0x65969e
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea eax, [0x7b10c4]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xbc], eax
lea eax, [0x7156e0]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b1764]
mov edx, dword [esp + 0xa4]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x6596bf
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0x24]
mov dword [edi + 4], ecx
mov dword [edx + 0x24], eax
lea edi, [esp + 0xe0]
lea esi, [esp + 0x160]
call fcn.004695de
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
test eax, 0x80000000
je 0x65970e
mov ebx, ecx
shl ecx, 1
shl eax, 1
mov ebp, ebx
shr ebx, 0x1f
or ebx, eax
mov eax, ebx
shl ebx, 1
shr ecx, 0x1f
or ecx, ebx
shr eax, 0x1f
add ecx, 0xd7b17f80
adc eax, 0xd
jmp 0x659720
mov ebx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov ebp, ecx
mov ecx, ebx
test ecx, ecx
sete cl
test eax, eax
sete al
and ecx, eax
test cl, cl
je 0x65973f
test ebp, 0x3fffffff
jne 0x65973f
mov eax, edx
jmp 0x6597d1
lea eax, [0x713860]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [0x995310]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x659764
mov eax, dword [esp + 0x90]
jmp 0x659772
call fcn.00468e60
mov eax, dword [esp + 0x90]
mov dword [edi], eax
mov dword [ecx], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [ecx + 4], edx
mov edx, dword [0x995310]
test edx, edx
jne 0x659797
mov edx, dword [esp + 0xa8]
jmp 0x6597a8
call fcn.00468e70
mov dword [edi], ebx
mov edx, dword [esp + 0xa8]
mov dword [edi + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
lea edx, [0x7b1e6c]
mov dword [eax + 0x20], edx
mov edx, dword [0x995310]
test edx, edx
je 0x6597ce
call fcn.00468e70
mov dword [edi], ecx
mov edx, dword [eax + 0x24]
mov dword [edi + 4], edx
mov dword [eax + 0x24], ecx
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x150
ret
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x158]
test eax, eax
je 0x659824
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0xcc], eax
lea eax, [0x75209d]
mov dword [esp], eax
mov dword [esp + 4], 0x50
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x174], 0
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x178], edx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
add esp, 0x150
ret
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x65992c
nop
lea edi, [esp + 0x120]
xor eax, eax
call fcn.004690fa
lea ecx, [0x659ad0]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x128], 0x3b
lea ecx, [0x7500b2]
mov dword [esp + 0x124], ecx
mov ecx, dword [0x96e848]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x120]
mov dword [esp + 0xc], ecx
call fcn.004e25d0
mov ecx, dword [esp + 0x9c]
lea edx, [0x7b1060]
cmp ecx, edx
jne 0x659952
lea edi, [esp + 0x138]
mov esi, dword [esp + 0xa0]
call fcn.004695d4
jmp 0x659960
lea edi, [esp + 0x138]
xor eax, eax
call fcn.004690fa
lea edi, [esp + 0x108]
lea esi, [esp + 0x138]
call fcn.004695d4
mov eax, dword [esp + 0x9c]
cmp eax, edx
jne 0x6599bd
cmp dword [esp + 0x110], 0x50545448
jne 0x6599b0
cmp byte [esp + 0x114], 0x2f
jne 0x6599a3
mov eax, dword [0x967440]
mov ebp, dword [0x967444]
jmp 0x6599c8
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0xb0]
jmp 0x6599c8
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0xb0]
jmp 0x6599c8
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x174], 0
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ebp
add esp, 0x150
ret
mov ecx, dword [eax + 0x20]
nop
test ecx, ecx
je 0x659a09
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x740c1c]
mov dword [eax], ecx
mov dword [esp + 0x174], 0
lea ecx, [0x758ae0]
mov dword [esp + 0x178], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], eax
add esp, 0x150
ret
mov ecx, dword [eax + 0x20]
nop
test ecx, ecx
je 0x659a70
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2d
lea ecx, [0x74c797]
mov dword [eax], ecx
mov dword [esp + 0x174], 0
lea ecx, [0x758ae0]
mov dword [esp + 0x178], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], eax
add esp, 0x150
ret
call fcn.00467a60
jmp fcn.00658eb0