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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c277f
sub esp, 0x48
mov ecx, dword [0xc70e7c]
mov ebx, dword [0xc70e78]
test ebx, ebx
jne 0x4c2763
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jg 0x4c26bd
cmp ecx, 2
jne 0x4c24c4
mov ebx, dword [esp + 0x50]
cmp word [ebx], 0x7069
jne 0x4c2438
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 0
movzx ebp, byte [eax + 0x138]
xchg ebp, eax
test al, al
xchg ebp, eax
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, ebx
mov byte [eax + 0x137], bl
xchg ebp, ebx
movzx ebp, byte [esp + 0x58]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4c2408
xor edx, edx
xor esi, esi
mov edi, esi
mov esi, dword [0xc70374]
test esi, esi
jne 0x4c23c9
test edx, edx
jne 0x4c23ad
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c21a7
movzx edx, byte [0xc83a49]
test dl, dl
je 0x4c21a7
cmp ecx, 3
jne 0x4c23a3
cmp word [ebx], 0x6374
jne 0x4c23a3
cmp byte [ebx + 2], 0x70
jne 0x4c23a3
mov edx, 3
mov byte [esp + 0x2f], dl
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov byte [esp + 4], dl
call fcn.004a9450
mov eax, dword [esp + 8]
test eax, eax
je 0x4c2385
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jne 0x4c235b
mov ecx, dword [esp + 0x50]
cmp word [ecx], 0x6475
jne 0x4c2234
cmp byte [ecx + 2], 0x70
jne 0x4c2234
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0x9800000c
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.004a7fa0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x4c233d
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x2c], 0x72
mov dword [eax + 0xa0], 0x77
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x4c2325
mov dword [eax + 0x38], eax
mov dword [eax + 0xac], eax
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x9c], ecx
movzx ecx, byte [0xc83a48]
test cl, cl
je 0x4c22a4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
lea eax, [0x7b7e00]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404460
mov eax, dword [0xc83da0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4c2315
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x3c], ecx
lea eax, [0x7b7e00]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404460
mov eax, dword [0xc83da0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4c22ff
mov eax, dword [esp + 0x4c]
mov dword [eax + 0xb0], ecx
jmp 0x4c2280
mov edx, dword [esp + 0x4c]
lea edi, [edx + 0xb0]
mov eax, ecx
call fcn.00459d90
jmp 0x4c2280
mov edx, dword [esp + 0x4c]
lea edi, [edx + 0x3c]
mov eax, ecx
call fcn.00459d90
jmp 0x4c22cf
lea edi, [eax + 0x38]
call fcn.00459d90
lea edi, [eax + 0xac]
call fcn.00459d90
jmp 0x4c2260
lea edx, [0x840c19]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x48
ret
cmp ecx, 4
jne 0x4c2234
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 0x34706475
je 0x4c21c5
cmp dword [ecx], 0x36706475
je 0x4c21c5
jmp 0x4c2234
movzx ecx, byte [esp + 0x2f]
test cl, 1
je 0x4c21a7
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x134], 1
jmp 0x4c21a7
mov edx, 2
jmp 0x4c2188
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edi
add esp, 0x48
ret
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], edi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov ebp, dword [esi]
mov edx, esi
call ebp
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x58]
mov edi, dword [esp + 0x44]
jmp 0x4c214c
lea ecx, [eax + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c0950
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x58]
jmp 0x4c213c
mov dword [esp], 0
lea eax, [0x85075b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00446f30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0x7e66a0]
mov dword [esp], edx
call fcn.0040ac80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x4c24b9
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x98a4f0]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
add esp, 0x48
ret
mov eax, dword [esp + 0x40]
call fcn.00459d90
jmp 0x4c2497
cmp ecx, 3
je 0x4c25f5
cmp ecx, 4
je 0x4c24db
mov ebx, dword [esp + 0x50]
jmp 0x4c2438
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x83facc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402300
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4c2567
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 0x656c6966
jne 0x4c2529
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 1
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c210d
cmp dword [ecx], 0x65706970
jne 0x4c2549
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 4
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c210d
cmp dword [ecx], 0x34706374
jne 0x4c255e
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
mov ecx, dword [esp + 0x54]
jmp 0x4c24d2
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
lea edx, [0x83fae4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402300
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4c25c3
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 0x36706374
jne 0x4c25ae
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
cmp dword [ecx], 0x34706475
jne 0x4c255e
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 0x36706475
jne 0x4c25dc
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
cmp dword [ecx], 0x78696e75
jne 0x4c255e
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x83f75c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402300
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4c266b
mov ecx, dword [esp + 0x50]
cmp word [ecx], 0x6964
jne 0x4c2648
cmp byte [ecx + 2], 0x72
jne 0x4c2648
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 3
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c210d
cmp word [ecx], 0x7069
jne 0x4c2662
cmp byte [ecx + 2], 0x34
jne 0x4c2662
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
mov ecx, dword [esp + 0x54]
jmp 0x4c24d2
mov ecx, dword [esp + 0x50]
cmp word [ecx], 0x7069
jne 0x4c2689
cmp byte [ecx + 2], 0x36
jne 0x4c2689
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
cmp word [ecx], 0x6374
jne 0x4c26a3
cmp byte [ecx + 2], 0x70
jne 0x4c26a3
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
cmp word [ecx], 0x6475
jne 0x4c2662
cmp byte [ecx + 2], 0x70
jne 0x4c2662
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
cmp ecx, 7
jne 0x4c26f8
mov ebx, dword [esp + 0x50]
cmp dword [ebx], 0x736e6f63
jne 0x4c2438
cmp word [ebx + 4], 0x6c6f
jne 0x4c2438
cmp byte [ebx + 6], 0x65
jne 0x4c2438
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 2
jmp 0x4c210d
cmp ecx, 8
jne 0x4c271f
mov ebx, dword [esp + 0x50]
cmp dword [ebx], 0x78696e75
jne 0x4c2438
cmp dword [ebx + 4], 0x6d617267
je 0x4c2102
jmp 0x4c2438
cmp ecx, 0xa
je 0x4c272d
mov ebx, dword [esp + 0x50]
jmp 0x4c2438
mov eax, dword [esp + 0x50]
mov dword [esp], eax
lea edx, [0x84187d]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402420
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c275d
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4c2102
mov ecx, dword [esp + 0x54]
jmp 0x4c2724
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
add esp, 0x48
ret
call fcn.00458550
jmp fcn.004c20b0