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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xd4]
cmp eax, dword [ecx + 8]
jbe 0x6109fb
sub esp, 0x154
mov eax, dword [esp + 0x158]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
movzx ebx, byte [edx + 0x61]
test bl, bl
jne 0x6105d2
mov dword [esp + 0x88], ecx
mov ebx, dword [edx + 0x8c]
test ebx, ebx
je 0x6103ee
mov dword [esp], ecx
call fcn.005ee210
lea edi, [esp + 0xf8]
lea esi, [esp + 4]
call fcn.0046952a
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x8c]
mov ecx, dword [edx]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0x158]
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebp + 0x68]
mov edi, dword [ebp + 0x6c]
mov ebp, dword [ebp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea edi, [esp + 0xc]
lea esi, [esp + 0xf8]
call fcn.0046952a
mov ecx, dword [esp + 0x7c]
call ecx
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x6103d1
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x610460
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x154
ret
mov ebx, dword [eax + 0xc]
mov ebp, dword [ebx + 0x68]
mov esi, dword [ebx + 0x6c]
mov ebx, dword [ebx + 0x70]
mov edi, dword [ecx + 0x90]
mov eax, dword [ecx + 0x94]
mov ecx, dword [ecx + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00621910
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6105b5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00620350
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x610598
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
mov ebx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x14]
lea edi, [esp + 0x94]
xor eax, eax
call fcn.004690fb
mov dword [esp + 0x98], 0
add ebp, 0x7791f700
mov dword [esp + 0x9c], ebp
adc ebx, 0xe
mov dword [esp + 0xa0], ebx
mov ecx, dword [0x966a04]
mov dword [esp + 0xa4], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x94]
call fcn.004695de
mov ecx, dword [esp + 0x88]
mov ebx, dword [ecx + 0x2c]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6104d4
lea ebx, [0x758950]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0xe4]
lea esi, [esp]
call fcn.004695de
lea edi, [esp]
lea esi, [esp + 0xe4]
call fcn.004695de
lea edi, [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.004695de
call fcn.0048b2b0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], 0xf9290000
seta cl
cmp eax, 0x2260f
sete al
setg bl
and eax, ecx
or ebx, eax
test bl, bl
jne 0x61057b
mov eax, dword [esp + 0x88]
movzx ecx, word [eax + 0x28]
mov edx, dword [esp + 0x84]
cmp word [edx + 0xe], cx
jne 0x61055e
mov ecx, dword [esp + 0x158]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
xor esi, esi
jmp 0x6105f0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
inc esi
cmp esi, ebx
jge 0x6109d4
movzx edi, word [ebp + esi*2]
cmp word [edx + 0x12], di
jne 0x6105ef
mov ebx, dword [eax + 0x2c]
mov ebp, dword [ebx + 0x54]
test ebp, ebp
je 0x610615
mov esi, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
jmp 0x610627
mov ebp, dword [0x96ed50]
mov esi, dword [0x96ed54]
mov ebx, dword [0x96ed58]
mov word [esp + 0x76], 0
movzx eax, word [edx + 0x12]
mov word [esp + 0x76], ax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x624720]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
lea eax, [esp + 0x76]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x8c]
mov dword [esp + 0x18], eax
call fcn.005e0fa0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6109b7
mov ecx, dword [esp + 0x84]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x88]
mov esi, dword [ebp + 0x2c]
mov edi, dword [esi + 0x48]
test ebx, ebx
cmp edi, 2
jne 0x6106c2
test ebx, ebx
jmp 0x6106c9
cmp edi, 4
jne 0x6106e8
test ebx, ebx
jne 0x6106f0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
test ebx, ebx
je 0x6107ef
test edi, edi
je 0x6107d2
test ebx, ebx
je 0x6107ef
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ebx
mov esi, dword [esi + 8]
test esi, esi
jne 0x610718
lea esi, [0x758950]
mov eax, dword [esi]
mov edx, esi
call eax
lea edi, [esp + 0xe4]
lea esi, [esp]
call fcn.004695de
lea edi, [esp + 0xa8]
lea esi, [esp + 0xe4]
call fcn.004695de
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jbe 0x6109f1
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx]
test byte [ecx], al
lea esi, [ecx + 0x16c]
lea edi, [esp + 0xd0]
call fcn.004695de
lea edi, [esp]
lea esi, [esp + 0xa8]
call fcn.004695de
lea edi, [esp + 0x14]
lea esi, [esp + 0xd0]
call fcn.004695de
call fcn.00489f40
movzx eax, byte [esp + 0x28]
test al, al
jne 0x6107b5
mov eax, dword [esp + 0x78]
test eax, eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
jmp 0x6107ef
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
je 0x61081e
mov edx, dword [ebp + 0x2c]
cmp dword [edx + 0x48], 3
jl 0x61081e
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x61081e
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
movzx edx, byte [ecx + 0x28]
test dl, dl
je 0x61082f
mov ebx, dword [esp + 0x158]
jmp 0x61084e
mov ebx, dword [esp + 0x158]
mov esi, dword [ebx + 0xc]
movzx esi, byte [esi + 0x9c]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x61099a
test dl, dl
je 0x610898
mov edx, dword [ebx + 0xc]
movzx edx, byte [edx + 0x9c]
test dl, dl
jne 0x610898
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x41
lea ecx, [0x750d03]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
add esp, 0x154
ret
mov edx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x2c]
mov dword [ebp + 0x54], edx
mov dword [ebp + 0x58], esi
mov edx, dword [0x995310]
test edx, edx
je 0x6108c2
mov edx, edi
call fcn.00468e70
mov dword [edi], edx
mov esi, dword [ebp + 0x50]
mov dword [edi + 4], esi
mov edi, edx
mov dword [ebp + 0x50], edi
mov edx, dword [ecx + 0x48]
mov esi, dword [ecx + 0x4c]
mov edi, dword [ecx + 0x44]
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x40], esi
mov edx, dword [0x995310]
test edx, edx
je 0x6108ef
mov edx, edi
call fcn.00468e70
mov dword [edi], edx
mov esi, dword [ebp + 0x38]
mov dword [edi + 4], esi
mov edi, edx
mov dword [ebp + 0x38], edi
mov edx, dword [ecx + 0x54]
mov esi, dword [ecx + 0x58]
mov edi, dword [ecx + 0x50]
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x4c], esi
mov edx, dword [0x995310]
test edx, edx
je 0x61091c
mov edx, edi
call fcn.00468e70
mov dword [edi], edx
mov esi, dword [ebp + 0x44]
mov dword [edi + 4], esi
mov edi, edx
mov dword [ebp + 0x44], edi
mov edx, dword [ecx + 0x60]
mov esi, dword [ecx + 0x64]
mov edi, dword [ecx + 0x5c]
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], esi
mov edx, dword [0x995310]
test edx, edx
je 0x610949
mov edx, edi
call fcn.00468e70
mov dword [edi], edx
mov esi, dword [ebp + 0x68]
mov dword [edi + 4], esi
mov edi, edx
mov dword [ebp + 0x68], edi
movzx edx, byte [ecx + 0x28]
mov byte [ebp + 0x34], dl
mov edx, dword [0x995310]
test edx, edx
je 0x610973
call fcn.00468e90
mov dword [edi], ecx
mov edx, dword [ebx + 0x1c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x14]
mov dword [edi + 0xc], edx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x14], eax
mov byte [ebp + 0x35], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x154
ret
xor eax, eax
mov ecx, eax
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.006102f0