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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51fcf8
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0xc0]
je 0x4d8168
push esi
lea ecx, [esp + 0x18]
call fcn.00516428
mov edx, dword [esp + 0x14]
lea eax, [esi + 0xc4]
xor edi, edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], edi
call dword [edx + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc0]
cmp eax, 0xffffffff
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
je 0x4d7fdb
push eax
mov ecx, esi
call fcn.004d96a0
cmp eax, edi
mov dword [esp + 0x58], eax
je 0x4d8157
mov eax, dword [esi + 0xc0]
mov ecx, esi
push eax
call fcn.004d9bf0
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x34], eax
push ecx
mov ecx, esi
call fcn.004d9c60
mov ebp, dword [esi + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc0]
cmp eax, ebp
jne 0x4d7fae
lea edx, [esi + 0x1f8]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edx
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, ebp
sete dl
dec eax
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x40], edx
sete cl
lea edx, [esp + 0x28]
lea eax, [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
call fcn.004db530
cmp ebx, 0xffffffff
je 0x4d80be
push ebx
mov ecx, esi
call fcn.004d96a0
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x58], ebp
je 0x4d8157
push ebx
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.004d9bf0
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004d9c60
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x74]
cmp ebx, eax
jne 0x4d8068
lea ecx, [esi + 0x1f8]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ecx
jne 0x4d8068
mov ebp, dword [esi + 0x248]
xor edx, edx
cmp ebp, edi
mov ebp, dword [esp + 0x58]
sete dl
mov dword [esp + 0x28], edx
jmp 0x4d8070
mov dword [esp + 0x28], 1
lea ecx, [ebx + 1]
xor edx, edx
cmp ecx, eax
lea ecx, [ebx - 1]
sete dl
mov dword [esp + 0x40], edx
xor edx, edx
cmp ecx, eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
sete dl
push ecx
mov ecx, ebp
mov dword [esp + 0x4c], edx
call fcn.004db530
cmp dword [esp + 0x28], edi
je 0x4d80be
mov eax, dword [esi + 0x21c]
cmp eax, edi
je 0x4d80be
mov edx, dword [esi + 0x328]
push ebx
push 4
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x74]
cmp ebx, eax
je 0x4d813a
push eax
mov ecx, esi
call fcn.004d99b0
test eax, eax
je 0x4d813a
mov ecx, dword [esi + 0x74]
mov eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x1f8]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], eax
call fcn.004d9bf0
mov edx, dword [esi + 0x74]
mov ecx, esi
push edx
mov dword [esp + 0x38], eax
call fcn.004d9c60
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x74]
push eax
mov ecx, esi
call fcn.004d96a0
cmp eax, edi
je 0x4d813a
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, eax
call fcn.004db530
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x18]
mov dword [esi + 0xc0], ebx
call dword [edx + 0x28]
mov ecx, esi
call fcn.004d9830
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call fcn.0051649a
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4