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

Disassembly:
push 0xffffffffffffffff
push 0x51f7e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
mov eax, dword [esp + 0xe4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.004e1560
mov ebx, dword [esp + 0x10c]
mov esi, dword [esp + 0xf8]
test ebx, ebx
mov dword [esp + 0xec], 0
je 0x4d204a
cmp ebx, 2
jne 0x4d21ea
mov ecx, dword [edi + 0x90]
push 0
push 1
push ecx
lea ecx, [esp + 0x30]
call fcn.004e1b60
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
lea ecx, [esp + 0x14]
push esi
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ebp, dword [esp + 0x108]
test ebp, ebp
je 0x4d20e9
push 0x3fe99999
push 0x9999999a
push ebp
call fcn.004e1f00
add esp, 0xc
lea edx, [esp + 0x14]
mov ebx, eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x14]
push 0
push ebp
push ebx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x40]
mov dword [eax + 0xc], edx
call fcn.004e1fe0
mov ebx, dword [esp + 0x10c]
jmp 0x4d2130
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x14]
push 0
push ecx
push 0xffffff
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x40]
call fcn.004e1fe0
mov eax, dword [edi + 0x3c]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
push eax
push ecx
push edx
mov edx, dword [esp + 0x34]
push edx
call ebp
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0x3c]
mov edx, dword [esi]
dec eax
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call ebp
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
dec eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x3c]
mov ecx, dword [esi + 8]
dec eax
dec ecx
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call ebp
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x90]
mov ecx, dword [esi]
inc eax
push edx
inc ecx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x90]
mov ecx, dword [esi]
sub eax, 2
inc ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
push ecx
call ebp
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x90]
mov ecx, dword [esi + 8]
inc eax
sub ecx, 2
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x90]
mov ecx, dword [esi + 8]
sub eax, 2
push edx
sub ecx, 2
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call ebp
test ebx, ebx
je 0x4d21f3
cmp ebx, 1
jne 0x4d2255
add edi, 0x158
lea ecx, [esp + 0x24]
push edi
call fcn.004e1d50
mov ecx, dword [esp + 0x104]
push ecx
lea ecx, [esp + 0x28]
call fcn.004e1df0
mov edx, dword [esp + 0xfc]
lea ecx, [esp + 0x10]
push edx
call fcn.0050f924
mov eax, dword [esp + 0x10]
push 0x25
push esi
mov byte [esp + 0xf4], 1
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [eax + 0x68]
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], 0
call fcn.0050f8b6
lea ecx, [esp + 0x24]
call fcn.004e1890
lea ecx, [esp + 0x24]
mov dword [esp + 0xec], 0xffffffff
call fcn.004e1660
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 0x1c