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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0xc], ecx
mov ecx, dword [ecx + 0xa0]
lea eax, [esp + 0x30]
push edi
push eax
push ecx
call esi
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax + 0x1c]
push ecx
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
sub eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
sub ecx, edx
cmp ecx, eax
mov ebp, edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], edi
jle 0x483a70
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
sub edi, ebx
cmp edi, eax
jle 0x483a86
add eax, ebx
mov dword [esp + 0x30], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x58], edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x483bf5
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov eax, dword [edi + 0xdc]
push eax
call esi
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
cmp esi, eax
jge 0x483af5
mov esi, eax
jmp 0x483b05
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jle 0x483b05
sub eax, ecx
add esi, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp edx, eax
jge 0x483b15
mov edx, eax
jmp 0x483b25
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x483b25
sub eax, ecx
add edx, eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov ecx, eax
sub ecx, ebx
add esi, ecx
mov ecx, dword [esp + 0x14]
mov ebx, ecx
sub eax, esi
sub ebx, ebp
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
add edx, ebx
sub ecx, edx
mov dword [esp + 0x24], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x483b76
sub eax, ecx
push 0
neg eax
push eax
lea eax, [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x483b8e
sub eax, ecx
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x483ba8
sub eax, ecx
lea edx, [esp + 0x14]
neg eax
push eax
push 0
push edx
call esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jge 0x483bc0
sub eax, ecx
push eax
lea eax, [esp + 0x18]
push 0
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x84]
call fcn.00516296
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub edx, eax
push 1
push edx
mov edx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [edi + 0xc0]
call fcn.00513d1a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4