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

Disassembly:
push 0xffffffffffffffff
push 0x51eff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
mov ebp, ecx
lea eax, [esp + 0x10]
push edi
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x94f978]
mov dword [esp + 8], edx
lea eax, [esp + 8]
xor edi, edi
push eax
mov ecx, ebp
mov dword [esp + 0x40], edi
call fcn.00511c96
mov ecx, dword [esp + 8]
cmp dword [ecx - 8], edi
jne 0x4c9634
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0050f8b6
pop edi
pop ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
push ebx
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x927504
mov esi, dword [esp + 0x4c]
mov ebx, 1
push 6
mov byte [esp + 0x48], bl
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.005166bb
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x58]
cmp eax, 0x3c
jne 0x4c9698
cmp eax, edi
jne 0x4c9675
xor eax, eax
jmp 0x4c9678
mov eax, dword [ebp + 0x50]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004c9c20
add esp, 8
test eax, eax
je 0x4c9698
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x28]
jmp 0x4c96a1
mov edx, dword [esi]
push 0x11
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [ebp + 0x60]
mov edi, 0x100
cmp eax, ebx
jne 0x4c96b4
mov edi, 0x101
jmp 0x4c96be
cmp eax, 2
jne 0x4c96be
mov edi, 0x102
cmp dword [ebp + 0x64], ebx
jne 0x4c96c8
or edi, 0x14
jmp 0x4c96e1
mov eax, dword [ebp + 0x68]
cmp eax, ebx
jne 0x4c96d4
or edi, 0x24
jmp 0x4c96e1
cmp eax, 2
jne 0x4c96de
or edi, 0x28
jmp 0x4c96e1
or edi, 0x20
push ebx
mov ecx, esi
call fcn.00515e00
mov eax, dword [ebp + 0x44]
cmp eax, 2
jne 0x4c9727
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
lea ebx, [esp + 0x1c]
push edi
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
push 1
lea eax, [esp + 0x20]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4c97c7
cmp eax, ebx
jne 0x4c9774
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x30]
push ebx
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push edi
lea ebx, [esp + 0x30]
mov ecx, dword [eax - 8]
jmp 0x4c97bf
cmp eax, 3
jne 0x4c97c7
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
push 2
lea edx, [esp + 0x30]
push 2
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push edi
lea ebx, [esp + 0x30]
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push edi
lea edi, [esp + 0x20]
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov dword [esp + 0x14], 0x927510
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.00516727
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.0050f8b6
mov ecx, dword [esp + 0x3c]
pop esi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 4