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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x38]
mov al, byte [esi + 0xb0]
test al, al
je 0x4cd540
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
lea edx, [esi + 0xb4]
push ecx
push edx
call ebp
test eax, eax
je 0x4cd540
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x24
ret 8
mov al, byte [esi + 0xb1]
test al, al
je 0x4cd56d
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
lea edx, [esi + 0xc4]
push ecx
push edx
call ebp
test eax, eax
je 0x4cd56d
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esi + 0xfc]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x38], eax
jle 0x4cd5a9
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push ebx
call fcn.004cc720
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call ebp
test eax, eax
jne 0x4cd69e
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x4cd57d
lea edx, [esp + 0x24]
mov ecx, esi
push edx
call fcn.004cd290
mov eax, dword [esi + 0x124]
test eax, eax
jl 0x4cd6ef
mov ecx, esi
mov ebx, eax
call fcn.004cf540
cmp ebx, eax
jge 0x4cd6ef
mov eax, dword [esi + 0xf8]
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x10], ecx
call fcn.004cf8a0
mov ebx, dword [esi + 0x110]
mov dword [esp + 0x38], eax
cmp ebx, eax
jge 0x4cd6ef
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4cd6e2
mov ecx, esi
call fcn.004cbd90
test al, al
jne 0x4cd6b0
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x14]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.004d0830
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call ebp
test eax, eax
jne 0x4cd6fc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jg 0x4cd6ef
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x14]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.004d09c0
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 4]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call ebp
test eax, eax
jne 0x4cd711
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp ecx, eax
jg 0x4cd6ef
jmp 0x4cd6e2
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
xor eax, eax
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esi + 0x124]
lea edx, [esp + 0x14]
push edx
push ebx
push eax
mov ecx, esi
call fcn.004cc940
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call ebp
test eax, eax
jne 0x4cd726
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp ecx, eax
jg 0x4cd6ef
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x4cd5f8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret 8
mov edx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [edx], ebx
mov eax, 1
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov eax, 1
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
mov eax, 1
pop ebx
add esp, 0x24
ret 8