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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push ebp
mov ebx, ecx
push esi
dec eax
push edi
mov dword [esp + 0x14], ebx
je 0x4c6dce
dec eax
je 0x4c6dbc
dec eax
jne 0x4c6dce
mov dword [esp + 0x10], 0x7d5c58
mov dword [esp + 0x38], 0x743c00
jmp 0x4c6dde
mov dword [esp + 0x10], 0x7d5be8
mov dword [esp + 0x38], 0x66237
jmp 0x4c6dde
mov dword [esp + 0x10], 0x7d5b78
mov dword [esp + 0x38], 0x733c00
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x18]
push esi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x4c6e03
cmp eax, 2
jne 0x4c6f33
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
push ebp
push edx
push eax
call dword [sym.imp.USER32.dll_FrameRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c6e59
cmp eax, 1
jne 0x4c6e45
jmp 0x4c6e59
cmp eax, 2
jne 0x4c6e4c
jmp 0x4c6e59
xor edx, edx
cmp eax, 3
setne dl
add edx, 3
mov eax, edx
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi + 4]
shl eax, 4
add eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.004c6fa0
push 0xfffffffffffffffe
lea edx, [esp + 0x1c]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [edi + 4]
add ebp, 0x60
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, ebx
call fcn.004c6fa0
mov ebp, dword [ebx + 0x3c]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
push ebp
push edx
push eax
push ecx
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
dec edx
push ebp
push edx
push eax
push ecx
call ebx
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [edi + 4]
push ebp
dec eax
push edx
push eax
push ecx
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 4]
dec edx
push ebp
dec eax
push edx
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
mov ebp, dword [esp + 0x38]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
inc edx
push ebp
inc eax
push edx
push eax
push ecx
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
sub edx, 2
push ebp
inc eax
push edx
push eax
push ecx
call ebx
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 4]
inc edx
push ebp
sub eax, 2
push edx
push eax
push ecx
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 4]
sub edx, 2
push ebp
sub eax, 2
push edx
push eax
push ecx
call ebx
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x4c6f3c
cmp eax, 1
jne 0x4c6f92
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
add ebx, 0x158
test ebx, ebx
jne 0x4c6f59
xor eax, eax
jmp 0x4c6f5c
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call ebx
mov edx, dword [edi + 4]
push 1
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 4]
push 0x25
push esi
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [edi + 4]
push ebp
push edx
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c