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

Disassembly:
push 0xffffffffffffffff
push 0x51c970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 8], ebp
cmp dword [ebp + 0x1e0], ebx
je 0x480c3f
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.00464430
mov esi, 0x922c5c
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], ebx
call fcn.00464430
mov dword [esp + 0x28], esi
push ebx
push ebx
push 0x3e9
mov byte [esp + 0x64], 1
call fcn.00479d20
mov edx, dword [ebp + 0xdc]
lea ecx, [esp + 0x14]
push ebx
push ecx
push edx
mov ecx, eax
call fcn.00474bf0
cmp eax, 1
jne 0x480b29
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
push 0
push ebx
lea ecx, [eax + 0x14]
call fcn.004745a0
mov esi, eax
test esi, esi
je 0x480b29
mov ecx, dword [esi]
push 0
push ecx
push 0x3ea
call fcn.00479d20
test eax, eax
je 0x480b23
test dword [eax + 0x14], 0x100000
je 0x480b23
add esi, 0x18
push esi
call fcn.004ca470
add esi, eax
push esi
call fcn.004ca470
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x480b23
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x480b23
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x8003
push eax
call edi
mov ecx, esi
call fcn.00513c42
and eax, 3
cmp eax, 1
jne 0x480b14
push esi
lea ecx, [esp + 0x40]
call fcn.004646c0
inc ebx
jmp 0x480a87
cmp eax, 3
jne 0x480b23
push esi
lea ecx, [esp + 0x2c]
call fcn.004646c0
inc ebx
jmp 0x480a87
mov ebx, dword [esp + 0x4c]
xor esi, esi
shr ebx, 2
dec ebx
js 0x480b94
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
mov ebp, dword [ecx + ebx*4]
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00516296
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edi, eax
cmp esi, eax
je 0x480b8b
mov edx, dword [esp + 0x20]
lea eax, [edi + esi]
mov dword [esp + 0x24], eax
sub eax, esi
push 1
push eax
mov eax, dword [esp + 0x20]
mov ecx, ebp
sub edx, eax
mov dword [esp + 0x24], esi
push edx
push esi
push eax
call fcn.00513d1a
add esi, edi
dec ebx
jns 0x480b35
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
shr ebx, 2
dec ebx
js 0x480c11
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
mov ebp, dword [edx + ebx*4]
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
call fcn.00516296
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, eax
sub esi, edx
cmp edi, eax
je 0x480c0c
mov edx, dword [esp + 0x20]
mov eax, edi
sub eax, esi
mov ecx, edi
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
mov dword [esp + 0x2c], edi
push edx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.00513d1a
sub edi, esi
dec ebx
jns 0x480bb1
mov esi, 0x922b78
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0
mov dword [esp + 0x28], esi
call fcn.00464630
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x3c], esi
call fcn.00464630
pop edi
pop esi
mov ecx, dword [esp + 0x48]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret