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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51ebf0
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esp + 0x6c]
push edi
mov eax, dword [esi + 0x5c]
mov eax, dword [eax - 8]
test eax, eax
je 0x4ab3c6
cmp ebx, 0xfffffffe
jne 0x4ab3c6
lea edi, [esi + 0x60]
push 0xf
mov ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x4c]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + edx*2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [esp + 0x6c]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.00518d35
mov ebp, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [esi + 0x4c]
push 0x10
sub ebp, eax
mov dword [esp + 0x70], edx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi + 0x64]
push eax
mov eax, dword [esp + 0x70]
push 1
lea ecx, [eax*4]
sub ebp, ecx
mov ecx, dword [edi]
push ebp
push edx
lea edx, [ecx + eax*2]
mov ecx, ebx
push edx
call fcn.00518d5f
mov ebp, dword [edi + 8]
mov eax, dword [edi]
sub ebp, eax
mov eax, dword [esi + 0x4c]
push 0x14
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi + 0x64]
push eax
mov eax, dword [esp + 0x70]
push 1
lea ecx, [eax*4]
sub ebp, ecx
mov ecx, dword [edi]
inc edx
push ebp
push edx
lea edx, [ecx + eax*2]
push edx
mov ecx, ebx
call fcn.00518d5f
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x54]
mov edi, 0xfffffffe
cmp eax, edi
jne 0x4ab349
cmp dword [esi + 0x50], edi
je 0x4ab349
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [esp + 0x2c]
push eax
push ecx
jmp 0x4ab357
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
lea edx, [esp + 0x2c]
push eax
push edx
mov ecx, ebx
call fcn.00518d35
cmp dword [esi + 0x50], edi
jne 0x4ab372
mov ecx, dword [ebx + 4]
push 0xf
lea eax, [esp + 0x30]
push 4
push eax
push ecx
jmp 0x4ab384
cmp dword [esi + 0x54], edi
jne 0x4ab38a
mov eax, dword [ebx + 4]
push 0xf
lea edx, [esp + 0x30]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov edx, dword [ebx]
lea eax, [esi + 0x90]
push eax
mov ecx, ebx
call dword [edx + 0x28]
push 1
mov ecx, ebx
mov edi, eax
call fcn.00515e00
mov esi, dword [esi + 0x5c]
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push 0x25
mov ecx, dword [esi - 8]
push eax
push ecx
push esi
mov ecx, ebx
call dword [edx + 0x68]
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x28]
jmp 0x4ab748
mov eax, dword [esi + 0x58]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ab55f
cmp ebx, 0xfffffffd
jne 0x4ab55f
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
lea ebx, [esi + 0x70]
call ebp
mov edi, dword [esp + 0x6c]
push eax
push ebx
mov ecx, edi
call fcn.00518d35
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push 0xffffffffffffffff
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call ebx
mov ecx, dword [esi + 0x54]
mov eax, 0xfffffffd
cmp ecx, eax
jne 0x4ab440
cmp dword [esi + 0x50], eax
je 0x4ab440
push 0x16
call ebp
push eax
lea eax, [esp + 0x30]
push eax
jmp 0x4ab44a
push 0xf
call ebp
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00518d35
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x54], ecx
shl eax, 1
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x58], edx
neg ecx
neg eax
push ecx
lea edx, [esp + 0x50]
push eax
push edx
call ebx
push 0x10
call ebp
push eax
push 1
push 0
lea ecx, [esp + 0x30]
call fcn.0051673d
lea eax, [esp + 0x24]
mov ecx, edi
push eax
mov dword [esp + 0x68], 0
call fcn.00515d24
mov edx, dword [edi]
push 5
mov ecx, edi
mov ebp, eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push ebp
mov ecx, edi
call fcn.00515d24
mov ecx, dword [esi + 0x50]
mov eax, 0xfffffffd
cmp ecx, eax
jne 0x4ab4f7
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x30]
push 4
push edx
push eax
jmp 0x4ab509
cmp dword [esi + 0x54], eax
jne 0x4ab50f
mov edx, dword [edi + 4]
push 0xf
lea ecx, [esp + 0x30]
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [edi]
lea ecx, [esi + 0x90]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push 1
mov ecx, edi
mov ebx, eax
call fcn.00515e00
mov esi, dword [esi + 0x58]
mov edx, dword [edi]
lea ecx, [esp + 0x2c]
push 0x25
mov eax, dword [esi - 8]
push ecx
push eax
push esi
mov ecx, edi
call dword [edx + 0x68]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x28]
mov dword [esp + 0x24], 0x925398
mov dword [esp + 0x64], 1
lea ecx, [esp + 0x24]
jmp 0x4ab743
lea ecx, [esp + 0x10]
lea eax, [esp + 0x3c]
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004aac30
test eax, eax
je 0x4ab748
mov edi, dword [esp + 0x6c]
push 0x26
mov dword [esp + 0x74], 0
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x4ab5b7
lea eax, [esi + 0x98]
push 0
push eax
mov ecx, edi
call fcn.00515daf
mov ecx, dword [edi + 4]
mov dword [esp + 0x70], eax
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
cmp dword [esi + 0x54], ebx
jne 0x4ab5d3
cmp dword [esi + 0x50], ebx
je 0x4ab5d3
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call ebp
lea edx, [esp + 0x3c]
push eax
push edx
jmp 0x4ab5e3
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call ebp
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00518d35
cmp dword [esi + 0x50], ebx
jne 0x4ab5fe
mov edx, dword [edi + 4]
push 0xf
lea ecx, [esp + 0x40]
push 4
push ecx
push edx
jmp 0x4ab610
cmp dword [esi + 0x54], ebx
jne 0x4ab616
mov ecx, dword [edi + 4]
push 0xf
lea eax, [esp + 0x40]
push 2
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [ebx*8 + 0x945224]
xor ecx, ecx
mov edx, eax
mov cl, ah
shr edx, 0x10
and edx, 0xff
and ecx, 0xff
or dh, 2
and eax, 0xff
shl edx, 8
or edx, ecx
lea ecx, [esp + 0x1c]
shl edx, 8
or edx, eax
push edx
call fcn.0051678d
mov dword [esp + 0x64], 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x9253a4
push 0x10
mov byte [esp + 0x68], 3
call ebp
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x18]
call fcn.005166d0
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.00515d24
mov ebx, eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00515d24
mov esi, dword [esi + 0x4c]
mov ebp, eax
lea edx, [esp + 0x3c]
lea eax, [esi + 1]
mov ecx, eax
neg ecx
neg eax
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push ebx
mov ecx, edi
call fcn.00515d24
push ebp
mov ecx, edi
call fcn.00515d24
lea ecx, [esp + 0x1c]
call fcn.00516727
lea ecx, [esp + 0x14]
call fcn.00516727
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4ab71c
mov edx, dword [edi + 8]
push 0x26
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x4ab71c
push 0
push esi
mov ecx, edi
call fcn.00515daf
mov esi, 0x925398
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 4
call fcn.00516727
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], 5
lea ecx, [esp + 0x1c]
call fcn.00516727
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 8