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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [edx + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], edx
mov ebx, 0xfff0bdc0
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x44]
mov dword [ebp - 0xc], eax
inc eax
mov dword [ebp - 0x18], eax
inc eax
mov dword [edi + 0x44], eax
mov edx, dword [edx + 0x24]
mov eax, dword [edi]
test edx, edx
je 0x4b3900
mov ecx, dword [eax + 4]
xor ebx, ebx
test ecx, ecx
jle 0x4b3900
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x4b38fe
inc ebx
add eax, 0x10
cmp ebx, ecx
jl 0x4b38f2
mov eax, dword [edi]
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x4b391b
mov ecx, eax
call fcn.0049c0a0
mov esi, eax
mov dword [edi + 0xc], esi
test esi, esi
je 0x4b3d2f
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [ebp - 8], eax
lea edi, [esi + 0xc]
test ecx, ecx
js 0x4b3930
mov dword [ebp - 0x14], ecx
jmp 0x4b39a0
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi]
mov edi, ecx
mov dword [ebp - 0x28], ecx
cmp dword [eax], ecx
jg 0x4b3963
mov ecx, esi
mov dword [ebp - 8], eax
mov edi, edx
call fcn.0049c160
test eax, eax
jne 0x4b39a0
mov ecx, dword [ebp - 0x28]
mov edx, edi
mov edi, dword [edx]
lea eax, [edi + 1]
mov edi, dword [ebp - 0x14]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, edx
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x20]
mov byte [esi + 0x6e], 0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
call fcn.004b6000
mov ecx, dword [ebp - 8]
mov edx, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, edx
mov dword [ebp - 0x20], edx
cmp dword [ecx], edx
jg 0x4b39d3
mov ecx, esi
call fcn.0049c160
test eax, eax
je 0x4b39ce
mov edx, 1
jmp 0x4b3a08
mov eax, dword [edi]
mov edx, dword [ebp - 0x20]
lea ecx, [edx + edx*4]
inc eax
mov edx, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x20]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [ebp - 0x28]
mov ecx, esi
call fcn.0049c7c0
add esp, 8
cmp dword [ebp + 8], 0
jl 0x4b3a2e
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4b3a2e
mov eax, dword [edi]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov edx, dword [ebp - 0xc]
push 0x26
push dword [ebp - 0x2c]
push ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.004ba360
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x14], edx
cmp dword [eax], edx
jg 0x4b3a6e
mov ecx, esi
call fcn.0049c160
test eax, eax
je 0x4b3a69
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], 1
jmp 0x4b3aa7
mov ecx, dword [edi]
mov edx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0xc]
mov word [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov al, byte [ebx + 0x15]
test al, al
jne 0x4b3ab6
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
jmp 0x4b3ac2
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x18]
push 1
push eax
push edx
mov edx, dword [ebp - 0x10]
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.004b7680
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
cmp byte [eax + 0x18], 0
je 0x4b3b92
mov eax, dword [eax + 4]
mov edx, dword [edi]
add eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], edx
cmp dword [eax], edx
jg 0x4b3b15
mov ecx, esi
call fcn.0049c160
test eax, eax
je 0x4b3b10
mov edx, 1
jmp 0x4b3b4f
mov ecx, dword [edi]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], ebx
lea ebx, [edx + 2]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp - 0x28]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [ebp - 0x1c]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff2
push dword [ebp - 0x24]
mov ecx, esi
call fcn.0049c7c0
mov eax, dword [ebx + 0xc]
add esp, 8
test eax, eax
jne 0x4b3b6f
mov ecx, dword [ebx]
call fcn.0049c0a0
mov dword [ebx + 0xc], eax
push 0xfffffffffffffffe
push 0x522848
push 0
push 2
push 0x13
mov edx, 6
mov byte [ebx + 0x159], 1
mov ecx, eax
call fcn.0049c250
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [edi]
mov edx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [eax], ecx
jg 0x4b3bb0
mov ecx, esi
call fcn.0049c160
test eax, eax
jne 0x4b3bea
mov edx, dword [edi]
mov ecx, dword [ebp - 0x2c]
lea eax, [edx + 1]
mov edx, dword [ebp - 0x18]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x20]
mov word [eax + ecx*4], 0x43
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4b3bed
mov edx, dword [ebp - 0x20]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4b3bfe
mov eax, dword [edi]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
test edx, edx
je 0x4b3c30
mov al, byte [ebx + 0x15]
mov byte [ebp - 1], al
cmp al, 8
jae 0x4b3c30
xor ecx, ecx
lea eax, [ebx + 0x60]
cmp dword [eax + 0x10], edx
je 0x4b3c2c
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4b3c11
movzx eax, byte [ebp - 1]
mov dword [ebx + eax*4 + 0x18], edx
inc byte [ebx + 0x15]
jmp 0x4b3c30
mov byte [eax + 9], 1
mov eax, dword [ebp - 8]
mov ebx, dword [edi]
mov ecx, ebx
cmp dword [eax], ebx
jg 0x4b3c48
mov ecx, esi
call fcn.0049c160
test eax, eax
jne 0x4b3c81
mov ecx, dword [edi]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [ebp - 0x14]
cmp edx, eax
jle 0x4b3c94
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebp - 8]
mov ebx, dword [edi]
mov ecx, ebx
cmp dword [eax], ebx
jg 0x4b3cac
mov ecx, esi
call fcn.0049c160
test eax, eax
jne 0x4b3ce5
mov ecx, dword [edi]
mov edx, dword [ebp - 0xc]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [ebp - 8]
mov ebx, dword [edi]
cmp dword [eax], ebx
jg 0x4b3cf9
mov ecx, esi
call fcn.0049c160
test eax, eax
jne 0x4b3d2f
mov eax, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
inc dword [edi]
mov edx, dword [ebp - 0x18]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret